Get the daily emailDaily email
  1. Home
  2. Guides
  3. This story

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…

Published Read the original

Why it matters

A clear refresher on tokenization quirks that still trip up prompts and evals.

What happened

1 min read

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 tokenization, and cites why reasoning models count letters better.

inscraper analysis

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.

More in Guides