Comparison
curated-tokenizers vs tiktoken vs tokie vs toktok-rs
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Lightweight piece tokenization library
Maintained. Last release 3 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install curated-tokenizerstiktoken is a fast BPE tokeniser for use with OpenAI's models
Maintained. Last release 4 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install tiktokenBlazingly 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
- tiktoken is the most used: 237.1M downloads a month, 170× more than curated-tokenizers.
- tokie is better maintained: Pythie’s Index 76 against 48.
- curated-tokenizers is growing fastest: downloads +25% over the last month.
- toktok-rs is the newcomer: first released Sep 2026.
Side by side
| Metric | curated-tokenizers | tiktoken | tokie | toktok-rs |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 45 | Pythie’s Index: 48 | Pythie’s Index: 76 | Pythie’s Index: 63 |
| Verdict | Maintained | Maintained | Actively maintained | Maintained |
| Downloads / month | 1.4M | 237.1M | 511.5K | 178K |
| Downloads, month over month | +25% | +15% | -18% | +13% |
| GitHub stars | 13 | 19.8K | 56 | 14 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1 | 3.5K | 2 | 1 |
| Last release | Aug 24, 2026 | Aug 17, 2026 | Nov 12, 2026 | Nov 16, 2026 |
| Releases, 12 months | 2 | 2 | 17 | 8 |
| Weeks with commits | 1 / 26 | 2 / 26 | 7 / 26 | 3 / 26 |
| Recent contributors | 5 | 26 | 2 | 1 |
| First release | May 2023 | Dec 2022 | Mar 2026 | Sep 2026 |
| Python versions | 3.9 – 3.14 | – | 3.10 – 3.14 | 3.11 – 3.14 |
| License | MIT | MIT | 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.