What Is a Token? How Tokenization Decides Your LLM Bill
What tokens are, why one text costs different amounts across models, and worked bills for a page, a 50-page PDF and a 20-turn chat on six models.
A token is the unit an LLM reads and writes, and the unit your bill is counted in. For ordinary English, one token is about 4 characters or three quarters of a word, so a 500-word page is roughly 700 to 750 tokens. Providers price per 1 million tokens, which means you can turn any amount of text into dollars with two multiplications. The part that surprises people is not the price per token. It is how many tokens a piece of work really uses, especially when a chat resends its whole history on every turn.
Prices are per 1 million tokens, as of November 25, 2026, from the model data on this site. Rules of thumb are estimates, and every example below uses the same method as our token counter so the numbers agree.
What a token is
A language model does not read letters or words. Before the model sees your text, a component called a tokenizer cuts it into pieces from a fixed vocabulary, and each piece becomes one token. Common words are often a single piece. Rarer words, names and technical terms get split into several. Spaces, punctuation and line breaks are part of the pieces too.
Three consequences matter for cost:
- Tokens are not words. A short common word like "the" is one token. A long or unusual word, such as a product code or a surname, may be three or four.
- Tokens are not characters. One token usually covers several characters of English, but a rare character or symbol can take more than one token by itself.
- The split belongs to the model family. Each provider trains its own tokenizer. Two models can turn the same sentence into different token counts, so a per-token price is only comparable between models when you also account for how many tokens each one counts.
Output counts as well. The model's reply is billed in tokens, at a higher rate than input on almost every model. For that split see Input vs Output Token Pricing.
Rules of thumb for English
These are the conversions the site uses. The token counter divides characters by 4 and rounds. The calculator's unit switch uses 0.75 words per token.
| You have | Approximate tokens |
|---|---|
| 100 tokens | about 75 words, or 400 characters |
| 1 word | about 1.33 tokens |
| 1,000 words | about 1,333 tokens |
| A page of 3,000 characters (about 500 words) | about 750 tokens |
| 4,000 characters | 1,000 tokens |
These hold for typical English prose. They drift for other kinds of text. Treat the figures as a way to size a budget, not as a count you can reconcile against an invoice.
Why the same text costs different amounts
Several things move the token count for a fixed amount of meaning. We do not have measured data on these across models, so read this section as general guidance and confirm with your provider's own token counter or the usage numbers in API responses.
Language. Tokenizers are usually trained on text dominated by English, so English tends to be the cheapest language per idea. Other languages, and scripts that do not use the Latin alphabet, commonly need more tokens for the same meaning. The size of the effect differs by tokenizer and language, so test your own sample.
Code and structured text. Source code, JSON, URLs, hashes and base64 strings contain many symbols and unusual strings, and they tend to split into more tokens per character than prose. Indentation and repeated keys in JSON add up. If you send large JSON payloads, check the real count.
Numbers and formatting. Long numbers are often split into several chunks. Markdown tables, repeated headers and heavy whitespace all cost tokens without adding information.
Different tokenizers. Even for plain English, one model may count noticeably more tokens than another. When you compare two models on price alone, a cheaper rate on a tokenizer that counts more tokens narrows the gap. For a precise comparison, send the same prompt to each API and read the usage figures it returns.
Images and PDFs. Providers convert images and PDF pages into tokens by their own rules, and the count can differ greatly from the text alone. The examples below treat a PDF as extracted text. If you upload scanned pages or pages with figures, check your provider's documentation for how they are counted.
The six models used in the examples
All prices are USD per 1 million tokens, non-batch, from our data. The cached column is the cache-read price, covered in Prompt Caching Explained.
| Model | Input | Output | Cached read |
|---|---|---|---|
| DeepSeek V4.1 Flash | $0.051 | $0.203 | $0.001 |
| Claude Haiku 5.5 | $0.10 | $0.50 | $0.01 |
| Gemini 3.6 Flash | $0.75 | $3.75 | $0.075 |
| GPT-6.1 Terra | $1.00 | $5.00 | $0.05 |
| Claude Sonnet 5.5 | $2.00 | $10.00 | $0.10 |
| Claude Opus 5.5 | $4.00 | $20.00 | $0.20 |
Every example assumes 4 characters per token for all six models. In practice each model's own tokenizer will give a somewhat different count.
Example 1: summarizing a page of text
Take a page of 3,000 characters. At 4 characters per token that is 750 tokens. Add a 50-token instruction ("Summarize this page in about 150 words") and the input is 800 tokens. Assume the summary comes back at 200 tokens.
| Model | Cost per page | Cost for 1,000 pages |
|---|---|---|
| DeepSeek V4.1 Flash | $0.00008 | $0.08 |
| Claude Haiku 5.5 | $0.00018 | $0.18 |
| Gemini 3.6 Flash | $0.00135 | $1.35 |
| GPT-6.1 Terra | $0.00180 | $1.80 |
| Claude Sonnet 5.5 | $0.00360 | $3.60 |
| Claude Opus 5.5 | $0.00720 | $7.20 |
The spread between the cheapest and the dearest model here is about 90 times. For a task that a small model does well, such as summarizing clean text, that gap is the whole decision. If a tokenizer on one model counts 25% more tokens for the same text, every figure for that model rises by 25%. The ordering of these six would not change, but a close pair could swap.
Example 2: asking questions about a 50-page PDF
Assume the PDF has been converted to text and each page is 3,000 characters, so 50 pages is 150,000 characters and 37,500 tokens. All six models can hold that in one request. Each question is about 100 tokens, and each answer is 500 tokens.
A single question costs:
| Model | One question over the PDF |
|---|---|
| DeepSeek V4.1 Flash | $0.0020 |
| Claude Haiku 5.5 | $0.0040 |
| Gemini 3.6 Flash | $0.0301 |
| GPT-6.1 Terra | $0.0401 |
| Claude Sonnet 5.5 | $0.0802 |
| Claude Opus 5.5 | $0.1604 |
Now suppose a user asks 20 questions about the same document. Each call has to include the document again, because the model does not remember it between requests. Without caching, you pay for 37,600 input tokens 20 times. If the provider caches the unchanged 37,500-token prefix, the first call pays full price and the next 19 pay the cache-read rate on the document.
| Model | 20 questions, no caching | 20 questions, cached prefix | Saving |
|---|---|---|---|
| DeepSeek V4.1 Flash | $0.040 | $0.005 | 88% |
| Claude Haiku 5.5 | $0.080 | $0.016 | 80% |
| Gemini 3.6 Flash | $0.602 | $0.121 | 80% |
| GPT-6.1 Terra | $0.802 | $0.125 | 84% |
| Claude Sonnet 5.5 | $1.604 | $0.250 | 84% |
| Claude Opus 5.5 | $3.208 | $0.500 | 84% |
The cached figures use only the cache-read price from our data. They leave out any cache-write premium or storage fee some providers charge, and they assume every later call actually hits the cache, which depends on the prompt being identical up to the document and on the cache not expiring between questions. Treat them as a best case. The lesson holds anyway: when the same long document is queried repeatedly, input tokens dominate, and how you structure the prompt matters more than which model you pick.
Example 3: a 20-turn chat
A chat looks cheap per message and expensive in total, because every turn resends everything that came before. A chat API does not keep state for you. Your application sends the system prompt, every earlier user message, every earlier reply, and the new message, and you are billed for all of it as input.
Assumptions, which you should replace with your own: a 500-token system prompt, 60 tokens per user message and 250 tokens per assistant reply, over 20 turns.
- Turn 1 sends 560 input tokens.
- Turn 10 sends 3,350.
- Turn 20 sends 6,450.
- Across all 20 turns, the app sends 70,100 input tokens and receives 5,000 output tokens.
The visible text of the conversation, the 20 user messages and 20 replies, is 6,200 tokens. You are billed for 70,100 input tokens, about 11 times that. Input is 74% to 78% of the bill on these models even though the replies are the more expensive tokens.
| Model | Cost per 20-turn chat | Cost for 1,000 chats |
|---|---|---|
| DeepSeek V4.1 Flash | $0.0046 | $4.59 |
| Claude Haiku 5.5 | $0.0095 | $9.51 |
| Gemini 3.6 Flash | $0.0713 | $71.33 |
| GPT-6.1 Terra | $0.0951 | $95.10 |
| Claude Sonnet 5.5 | $0.1902 | $190.20 |
| Claude Opus 5.5 | $0.3804 | $380.40 |
Cost per turn rises as the chat goes on. On Claude Sonnet 5.5, turn 1 costs $0.0036 and turn 20 costs $0.0154, about 4.3 times as much, for the same amount of new text. Long chats are quadratic in length for this reason: doubling the number of turns more than doubles the bill. The standard fixes are to cache the stable prefix, summarize older turns, drop turns that no longer matter, and cap the history you resend. Cut LLM API Costs goes through them.
How to use the token counter
The token counter estimates the input cost of a prompt on every model we track.
- Paste your prompt, system message or document into the text box. The page shows characters, words and estimated input tokens.
- Set the expected output tokens and the number of calls. Output length is a guess, so start with your longest typical reply.
- Read the table. It lists the cost per call and for all calls on every model, sorted from cheapest, with the percentage each model costs above the cheapest.
- Use the button under the box to send the token count to your shared workload. The calculator, models table and cheapest models pages then use that input size.
The estimate is characters divided by 4, the same conversion used in the examples above. It is a good guide for English prose. For code, other languages or heavy formatting, treat it as a floor and verify against the token usage your provider reports on real requests. The counter does not model caching, so use the cache savings page for that.
A short checklist for estimating a bill
- Count characters of a real sample, divide by 4, and call that your input tokens per request.
- Estimate output tokens from your longest realistic reply, not the average.
- For chat or agents, add the resent history. Sum it turn by turn as in Example 3, rather than multiplying one turn by the number of turns.
- Multiply by requests, divide by 1 million, and apply each model's input and output price.
- Add some headroom (we suggest 20% to 30% as a starting point, not a measured figure) for tokenizer differences, retries and prompts you have not written yet.
- After a day of real traffic, replace every estimate with the token usage in the API responses.
For more on forecasting spend before you build, see Estimate LLM Costs Before You Build. The methodology page explains where our prices come from.
Frequently asked questions
How many tokens is a word?
About 1.33 tokens per English word on average, or 0.75 words per token. Individual words vary from one token to several. For other languages the ratio is usually higher.
Do I pay for tokens I send as well as tokens I receive?
Yes. Input and output are billed separately, each at its own per-million-token price. Output is the more expensive of the two on nearly every model.
Are token counts the same across providers?
No. Each provider uses its own tokenizer, so the same text can produce different counts. Our estimate of 4 characters per token is a single rule applied to every model, which is why the counter is an estimate and not an exact count.
Why does my bill not match the counter?
Usually because of resent chat history, a system prompt you forgot, reasoning tokens billed as output, or a tokenizer that counts more than 4 characters per token on your content. Compare the counter's estimate against the usage field in a real API response to find which one applies.
Try it with your workload
Set your tokens per request and requests per day once, and see what every model would cost you per month.