A token in AI is the unit of text a model reads and writes: a word, part of a word, or a punctuation mark. In English, one token averages about 4 characters, or three-quarters of a word, by OpenAI's rule of thumb. AI APIs bill by the token, so tokens are the unit providers meter your AI bill in.
Prices checked on December 1, 2026, from OpenAI's, Anthropic's and Google's pricing pages.
Once you can count tokens per request, you can work out what each customer costs you before the invoice arrives. The levers that bring that number down, from caching to model choice, are in our guide to cutting LLM costs.
What is a token in AI, and how does a model split text?
A model works on tokens instead of words. Its tokenizer cuts the text into tokens first, and the model reads those tokens and writes its answer back in tokens. OpenAI's help center says a token can be a single character, part of a word, a whole word or punctuation, and Google's Gemini token guide adds that long words get split into several tokens.
Each provider uses its own tokenizer, so the same paragraph produces a different count on Claude, GPT and Gemini. Anthropic's pricing page says the tokenizer it introduced with Claude Opus 4.7 produces about 30% more tokens for the same text than the one before it. The count also depends on language and content type, which is why code, JSON and non-English text rarely match the English averages.
Text is only one input. Images, audio and video become tokens too, and every one of those tokens lands on your bill.
How many tokens is a word?
An English word is about 1.33 tokens on OpenAI's models, since OpenAI puts 100 tokens at roughly 75 words. Google says 100 tokens equal 60 to 80 English words on Gemini. Current Claude models run higher, at about 1.8 tokens per word.
| Provider | Rule of thumb in its docs | Tokens per word | Tokens in 1,000 words |
|---|---|---|---|
| OpenAI | 1 token ≈ 4 characters; 100 tokens ≈ 75 words | 1.33 | 1,333 |
| Google Gemini | 1 token ≈ 4 characters; 100 tokens ≈ 60 to 80 words | 1.25 to 1.67 | 1,250 to 1,667 |
| Claude, Opus 4.7 and later | 1M tokens ≈ 555,000 words | 1.8 | 1,802 |
| Claude, earlier models | 1M tokens ≈ 750,000 words | 1.33 | 1,333 |
Source: OpenAI help center, Google's Gemini token guide and Anthropic's models overview. English text only.
For media, Google counts an image of 384 pixels or less on both sides as 258 tokens and tiles larger images into 768-pixel squares of 258 tokens each. Audio costs 32 tokens per second. Run a sample of your own prompts through your provider's token counter before you trust any rule of thumb.
Input, output, cached and reasoning tokens: what each one costs
Your bill splits tokens into four kinds, and each has its own price. Input tokens are everything you send: system prompt, conversation history, retrieved documents and tool definitions. Output tokens are everything the model writes back. Cached tokens are input the provider has stored from an earlier call and reads back at a discount, and reasoning tokens are the model's hidden working, billed as output.
| Token type | Claude Sonnet 5.5 | GPT-6.2 Sol | Gemini 4 Carbon |
|---|---|---|---|
| Input | $2.00 | $2.00 | $4.00 |
| Cache write | $2.50 (5 min) | $2.50 (30 min) | Implicit caching only |
| Cached input (read) | $0.10 | $0.10 | $0.20 |
| Output | $10.00 | $10.00 | $20.00 |
| Reasoning or thinking | $10.00 (as output) | $10.00 (as output) | $20.00 (in output price) |
Source: OpenAI, Anthropic and Google pricing pages, December 1, 2026. US dollars per million tokens, standard tier.
Output costs five times input on all three models, which is why answer length moves the bill more than prompt length. Input vs output tokens covers that gap in detail.
Reasoning tokens and thinking tokens
OpenAI calls them reasoning tokens, while Anthropic and Google call them thinking tokens. They mean the same thing: tokens the model generates while it works through the problem before it answers. OpenAI's reasoning guide says the API never shows them, bills them as output, and counts them against the context window. A single request can use anywhere from a few hundred to tens of thousands, and the exact number sits under output_tokens_details in the usage object.
On Claude, thinking tokens bill as output and come out of your max_tokens budget. Thinking is always on for Claude Opus 5.5 and Fable 5.2. Anthropic's context window docs add a second charge: on current models, the API keeps earlier thinking blocks in the conversation, so you pay for them again as input on later turns. Google's pricing page labels each Gemini output price as including thinking tokens.
What is a context window, and how does it change your bill?
A context window is the most tokens a model can work with in one request. Anthropic defines it as all the text the model can reference while it writes a response, the response included. Everything counts toward it: system prompt, messages, tool results, images, tool definitions, and the output with its thinking.
- Claude: Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5 each have a 1M-token window, roughly 555,000 words, with up to 128K output tokens per request.
- OpenAI: GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra and GPT-6 Luna each list a 1.05M context window and 128K max output on OpenAI's models page.
- Gemini: Gemini 4 models share one window of 1,048,576 tokens across input, thinking and output.
If the input alone is larger than the window, Claude rejects the request with a 400 "prompt is too long" error. You feel the cost long before you reach that limit. In a chat, each turn sends the whole conversation history back as input, so the twentieth message pays for the nineteen before it unless you cache the history.
Some models also charge more per token once a prompt gets long. On OpenAI's GPT-6 family, a prompt over 272,000 input tokens doubles the input price, and GPT-6.2 Sol moves from $2 and $10 to $4 and $15. Claude Haiku 5.5 jumps from $0.10 and $0.50 to $0.50 and $2.50 for prompts over 100,000 tokens, while Anthropic's other current models price the full 1M window at standard rates.
What one token costs on current AI models
Providers quote prices per million tokens, so one output token on Claude Sonnet 5.5 costs $0.00001, a thousandth of a cent. The table converts each rate to the cost of 1,000 output tokens, about 550 to 800 words of answer depending on the tokenizer.
| Model | Input per 1M | Output per 1M | 1,000 output tokens |
|---|---|---|---|
| GPT-6.2 Astra | $8.00 | $40.00 | $0.040 |
| GPT-6.2 Sol | $2.00 | $10.00 | $0.010 |
| GPT-6.1 Terra | $1.00 | $5.00 | $0.005 |
| GPT-6 Luna | $0.10 | $0.50 | $0.0005 |
| GPT-5.5 | $5.00 | $30.00 | $0.030 |
| Claude Fable 5.2 | $8.00 | $40.00 | $0.040 |
| Claude Opus 5.5 | $4.00 | $20.00 | $0.020 |
| Claude Sonnet 5.5 | $2.00 | $10.00 | $0.010 |
| Claude Haiku 5.5 (prompts up to 100K) | $0.10 | $0.50 | $0.0005 |
| Gemini 4 Carbon | $4.00 | $20.00 | $0.020 |
| Gemini 4 Neon | $3.00 | $15.00 | $0.015 |
| Gemini 4 Hydrogen | $1.50 | $7.50 | $0.0075 |
| Gemini 3.8 Flash | $0.75 | $3.75 | $0.00375 |
Source: OpenAI, Anthropic and Google pricing pages, December 1, 2026. Standard tier, short prompts.
Gemini prices are moving. Google doubled Gemini 4 Carbon and Gemini 4 Argon on December 1, 2026, from $2 and $10 to $4 and $20, and its pricing page lists Gemini 3.8 Flash doubling to $1.50 and $7.50 on January 1, 2027. Batch processing halves the rates on Anthropic and OpenAI if you can wait for results. Full rate cards live on our OpenAI API pricing, Claude API pricing and Gemini API pricing pages, and Claude API cost per token walks through every Claude rate.
Compare prices across providers with care. A model that tokenizes your text into 30% more tokens costs 30% more for the same words at the same listed price.
How to turn one request into a cost per customer
Example. A SaaS product sells a $49-a-month plan with an AI support assistant on Claude Sonnet 5.5. One typical request carries a 3,000-token system prompt and tool definitions, read from a warm cache, plus 5,000 uncached tokens of conversation history and retrieved help articles. Claude thinks for 1,200 tokens and writes a 400-token answer, about 220 words.
Cached input 3,000 × $0.10 ÷ 1,000,000 = $0.0003
Uncached input 5,000 × $2.00 ÷ 1,000,000 = $0.0100
Output 1,600 × $10.00 ÷ 1,000,000 = $0.0160
-------
Cost per request (9,600 tokens) $0.0263Thinking and answer together make up 17% of the tokens and 61% of the cost. The cached system prompt is 31% of the tokens and about 1% of the cost.
A single request costs under 3 cents, so the per-customer number depends on how often each customer asks. Three customers on the same $49 plan show the spread.
| Customer | Requests a month | Tokens a month | AI cost | Left after AI |
|---|---|---|---|---|
| Birchline | 60 | 576,000 | $1.58 | $47.42 |
| Typical customer | 300 | 2,880,000 | $7.89 | $41.11 |
| Northwind | 2,400 | 23,040,000 | $63.12 | −$14.12 |
Example data. Claude Sonnet 5.5 prices, $0.0263 per request.
The same token counts on Gemini 4 Carbon cost $0.0526 a request after December 1, which would put the typical customer at $15.78 and Northwind at $126.24. On Claude Haiku 5.5, Northwind's month drops to $3.19, if the cheaper model answers well enough for that customer.
A provider invoice totals usage by model, so the Northwind row never appears on it. Lancelot prices every call from its token counts, puts each customer's AI cost next to what they pay in Stripe or RevenueCat, and then acts on the ones losing money, within limits you set. It can throttle Northwind, move them to a cheaper model you've approved, or draft an upgrade offer, and each action starts as a suggestion you can undo (Margin intelligence).
Questions about tokens in AI
What is a token in AI?
A token is the unit of text an AI model reads and writes, such as a word, part of a word or a punctuation mark. In English, one token averages about 4 characters. Providers bill API usage per token, with separate prices for input, output and cached tokens.
How many tokens is a word?
About 1.33 tokens per English word, by OpenAI's rule that 100 tokens equal roughly 75 words. Google says 100 tokens are 60 to 80 English words on Gemini. Current Claude models use about 1.8 tokens per word, because Anthropic's newer tokenizer produces more tokens for the same text.
What are reasoning tokens?
Reasoning tokens are the tokens a model generates while it works through a problem before answering. OpenAI's API hides them, bills them as output tokens and reports the count in output_tokens_details. One request can use anywhere from a few hundred to tens of thousands of them.
What are thinking tokens?
Thinking tokens are Anthropic's and Google's name for the tokens a model spends reasoning before its answer. Claude bills them as output and counts them against max_tokens, and Gemini's output price includes them. You pay for them even when the thinking text never reaches your user.
What is a context window in AI?
A context window is the most tokens a model can work with in one request, counting your prompt, the conversation history and the response. Current Claude and Gemini 4 models offer about 1 million tokens, and GPT-6.2 Sol offers 1.05 million. A fuller window also means a larger bill per request.
How much does one AI token cost?
It depends on the model and the token type. On Claude Sonnet 5.5 and GPT-6.2 Sol, an input token costs $0.000002 and an output token $0.00001, which is $2 and $10 per million. Gemini 4 Carbon has cost twice that since December 1, 2026.
Do images count as tokens?
Yes. Images, audio and video become tokens and count toward your bill. Google's Gemini documentation counts an image of 384 pixels or less on both sides as 258 tokens, tiles larger images at 258 tokens per tile, and counts audio at 32 tokens per second.
Once you can price a request in tokens, the next step is lowering the count and the rate per customer. For caching, shorter answers, thinking settings and model routing, read our guide to cutting LLM costs.


