Decision Workspace
toktier vs toktok-rs vs riptoken
Side-by-side comparison of Rust crates
42
toktier
experimentalv0.2.9
Rust API preview for TokTier's exact, stateful tokenization runtime
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
| toktier | toktok-rs | riptoken | |
|---|---|---|---|
| Health Score | 42 | 61 | 57 |
| Total Downloads | 156 | 1.1K | 410.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 9 | 4 | 8 |
| Last Updated | 39d ago | 37d ago | 181d ago |
| Age | 2m | 1m | 6m |
Health Breakdown
toktier
Maintenance
11
Quality
8
Community
5
Popularity
3
Documentation
15
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
| toktier | toktok-rs | riptoken | |
|---|---|---|---|
| Version | 0.2.9 | 0.1.4 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MIT | MIT |
| Dependencies | 17 | 0 | 9 |
| Crate Size | 1.4MB | 2.3MB | 41KB |
| Features | 7 | 2 | 3 |
| Yanked % | 11.1% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.93.1 | 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.