Decision Workspace
token-count vs tokenx-rs vs tokf-common
Side-by-side comparison of Rust crates
49
token-count
experimentalv0.4.0
Count tokens for LLM models using exact tokenization
48
tokenx-rs
experimentalv0.1.0
Fast token count estimation for LLMs at 96% accuracy without a full tokenizer
52
tokf-common
experimentalv0.2.39
Shared types and utilities for the tokf CLI tool
Core Metrics
| token-count | tokenx-rs | tokf-common | |
|---|---|---|---|
| Health Score | 49 | 48 | 52 |
| Total Downloads | 72 | 262 | 782 |
| 30d Downloads | 72 | 167 | 619 |
| Dependents | 0 | 0 | 61 |
| Releases | 5 | 1 | 36 |
| Last Updated | 13d ago | 49d ago | 1d ago |
| Age | 13d | 1m | 1m |
Health Breakdown
token-count
Maintenance
18
Quality
11
Community
6
Popularity
2
Documentation
12
tokenx-rs
Maintenance
10
Quality
14
Community
6
Popularity
3
Documentation
15
tokf-common
Maintenance
14
Quality
14
Community
11
Popularity
3
Documentation
10
Technical Details
| token-count | tokenx-rs | tokf-common | |
|---|---|---|---|
| Version | 0.4.0 | 0.1.0 | 0.2.39 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 15 | 2 | 8 |
| Crate Size | 339KB | 17KB | 24KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.85.0 | 1.70 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •tokf-common leads with a health score of 52/100, but none of the options score above 80.