Comparison
fastokens vs tokenizers vs tokie vs toktok-rs
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Actively maintained. Last release 7 days ago, commits in 13 of the last 26 weeks. A safe choice.
pip install fastokensActively maintained. Last release 13 days ago, commits in 25 of the last 26 weeks. A safe choice.
pip install tokenizersBlazingly fast tokenizer — 50x faster, 10x smaller, 100% accurate
Actively maintained. Last release 3 weeks ago, commits in 7 of the last 26 weeks. A safe choice.
pip install tokieFast, exact BPE tokenizer for OpenAI encodings — Rust core, tiktoken-identical ids
Maintained. Last release 2 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install toktok-rsIn short
- tokenizers is the most used: 231.9M downloads a month, 453× more than tokie.
- Maintenance is comparable: fastokens 90, tokenizers 84, tokie 76, toktok-rs 63 on Pythie’s Index.
- tokenizers is growing fastest: downloads +16% 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 | tokie | toktok-rs |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 90 | Pythie’s Index: 84 | Pythie’s Index: 76 | Pythie’s Index: 63 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 394.9K | 231.9M | 511.5K | 178K |
| Downloads, month over month | -25% | +16% | -18% | +13% |
| GitHub stars | 163 | 11.4K | 56 | 14 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1 | 1 | 2 | 1 |
| Last release | Nov 26, 2026 | Nov 20, 2026 | Nov 12, 2026 | Nov 16, 2026 |
| Releases, 12 months | 11 | 11 | 17 | 8 |
| Weeks with commits | 13 / 26 | 25 / 26 | 7 / 26 | 3 / 26 |
| Recent contributors | 28 | 18 | 2 | 1 |
| First release | Apr 2026 | Nov 2019 | Mar 2026 | Sep 2026 |
| Python versions | – | 3.10 – 3.14 | 3.10 – 3.14 | 3.11 – 3.14 |
| License | Apache-2.0 | non-standard | Apache-2.0 OR MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.