Decision Workspace
kitoken vs sentencepiece-rs vs trustformers-tokenizers
Side-by-side comparison of Rust crates
54
kitoken
growingv0.11.0
Fast tokenizer for language models, supporting BPE, Unigram and WordPiece tokenization
56
sentencepiece-rs
experimentalv0.2.2
Rust runtime reimplementation of SentencePiece model loading, normalization, encoding, and decoding.
55
trustformers-tokenizers
experimentalv0.2.1
Tokenizers for TrustformeRS
Core Metrics
| kitoken | sentencepiece-rs | trustformers-tokenizers | |
|---|---|---|---|
| Health Score | 54 | 56 | 55 |
| Total Downloads | 46.9K | 27.1K | 793 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 23 | 32 | 18 |
| Releases | 3 | 4 | 10 |
| Last Updated | 152d ago | 142d ago | 45d ago |
| Age | 1y 9m | 5m | 11m |
Health Breakdown
kitoken
Maintenance
10
Quality
16
Community
10
Popularity
6
Documentation
12
sentencepiece-rs
Maintenance
14
Quality
15
Community
9
Popularity
5
Documentation
13
trustformers-tokenizers
Maintenance
17
Quality
11
Community
9
Popularity
3
Documentation
15
Technical Details
| kitoken | sentencepiece-rs | trustformers-tokenizers | |
|---|---|---|---|
| Version | 0.11.0 | 0.2.2 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | BSD-2-Clause | Apache-2.0 | Apache-2.0 |
| Dependencies | 24 | 0 | 35 |
| Crate Size | 64KB | 22KB | 571KB |
| Features | 21 | 0 | 9 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.86.0 | — | 1.89 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •sentencepiece-rs leads with a health score of 56/100, but none of the options score above 80.
- •kitoken has the most downloads (46.9K), suggesting wider adoption.