0 XP

Tokenisation · Case, digits and spaces

Easy to miss

Small changes, different tokens

Text is cut into tokens before a model reads it, and which pieces you get is decided by how common that exact text is. That makes the count sensitive to things you’d never think of as meaningful: whether you shouted, how long a number is, whether there’s a space in front.

12376334561935478929338015
4 tokens: 123 / 456 / 789 / 0

4 tokens · o200k_base

Counts come from the real o200k_base vocabulary — the one GPT-4o reads with. Another model will split the same text differently. tiktoken