Video explainer: how GPT-4o's tokenizer handles 'strawberry'
A short YouTube explainer walks through how the o200k_base tokenizer (GPT-4o/GPT-5) turns a question about 'strawberry' into 8 tokens, with ' strawberry' as a single token. It includes a toy BPE run, shows that leading spaces and capitalization change…
Why it matters
A clear refresher on tokenization quirks that still trip up prompts and evals.
What happened
1 min readA short YouTube explainer walks through how the o200k_base tokenizer (GPT-4o/GPT-5) turns a question about 'strawberry' into 8 tokens, with ' strawberry' as a single token. It includes a toy BPE run, shows that leading spaces and capitalization change tokenization, and cites why reasoning models count letters better.
Our analysis
Nothing new here, but a well-scoped beginner explainer built on real tiktoken output. Useful to share with newcomers; experienced engineers can skip it.