niieani/gpt-tokenizer

gpt-tokenizer

✅ Recently maintained

The fastest JavaScript BPE Tokenizer Encoder Decoder for OpenAI's GPT models (gpt-5, gpt-o*, gpt-4o, etc.). Port of OpenAI's tiktoken with additional features.

857Stars
66Forks
07-day stars

TypeScript · MIT · Last push 2026-10-18

Official repository & installation ↗

GitValue · Value evidence

Unscored · Evidence coverage 0%

Provisional rubric; documentation and runtime testing are separate. Missing evidence does not imply low value.

Star history

2025-09-292026-11-02
View historical data
DateStars
2026-10-04851
2026-10-05851
2026-10-06851
2026-10-07852
2026-10-08852
2026-10-09852
2026-10-10853
2026-10-11854
2026-10-12854
2026-10-13854
2026-10-14854
2026-10-15854
2026-10-16855
2026-10-17855
2026-10-18855
2026-10-19855
2026-10-20855
2026-10-21856
2026-10-22856
2026-10-23856
2026-10-24856
2026-10-25857
2026-10-26857
2026-10-27857
2026-10-28857
2026-10-29857
2026-10-30857
2026-10-31857
2026-11-01857
2026-11-02857

Get the project

git clone https://github.com/niieani/gpt-tokenizer.git

Cloning downloads the source. For dependencies and installation, follow the project README.

Related projects & alternative candidates

Related domains do not imply feature parity. Review official documentation and licenses.