Decision Workspace
tiktokenx vs tiktoken vs tokenizers
Side-by-side comparison of Rust crates
42
tiktokenx
experimentalv0.1.0
A high-performance Rust implementation of OpenAI's tiktoken library
55
tiktoken
growingv3.1.2
A high-performance pure-Rust implementation of OpenAI's tiktoken BPE tokenizer
60
tokenizers
growingv0.22.2
Provides an implementation of today's most used tokenizers, with a focus on performances and versatility.
Core Metrics
| tiktokenx | tiktoken | tokenizers | |
|---|---|---|---|
| Health Score | 42 | 55 | 60 |
| Total Downloads | 399 | 5.7K | 12.7M |
| 30d Downloads | 3 | 1.3K | 1.9M |
| Dependents | 0 | 12 | 3.6K |
| Releases | 1 | 8 | 39 |
| Last Updated | 217d ago | 20d ago | 115d ago |
| Age | 7m | 2y 7m | 6y 7m |
Health Breakdown
tiktokenx
Maintenance
4
Quality
14
Community
6
Popularity
3
Documentation
15
tiktoken
Maintenance
17
Quality
10
Community
9
Popularity
4
Documentation
15
tokenizers
Maintenance
12
Quality
12
Community
16
Popularity
8
Documentation
12
Technical Details
| tiktokenx | tiktoken | tokenizers | |
|---|---|---|---|
| Version | 0.1.0 | 3.1.2 | 0.22.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 8 | 9 | 33 |
| Crate Size | 33KB | 6.1MB | 186KB |
| Features | 3 | 2 | 6 |
| Yanked % | 0.0% | 87.5% | 2.6% |
| Edition | 2024 | 2024 | 2018 |
| MSRV | 1.85.0 | 1.94 | — |
| Owners | 1 | 1 | 4 |
Links
Quick Verdict
- •tokenizers leads with a health score of 60/100, but none of the options score above 80.
- •tokenizers is depended on by 3.6K crates — strongest ecosystem trust.
- •tiktokenx, tokenizers are pre-1.0 — API may change.