Comparison
fastokens vs tokenizers vs toktok-rs
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Actively maintained. Last release 6 days ago, commits in 11 of the last 26 weeks. A safe choice.
$
pip install fastokensActively maintained. Last release 12 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install tokenizersFast, exact BPE tokenizer for OpenAI encodings — Rust core, tiktoken-identical ids
Maintained. Last release 2 weeks ago, commits in 5 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install toktok-rsIn short
- tokenizers is the most used: 229.6M downloads a month, 583× more than fastokens.
- Maintenance is comparable: fastokens 86, tokenizers 85, toktok-rs 66 on Pythie’s Index.
- tokenizers is growing fastest: downloads +17% over the last month.
- toktok-rs is the newcomer: first released Sep 2026.
- Safe default for a new project: tokenizers.
Side by side
| Metric | fastokens | tokenizers | toktok-rs |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | Pythie’s Index: 85 | Pythie’s Index: 66 |
| Verdict | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 393.8K | 229.6M | 173.3K |
| Downloads, month over month | -25% | +17% | +10% |
| GitHub stars | 163 | 11.4K | 14 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 1 | 1 | 1 |
| Last release | Nov 26, 2026 | Nov 20, 2026 | Nov 16, 2026 |
| Releases, 12 months | 11 | 12 | 8 |
| Weeks with commits | 11 / 26 | 26 / 26 | 5 / 26 |
| Recent contributors | 27 | 18 | 1 |
| First release | Apr 2026 | Nov 2019 | Sep 2026 |
| Python versions | – | 3.10 – 3.14 | 3.11 – 3.14 |
| License | Apache-2.0 | non-standard | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.