Comparison
gigatoken vs tiktoken vs toktok-rs
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Tokenize your documents at GB/s
Maintained. Last release 4 weeks ago, commits in 7 of the last 26 weeks. Weaker on contributor spread.
$
pip install gigatokentiktoken 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 tiktokenFast, 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
- tiktoken is the most used: 234.6M downloads a month, 770× more than gigatoken.
- gigatoken is better maintained: Pythie’s Index 69 against 48.
- tiktoken is growing fastest: downloads +16% over the last month.
- toktok-rs is the newcomer: first released Sep 2026.
Side by side
| Metric | gigatoken | tiktoken | toktok-rs |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | Pythie’s Index: 48 | Pythie’s Index: 66 |
| Verdict | Maintained | Maintained | Maintained |
| Downloads / month | 304.6K | 234.6M | 173.3K |
| Downloads, month over month | +9% | +16% | +10% |
| GitHub stars | 4.2K | 19.8K | 14 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 1 | 3.5K | 1 |
| Last release | Nov 2, 2026 | Aug 17, 2026 | Nov 16, 2026 |
| Releases, 12 months | 12 | 2 | 8 |
| Weeks with commits | 7 / 26 | 2 / 26 | 5 / 26 |
| Recent contributors | 1 | 26 | 1 |
| First release | Jul 2026 | Dec 2022 | Sep 2026 |
| Python versions | 3.10 – 3.14 | – | 3.11 – 3.14 |
| License | MIT | MIT | 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.