Decision Workspace
tokenx-rs vs token-count vs tokenx
Side-by-side comparison of Rust crates
48
tokenx-rs
experimentalv0.1.0
Fast token count estimation for LLMs at 96% accuracy without a full tokenizer
48
token-count
experimentalv0.4.0
Count tokens for LLM models using exact tokenization
43
tokenx
experimentalv0.2.0
vocab-free heuristic LLM token-count estimation
Core Metrics
| tokenx-rs | token-count | tokenx | |
|---|---|---|---|
| Health Score | 48 | 48 | 43 |
| Total Downloads | 3.6K | 276 | 49 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 54 | 0 | 0 |
| Releases | 1 | 5 | 2 |
| Last Updated | 245d ago | 209d ago | 94d ago |
| Age | 8m | 6m | 3m |
Health Breakdown
tokenx-rs
Maintenance
4
Quality
14
Community
11
Popularity
4
Documentation
15
token-count
Maintenance
16
Quality
11
Community
6
Popularity
3
Documentation
12
tokenx
Maintenance
12
Quality
13
Community
6
Popularity
2
Documentation
10
Technical Details
| tokenx-rs | token-count | tokenx | |
|---|---|---|---|
| Version | 0.1.0 | 0.4.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 2 | 15 | 1 |
| Crate Size | 17KB | 339KB | 153KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.70 | 1.85.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •tokenx-rs leads with a health score of 48/100, but none of the options score above 80.