Token
A token is the smallest unit a language model reads or writes — typically a sub-word fragment, with one English word averaging about 1.3 tokens.
In more detail
What it means
Language models do not see words; they see tokens produced by a tokenizer (BPE, SentencePiece, tiktoken). For OpenAI's cl100k_base, 1,000 tokens ≈ 750 English words. Tokens are billed asymmetrically: many APIs charge less for input than for output. Non-Latin scripts (Chinese, Arabic, Turkish, Hindi) tokenize more densely — Turkish text can be 1.7–2× tokens per word, which is why localization budgets blow up. Use a tokenizer tool (e.g. our [token counter](https://promtable.com/tools/token-counter)) before committing to long prompts. As a planning rule, budget context in tokens rather than characters, keep system instructions stable so prefix caching applies, and remember that code and structured formats such as JSON consume more tokens per visible word than plain prose because punctuation and indentation each produce tokens.
Part 1 of 1
Common mistakes
- Comparing prompt cost in words rather than tokens.
- Ignoring that Turkish, Arabic, and Hindi double your token bill versus English.
FAQ
Questions readers ask.
What is token?
A token is the smallest unit a language model reads or writes — typically a sub-word fragment, with one English word averaging about 1.3 tokens.
What are the common mistakes with token?
Comparing prompt cost in words rather than tokens. Ignoring that Turkish, Arabic, and Hindi double your token bill versus English.
Last updated: 2026-09-18. Raw markdown: https://promtable.com/glossary/token.md. Found a mistake? Tell us.