Comparison
curated-tokenizers vs tokenizers 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-tokenizersActively 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, 164× more than curated-tokenizers.
- tokenizers also has the best Pythie’s Index (85).
- curated-tokenizers is growing fastest: downloads +29% over the last month.
- toktok-rs is the newcomer: first released Sep 2026.
- Safe default for a new project: tokenizers.
Side by side
| Metric | curated-tokenizers | tokenizers | toktok-rs |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 45 | 85 |