short · 3 min
Token pricing
Why output tokens cost several times more than input tokens.
updated 23 Sept 2026
Quick guess. On Claude Opus 5, a session sends 50,000 tokens in and gets 15,000 tokens back. Which half of the bill is bigger?
The input, surely? It's more than three times as many tokens. But the input costs $0.25 and the output costs $0.375. The smaller pile costs more.
(That's Anthropic's own worked example, on its pricing page.)
Two prices per model
LLM APIs charge per token, and every model has two prices: one for the tokens we send, one for the tokens the model writes. As of 2026-09-23, per million tokens:
| Model | Input | Output |
|---|---|---|
| Claude Haiku 4.5 | $1 | $5 |
| Claude Sonnet 5 | $2 | $10 |
| Claude Opus 5.5 | $4 | $20 |
| OpenAI gpt-6-luna | $0.10 | $0.50 |
| OpenAI gpt-6-sol | $2 | $10 |
| OpenAI gpt-6-astra | $10 | $50 |
Look at the ratio. It's 5x on every one. Every Claude model on Anthropic's list, and OpenAI's GPT-6 models at normal context lengths. The base price moves a lot between models; the gap between input and output doesn't.
So when we estimate a bill, counting tokens isn't enough. Each output token counts like five input tokens.
Why would output cost more?
Neither provider says. What follows is our own guess from how models run, so take it as that.
A call has two stages (prefill and decode). Prefill reads all our input tokens at once, in parallel, and keeps the GPU busy with useful math. Decode writes the output one token at a time, and each token needs its own pass, which is slowed down by how fast the model's weights can be read from memory. In one set of measurements from 2023, adding 512 input tokens added less delay than writing 8 more output tokens. If a provider's cost is mostly GPU time, an output token eats a lot more of it.
But notice that gap is far bigger than 5x. And servers batch many users' requests together, which spreads the cost. So the 5x looks like a pricing choice that points the same way as the hardware, not a measure of what a token costs to make.
The discounts that move the numbers
The per-token price isn't the whole story. As of 2026-09:
- Cached input costs a tenth of normal input on most models, on both providers (a twentieth on Opus 5.5). Writing to the cache costs extra on Claude: 1.25x for five minutes, 2x for an hour.
- Batch jobs, which run in the background, are half price on input and output, on both.
- Long context differs. Anthropic bills a 900k-token request at the same rate per token as a 9k one. OpenAI has higher long-context prices; gpt-6-sol goes to $4 in and $15 out.
- Tokenizers change too. Claude models from 4.7 on make about 30% more tokens from the same text, so the same prompt costs more.
Back to our session. The cheap moves are on the output side: a sensible
max_tokens, and asking for a short answer when a short answer is all we
need. A big document going in is often fine, and if we send it again and
again, caching knocks most of that cost off. And since these prices change
often, any estimate needs a date on it. Which model to pay for in the
first place is model selection.
Further reading
- Pricing, Anthropic docs. The price table, caching and batch rules, and the worked example above.
- Pricing, OpenAI docs. A second provider with the same 5x, plus long-context prices.
- LLM Inference Performance Engineering: Best Practices, Databricks, 2023. Not about prices, but the clearest explanation of why output tokens take so much longer than input.