Reasoning Tokens Cost: How Thinking Models Impact Your API Bill
By LW Forge β maintainer of LLM Scout Β· Updated August 25, 2026
The rise of reasoning-native models has changed how developer teams budget for large language model APIs. Historically, estimating the cost of a model call was straightforward: you measured the length of your input prompt, estimated the length of the expected response, and multiplied both by the provider's published rates. With reasoning architecturesβsuch as OpenAI's o-series, Anthropic's Claude with Extended Thinking, Google's Gemini Thinking, and DeepSeek R1βthat simple mental model breaks down.
Reasoning models generate internal chains of thought before producing a single word of visible answer. These internal tokens, variously named reasoning tokens or thinking tokens, do not appear in the final text delivered to your end user. Yet on your invoice, they are billed in full. Understanding how these tokens are generated, metered, and priced is essential to preventing unexpected bills in production.
Why reasoning tokens are billed as output tokens
In API billing models across all major AI providers, tokens are categorized into two primary buckets: input (what you send to the model) and output (what the model generates). Because reasoning tokens are generated dynamically by the model's auto-regressive process during inference, providers treat every reasoning token as an output token.
This pricing convention has a massive impact on your unit economics. In modern LLM pricing schedules, output tokens are consistently 3x to 6x more expensive per million tokens than input tokens. For example, on a workhorse tier model like Claude Sonnet 5, input is billed at $2.00 per million tokens while output is billed at $10.00 per million tokens. On flagship reasoning models like OpenAI o1, output reaches $60.00 per million tokens compared to $15.00 for input.
When a model deliberates deeply, it might generate 3,000 to 8,000 reasoning tokens to produce a concise, 200-token answer. In that request, more than 95% of your bill is generated by text your users never read.
A worked example: standard model vs reasoning model
To see the financial difference in practice, consider an automated code review task. You pass a 1,500-token pull request snippet to an API and ask for a structured JSON verdict identifying security flaws.
Scenario A: Standard frontier model (e.g. GPT-5.6 Terra)
- Input tokens: 1,500 prompt tokens
- Output tokens: 300 response tokens (the JSON summary)
- Input cost (at $2.00 / 1M): $0.0030
- Output cost (at $12.00 / 1M): $0.0036
- Total cost per execution: $0.0066
Scenario B: Reasoning model on the exact same prompt
- Input tokens: 1,500 prompt tokens
- Hidden reasoning tokens: 4,500 thinking tokens (exploring code branches, verifying invariants)
- Visible output tokens: 300 response tokens
- Total billed output: 4,800 output tokens
- Input cost (at $2.00 / 1M): $0.0030
- Output cost (at $12.00 / 1M): 4,800 Γ $0.000012 = $0.0576
- Total cost per execution: $0.0606
In this typical engineering workflow, the reasoning model cost 9.2x more than the standard model for the exact same task and identical user-facing output payload. If your application processes 50,000 code reviews per month, your monthly infrastructure spend jumps from roughly $330 to over $3,030. You can simulate your own prompt volumes and input-to-output ratios using our OpenAI cost calculator and the GPT vs Claude comparison.
Comparing reasoning implementations across providers
While all major providers bill reasoning tokens as output, their API parameters, telemetry visibility, and budgeting controls differ significantly:
| Provider & Model Family | Parameter Name for Control | Telemetry Visibility | Typical Pricing Ratio (Output / Input) |
|---|---|---|---|
| OpenAI (o1, o3-series) | reasoning_effort (low, medium, high) | usage.completion_tokens_details.reasoning_tokens | 4.0x ($60 vs $15 per 1M on o1) |
| Anthropic (Claude Sonnet 5 / Opus 5) | thinking.budget_tokens (integer limit) | usage.thinking_tokens + raw thinking blocks | 5.0x ($10 vs $2 on Sonnet 5, $25 vs $5 on Opus 5) |
| Google (Gemini 3.x Flash/Pro) | thinking_config.thinking_budget | usage_metadata.candidates_token_count | 5.0x to 6.0x ($12 vs $2 per 1M on Pro) |
| DeepSeek (DeepSeek R1) | System prompt constraints / max_tokens | Streamed <think> delimiters | ~4.0x ($2.19 vs $0.55 per 1M) |
Anthropic gives developers explicit control through budget_tokens, allowing you to set a hard numerical ceiling on thinking length per request (for example, capping thinking at 2,048 tokens). OpenAI uses a qualitative reasoning_effort setting, where the model decides internally how many tokens to allocate based on difficulty heuristics. Google allows setting numerical bounds via thinking configuration.
The multi-turn conversation trap
Another subtle architectural consideration is how reasoning tokens interact with multi-turn conversations and agent loops.
When an agent interacts with a user across several rounds of back-and-forth dialogue:
- Passing thinking blocks back as context: If your agent framework appends the entire raw assistant response (including thinking blocks) into the conversation history of turn 2, those previous thinking tokens become part of the next turn's input prompt. While input tokens are cheaper than output tokens, accumulating 5,000 thinking tokens across 5 turns balloons your input payload to 25,000 tokens per call.
- Stripping thinking blocks: If you strip thinking blocks from conversation history to keep context windows lean, the model loses the intermediate deductions it made in previous turns. In turn 2, it may spend another 4,000 reasoning tokens re-deriving the conclusions it already reached.
To evaluate how rapidly conversational context inflates under agentic workflows, test your token payloads in the token calculator and check our guide on context window limits and capacities.
How prompt caching interacts with reasoning
Many developers assume that enabling prompt caching will neutralize reasoning costs. Unfortunately, prompt caching only applies to input tokens.
When you use prompt caching (see our detailed guide on prompt caching cost savings), the system prompt, tool definitions, and historical conversation messages that match a cached prefix receive a ~90% discount on read operations. However, the reasoning tokens generated during inference are newly created on every single API call. Even with a 100% cache hit on your input prompt, you still pay full list price for every single thinking token generated during that specific request.
Practical strategies to control reasoning costs
To maintain high accuracy without inflating your monthly API bill, implement these four production practices:
1. Route conditionally, not unconditionally
Never use a reasoning model as the default handler for every user query. High-volume, low-complexity requests (such as text summarization, sentiment extraction, intent classification, and standard customer support FAQs) show virtually zero quality improvement when processed by reasoning models. Reserve reasoning models for logic puzzles, complex code generation, constraint satisfaction, and multi-step tool execution.
2. Cap thinking budgets per endpoint
For endpoints that genuinely require reasoning, set explicit thinking token limits rather than leaving budgeting unconstrained. A cap of 1,024 to 2,048 thinking tokens provides substantial depth for 90% of programming and analytical problems while preventing worst-case edge cases where a runaway prompt consumes 16,000 thinking tokens trying to resolve an ambiguous edge case.
3. Use fallbacks before escalation
Adopt a two-tier verification pattern: submit the task first to a fast, cost-effective model like Claude Haiku 4.5 or GPT-5.6 Luna (see our comparison of cheapest LLM APIs in 2026). Run an automated validator or unit test against the output. Only if the validation fails do you escalate the prompt to a reasoning-capable model.
4. Monitor token breakdowns in your logging pipeline
Ensure your telemetry pipeline records reasoning_tokens separately from visible completion_tokens. If your observability dashboard only tracks total tokens, you will be unable to pinpoint which prompt templates are triggering disproportionate thinking overhead.
Summary
Reasoning models represent a fundamental upgrade in problem-solving capability, but they replace deterministic token estimation with dynamic generation. Because every thinking token is billed as expensive output, unmonitored reasoning calls can multiply production costs by an order of magnitude.
Before deploying reasoning-native agents at scale, measure your baseline prompt requirements with the token calculator, calculate your projected monthly volume in the Claude cost calculator and OpenAI cost calculator, and establish strict token ceilings in your API configuration.