Why Tokenization Is the Hidden Variable
Every benchmark score, every multilingual capability, every code-completion quality is downstream of one decision made before a single weight is trained: how you split text into tokens.
A tokenizer converts a raw string into a sequence of integer IDs. The model never sees characters. It sees IDs. Those IDs index into an embedding table, and the entire attention mechanism operates over that sequence. This means:
- A word split into 1 token costs 1 attention slot; split into 8 tokens, it costs 8 — and the model must learn to reassemble meaning across those slots.
- Token boundaries determine what the model treats as an "atomic" unit. Misaligned boundaries for non-English scripts, numbers, or code identifiers create systematic blind spots.
- Context length (e.g., 128k tokens) is measured in tokens, not characters — so a Japanese user with the same byte length as an English user gets dramatically less effective context.
Understanding the algorithm is not academic. It predicts failure modes before you run a single experiment.
