Explainer
What a reply costs
A reply's price is the sum of its tokens: input and output are charged at different rates, and hidden reasoning is billed as output even though you never see it.
Software that calls a model through an API pays per token, quoted per million. Input tokens are everything sent: instructions, documents and the chat so far. Output tokens are what the model writes. On the price lists of OpenAI and Anthropic, checked on 19 November 2026, output cost several times as much as input. Reasoning models also write hidden reasoning tokens, which are billed as output.
Two discounts matter. Cached input, a repeated beginning the provider has already processed, costs a fraction of the normal rate. Batch processing, where results can take up to a day, was half price at both companies (OpenAI's batch guide, Anthropic's batch guide).
Illustration, with invented round prices: input $2, cached input $0.20 and output $10, each per million tokens. An assistant on a hosted service answers 30,000 questions a month. Each request sends a fixed 2,500-token block of instructions and reference text, the same block as in Prompt caching, served from the cache, plus 500 new tokens, and the model writes 700 hidden reasoning tokens and a 300-token answer.
| Part | Tokens a month | Cost |
|---|---|---|
| New input | 15 million | $30 |
| Cached input | 75 million | $15 |
| Output, with reasoning | 30 million | $300 |
| Total | 120 million | $345 |
Output is 87 percent of this bill, and the hidden reasoning alone costs $210. Without the cache, input would cost $180 instead of $45.
Going deeper
A reasoning model can use up its output allowance before writing anything visible; OpenAI warns that you “could incur costs for input and reasoning tokens without receiving a visible response.” Writing a prompt into the cache can cost more than ordinary input: Anthropic charged 1.25 times the input price for a five-minute cache write. Prices change often.
In the long read: More work per second, or less waiting? Then read Prompt caching.
Read next: Prompt caching