SMRTR AIFeb 18, 2026Hacker News

Reverse-Engineering the OpenAI's GPT-5 Tokenizer

SMRTR summary

A technical researcher reverse-engineered OpenAI's o200k_base tokenizer used in GPT-4o, GPT-5, and o1 models by downloading and analyzing its complete 200,000-token vocabulary from the open-source tiktoken library. The analysis revealed that OpenAI has doubled vocabulary size at each generation (50k→100k→200k tokens), with the latest version featuring camelCase-aware regex splitting and massive efficiency gains for non-English languages like Arabic (70% fewer tokens) while English prose saw no improvement, suggesting training data heavily weighted toward code and multilingual content.

SMRTR provides this summary for quick context. The original article belongs to Hacker News.

Read the original article
SMRTR AI

Get the next batch of curated stories in your inbox.

This archive is built from SMRTR newsletter stories. Subscribe for hand-picked stories without the extra noise.

Related Stories

Browse AI
AIAug 27, 2026

SpaceKit AI

SpaceKit AI is a public research hub for Growformer, an ML system with a promote-freeze neural substrate, language model experiments, neural cellular automata, and reproducible...

AIAug 27, 2026

Small Models Have Arrived

Small AI models are now 10x cheaper than before, making high-volume consumer and business AI apps financially viable—tasks costing $1 now cost ~$0.10, enabling affordable,...

AIAug 27, 2026

Why I Am Right About AI

The piece satirizes tech-bro certainty about AI replacing writers, using absurd logic and fake statistics to parody real thought leaders—exposing how hollow and self-serving those...