AI glossary
What is Tokens?
Definition
Tokens are the small chunks of text (often word fragments) that language models read and write. LLM context limits and API pricing are both measured in tokens.
Models don’t see words; they see tokens. Common words may be a single token, while rare words, code and many non-English languages split into several.
Rules of thumb (English)
- 1 token ≈ 3–4 characters
- 1 token ≈ 0.75 words
- 1,000 tokens ≈ 750 words ≈ 1.5 pages of text
Exact counts depend on each model’s tokenizer, so use your provider’s token-counting tools for real estimates.
Why tokens matter
- Cost: APIs charge per million input and output tokens, with output usually priced higher.
- Limits: the context window caps how many tokens a request can include.
- Speed: generating more output tokens takes longer.
Estimate your costs with the LLM cost calculator.
Free newsletter
The Agent Brief
One practical email a week on AI agents, RAG and generative AI, for builders and business owners. No hype, no spam.