Comparison
curated-tokenizers vs sentencepiece vs tiktoken vs tokie
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-tokenizersUnsupervised text tokenizer and detokenizer.
Actively maintained. Last release 4 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
pip install sentencepiecetiktoken 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 tokieIn short
- tiktoken is the most used: 237.1M downloads a month, 7.9× more than sentencepiece.
- sentencepiece is better maintained: Pythie’s Index 78 against 48.
- curated-tokenizers is growing fastest: downloads +25% over the last month.
- tokie is the newcomer: first released Mar 2026.
Side by side
| Metric | curated-tokenizers | sentencepiece | tiktoken | tokie |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 45 | 78 |