Decision Workspace
toklen vs riptoken vs pretokie
Side-by-side comparison of Rust crates
42
toklen
experimentalv0.2.0
A single-threaded, lightweight, and fast token counter.
57
riptoken
experimentalv0.3.0
Fast BPE tokenizer for LLMs — a faster, drop-in compatible reimplementation of tiktoken
56
pretokie
experimentalv0.1.3
Fast, zero-allocation pretokenizers for BPE tokenizers
Core Metrics
| toklen | riptoken | pretokie | |
|---|---|---|---|
| Health Score | 42 | 57 | 56 |
| Total Downloads | 40 | 410.5K | 11.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 10 |
| Releases | 2 | 8 | 6 |
| Last Updated | 84d ago | 181d ago | 78d ago |
| Age | 2m | 6m | 6m |
Health Breakdown
toklen
Maintenance
9
Quality
16
Community
3
Popularity
2
Documentation
12
riptoken
Maintenance
15
Quality
14
Community
6
Popularity
7
Documentation
15
pretokie
Maintenance
15
Quality
15
Community
8
Popularity
5
Documentation
13
Technical Details
| toklen | riptoken | pretokie | |
|---|---|---|---|
| Version | 0.2.0 | 0.3.0 | 0.1.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 9 | 9 | 3 |
| Crate Size | 35KB | 41KB | 80KB |
| Features | 24 | 3 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.85 | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •riptoken leads with a health score of 57/100, but none of the options score above 80.