Token

A token is the chunk of text a language model actually reads and writes: on average about three quarters of an English word, converted to a number from a fixed vocabulary before the model can process it.

Fundamentalstext tokentoken ID
§ 01DefinitionToken

No jargon, no math

In plain words, what is it?

Models do not see letters or words. A tokenizer chops your text into tokens: “unbelievable” becomes “un”, “believ”, “able”. Each token maps to a number from a fixed vocabulary of roughly 50,000 to 250,000 entries, and the model only ever computes with those numbers. Costs, speed and memory are all counted in tokens: your context window is a token budget, and most APIs bill per million tokens. It breaks unevenly: English averages about 0.75 words per token, and a language the tokenizer was not tuned for can cost two or three times more tokens for the same sentence. Check before you budget.

§ 03

Want this running in your stack?

We design and ship AI systems with permissions, logs and human approval. It starts with a 30-minute scoping call.