Comparison
fastokens vs gigatoken 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 fastokensTokenize 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 gigatokenBlazingly 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
- tokie is the most used: 511.5K downloads a month.
- fastokens is better maintained: Pythie’s Index 90 against 76.
- toktok-rs is growing fastest: downloads +13% over the last month.
- Safe default for a new project: tokie, or fastokens if active maintenance matters most.
Side by side
| Metric | fastokens | gigatoken | tokie | toktok-rs |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 90 | Pythie’s Index: 69 | Pythie’s Index: 76 | Pythie’s Index: 63 |
| Verdict | Actively maintained | Maintained | Actively maintained | Maintained |
| Downloads / month | 394.9K | 308.3K | 511.5K | 178K |
| Downloads, month over month | -25% | +8% | -18% | +13% |
| GitHub stars | 163 | 4.2K | 56 | 14 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1 | 1 | 2 | 1 |
| Last release | Nov 26, 2026 | Nov 2, 2026 | Nov 12, 2026 | Nov 16, 2026 |
| Releases, 12 months | 11 | 12 | 17 | 8 |
| Weeks with commits | 13 / 26 | 7 / 26 | 7 / 26 | 3 / 26 |
| Recent contributors | 28 | 1 | 2 | 1 |
| First release | Apr 2026 | Jul 2026 | Mar 2026 | Sep 2026 |
| Python versions | – | 3.10 – 3.14 | 3.10 – 3.14 | 3.11 – 3.14 |
| License | Apache-2.0 | 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.