Decision Workspace
tokenx vs tokenx-rs vs token-count
Side-by-side comparison of Rust crates
43
tokenx
experimentalv0.2.0
vocab-free heuristic LLM token-count estimation
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
Core Metrics
| tokenx | tokenx-rs | token-count | |
|---|---|---|---|
| Health Score | 43 | 48 | 48 |
| Total Downloads | 49 | 3.6K | 276 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 54 | 0 |
| Releases | 2 | 1 | 5 |
| Last Updated | 94d ago | 245d ago | 209d ago |
| Age | 3m | 8m | 6m |
Health Breakdown
tokenx
Maintenance
12
Quality
13
Community
6
Popularity
2
Documentation
10
tokenx-rs
Maintenance
4
Quality
14
Community
11
Popularity
4
Documentation
15
token-count
Maintenance
16
Quality
11
Community
6
Popularity
3
Documentation
12
Technical Details
| tokenx | tokenx-rs | token-count | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.0 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 1 | 2 | 15 |
| Crate Size | 153KB | 17KB | 339KB |
| 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.