Why models use tokens
Models don't read letters or whole words. A tokenizer splits text into frequent pieces: common words become one token, rare words split into several, and spaces and punctuation count too. Each model family has its own tokenizer, so the same text can be a different number of tokens on different models.
Rules of thumb
- In English, one token is roughly four characters, or about three quarters of a word on average.
- Arabic and many other languages usually need more tokens for the same meaning, so the same message can cost more and fill the context window faster.
- Code, numbers and unusual formatting often split into many small tokens.
For exact counts, use the provider's token-counting tool or API instead of estimating.
Why tokens matter for cost
- You pay separately for input tokens (what you send) and output tokens (what the model writes). Output tokens usually cost more.
- Every request re-sends the system prompt, tool definitions and conversation history, so a long chat costs more with each turn.
- Prompt caching, shorter instructions, retrieving only what's needed with RAG, and routing simple tasks to smaller models all cut token costs.