Token
The unit models read and write: a word, part of a word, or punctuation. In English one token is roughly three quarters of a word, but each model's tokenizer counts differently.
Why it matters. Prices and limits are per token, so the same text can cost different amounts on different models.
How it works
A token is a chunk of text produced by a model's tokenizer: often a whole common word, a piece of a longer word, a punctuation mark or a space. Everything a model reads and writes is converted to tokens first, and prices and limits are counted in them.
Each model family has its own tokenizer, so the same text can become a different number of tokens on different models. A rough rule for English prose is about 0.75 words per token, but code, numbers, unusual formatting and many non-English languages produce more tokens per word. Images, audio and PDFs are converted into tokens too, by rules each maker documents.
Because prices, context windows and output limits are all in tokens, per-token prices can mislead when tokenizers differ. Most APIs return token counts with each response or offer a counting endpoint; use those instead of estimates.
Worked example
With the rule of about 0.75 words per token, a 1,500-word English document is roughly 2,000 tokens. If another model's tokenizer produces 15% more tokens for the same text, it counts about 2,300, and at the same per-token price it costs 15% more.
Common mistakes
- Estimating tokens from word or character counts for code or non-English text, where the ratio is often much worse than for English prose.
- Comparing per-token prices across makers without checking how many tokens each tokenizer produces for your actual text.
- Forgetting that images, PDFs, tool definitions and the system prompt all consume input tokens on every request.
Across the catalog today
See it on a real card: Specifications on Claude Opus 5.5.
Related terms
- Weights & training49
Tokenizer
Splits text into the tokens a model reads
Explained - Basics02
Context window
How much a model can read in one request
Explained - Pricing07
Input price
Cost per 1M tokens you send to the model
Explained - Pricing08
Output price
Cost per 1M tokens the model generates
Explained - Basics03
Max output tokens
The longest reply a model can write at once
Explained