Decision Workspace
gproxy-tokenize vs toktok-rs vs riptoken
Side-by-side comparison of Rust crates
50
gproxy-tokenize
experimentalv2.9.10
Offline token counting for LLM request bodies: tiktoken, Hugging Face vocabularies, character estimate
61
toktok-rs
experimentalv0.1.4
Fast, exact BPE tokenizer for OpenAI encodings (cl100k_base, o200k_base, o200k_harmony) — tiktoken-identical ids, no dependencies
57
riptoken
experimentalv0.3.0
Fast BPE tokenizer for LLMs — a faster, drop-in compatible reimplementation of tiktoken
Core Metrics
| gproxy-tokenize | toktok-rs | riptoken | |
|---|---|---|---|
| Health Score | 50 | 61 | 57 |
| Total Downloads | 809 | 1.1K | 410.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 41 | 4 | 8 |
| Last Updated | 36d ago | 37d ago | 181d ago |
| Age | 2m | 1m | 6m |
Health Breakdown
gproxy-tokenize
Maintenance
15
Quality
16
Community
6
Popularity
3
Documentation
10
toktok-rs
Maintenance
17
Quality
14
Community
11
Popularity
4
Documentation
15
riptoken
Maintenance
15
Quality
14
Community
6
Popularity
7
Documentation
15
Technical Details
| gproxy-tokenize | toktok-rs | riptoken | |
|---|---|---|---|
| Version | 2.9.10 | 0.1.4 | 0.3.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 11 | 0 | 9 |
| Crate Size | 1.9MB | 2.3MB | 41KB |
| Features | 5 | 2 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.70 | 1.85 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •toktok-rs leads with a health score of 61/100, but none of the options score above 80.
- •riptoken has the most downloads (410.5K), suggesting wider adoption.
- •toktok-rs, riptoken are pre-1.0 — API may change.