Reasoning tokens cost the same as output tokens. OpenAI, Anthropic and Google all bill the model’s hidden thinking at the output rate of the model you call, even though the API never returns that text to you. On a request where the model thinks for 3,000 tokens and answers in 600, you pay for 3,600 output tokens, not 600.
The part that trips up cost tracking is how each API reports the number. OpenAI and Anthropic count reasoning inside the output total. Google’s Gemini API reports it as a separate figure that you have to add yourself. Read the wrong field and your estimate is off by a factor of three, in either direction.
Last checked November 14, 2026 against the OpenAI reasoning guide, the Claude thinking documentation, the Gemini thinking guide and each provider’s official pricing page.
What each provider says about billing
- OpenAI: reasoning tokens “are not visible via the API” but “still occupy space in the model’s context window and are billed as output tokens,” according to the reasoning guide. Pro reasoning mode on GPT-5.6 and GPT-6 models does more model work and bills those tokens at the model’s standard rates.
- Anthropic: thinking tokens “are billed as output tokens, even when the thinking text isn’t returned to you,” per the thinking documentation. When you ask for summarized thinking, you are charged for the full thinking, not the summary, so the billed count will not match the text you see. Setting
display: "omitted"hides the text but does not lower the bill: “Omitting reduces latency, not cost.” - Google: “response pricing is the sum of output tokens and thinking tokens,” and pricing is based on the full thoughts even when only a summary comes back, according to the Gemini thinking guide. The Gemini pricing page labels the output rate of each model “including thinking tokens.”
None of the three charges a separate reasoning rate. There is no line on any of these price lists for reasoning; it is the output price.
Where the count appears in the response
This table is the one to keep next to your billing code. The reasoning figure sits in a different place in each API, and only Gemini keeps it outside the output total.
| API | Reasoning count | Already inside the output total? | Limit that includes reasoning |
|---|---|---|---|
| OpenAI Responses API | usage.output_tokens_details.reasoning_tokens | Yes, part of output_tokens | max_output_tokens |
| OpenAI Chat Completions | usage.completion_tokens_details.reasoning_tokens | Yes, a breakdown of completion_tokens | max_completion_tokens |
| Anthropic Messages API | usage.output_tokens_details.thinking_tokens | Yes, part of output_tokens | max_tokens |
| Gemini Interactions API | usage.total_thought_tokens | No, separate from total_output_tokens | max_output_tokens |
The sources for each row: OpenAI’s reasoning guide shows a response with output_tokens: 1186 that contains reasoning_tokens: 1024. The Chat Completions reference defines max_completion_tokens as a bound on “visible output tokens and reasoning tokens.” Anthropic’s extended thinking page says thinking_tokens reports “how many of the billed output tokens were internal reasoning.” Google’s example response in the thinking guide has total_input_tokens: 62, total_output_tokens: 171 and total_thought_tokens: 297, adding up to total_tokens: 530, which only works if the 297 thought tokens are not part of the 171.
Two practical rules follow:
- For OpenAI and Claude, multiply
output_tokensby the output price. Do not add the reasoning figure again; it is already in there. - For Gemini, multiply
total_output_tokens + total_thought_tokensby the output price.
One request, priced three ways
Take a single request: 4,000 input tokens, 3,000 tokens of reasoning and a 600-token answer. The prices below are the standard short-context rates per million tokens, read from the official pages on November 14, 2026: GPT-6 Luna at $0.10 input and $0.50 output on OpenAI’s pricing page, Claude Sonnet 5.5 at $2 and $10 on Anthropic’s pricing page, and Gemini 3.8 Flash at $0.75 and $3.75 on Google’s pricing page.
| Model | Correct cost (3,600 output) | Visible answer only (600 output) | Reasoning counted twice (6,600 output) |
|---|---|---|---|
| GPT-6 Luna | $0.0022 | $0.0007 | $0.0037 |
| Claude Sonnet 5.5 | $0.044 | $0.014 | $0.074 |
| Gemini 3.8 Flash | $0.0165 | $0.00525 | $0.02775 |
At 100,000 such requests a month, the correct figures are $220, $4,400 and $1,650. A dashboard that counts only the visible answer would show $70, $1,400 and $525, about a third of the real bill. The opposite mistake, adding OpenAI’s or Anthropic’s reasoning figure on top of an output total that already contains it, overstates the bill by roughly 70% in this example.
Google has also announced that Gemini 3.8 Flash rises to $1.50 input and $7.50 output from January 1, 2027, per its pricing page. The same request would then cost $0.033.
The reasoning share is the variable you control least. OpenAI’s guide says a request can use “anywhere from a few hundred to tens of thousands of reasoning tokens” depending on the problem. Log the real figure from usage for a sample of your own traffic before you budget; the 3,000 used here is only an example. For the other costs around a request, such as retries, tool calls and review, see what an AI task costs beyond the token price.
You can pay for reasoning and get no answer
All three output limits include reasoning. If the model is still thinking when it reaches the limit, the answer can be cut off or empty while the reasoning is still billed.
- OpenAI returns
status: "incomplete"withreason: "max_output_tokens". The guide warns this “might occur before any visible output tokens are produced, meaning you could incur costs for input and reasoning tokens without receiving a visible response.” It recommends reserving at least 25,000 tokens for reasoning and output when you start with these models. - Google says a Gemini request that hits
max_output_tokenswhile reasoning stops with status"incomplete"and returns truncated or empty output “while still billing for any thinking tokens generated.” Its advice is to lowerthinking_levelrather than set a small output limit. - Anthropic counts current-turn thinking toward
max_tokensand treats that value as a strict limit.
A worked case: GPT-6 Luna with max_output_tokens: 2000 on the request above. Reasoning uses the whole 2,000, no text comes back, and the call still costs $0.0004 for input plus $0.0010 for the 2,000 reasoning tokens. Retrying with the same limit repeats the charge. Raise the limit or lower the effort before you retry, and keep the failed attempt in your cost log. Counting streamed Claude usage once covers the same bookkeeping for interrupted streams.
Reasoning can come back as input on the next turn
On Anthropic’s newer models, thinking from earlier turns stays in the conversation and is billed again, this time as input. The thinking documentation lists Claude Opus 4.5 and later Opus models, Sonnet 4.6 and later Sonnet models and Claude Haiku 5.5 among those that keep all prior turns, and says retained thinking blocks “are billed as input tokens like the rest of the conversation history.” Earlier models, including Claude Haiku 4.5, strip old thinking automatically.
For the example above on Claude Sonnet 5.5, the 3,000 thinking tokens from turn one add $0.006 to turn two at the $2 input rate. Read from the prompt cache at $0.10 per million, they add $0.0003. In a long agent session the retained thinking accumulates, which is one more reason prompt caching matters for these models. Anthropic offers thinking block clearing through context editing if you need to drop it.
OpenAI’s GPT-5.6 models default to reasoning.context: "all_turns", which renders available reasoning from earlier turns into the next request, according to the reasoning guide. The guide does not state a separate rate for that carried reasoning, so check input_tokens on the following response to see how much it adds for your workload.
How to keep the reasoning bill down
- Lower the effort setting. OpenAI’s
reasoning.effort, Claude’soutput_config.effortand Gemini’sthinking_levelall trade depth for tokens. OpenAI says lower effort “favors speed and lower token usage.” Test the lowest setting that meets your quality bar. - Do not use a tight output limit as a cost cap. It can cut off the answer after you have already paid for the reasoning, as shown above.
- Check the model’s default. Defaults differ by model. GPT-6.1 Sol defaults to
medium, Claude Opus 5.5 and Claude Haiku 5.5 default tomediumeffort, and Gemini 4 Hydrogen defaults tohighthinking. - Use batch processing for work that can wait. Reasoning tokens are output tokens, so the 50% discount on OpenAI’s Batch API and on the Claude Batch API applies to them too.





