Reasoning Token Cost Calculator
See how invisible reasoning tokens inflate your API bill compared to the reply you actually read. Calculate bill shock, detect truncation risk, and find break-even vs non-reasoning models.
| Model | Provider | Actual $/call | Naive $/call | Shock |
|---|---|---|---|---|
| text-embedding-3-small | OpenAI | $0.000030 | $0.000030 | 1.0x |
| text-embedding-3-large | OpenAI | $0.000195 | $0.000195 | 1.0x |
| GPT-4o mini | OpenAI | $0.002025 | $0.000525 | 3.9x |
| GPT-5 mini | OpenAI | $0.006375 | $0.001375 | 4.6x |
| o4-mini | OpenAI | $0.0149 | $0.003850 | 3.9x |
| o1-mini | OpenAI | $0.0149 | $0.003850 | 3.9x |
| GPT-4o | OpenAI | $0.0338 | $0.008750 | 3.9x |
| GPT-5.4 | OpenAI | $0.0488 | $0.0113 | 4.3x |
| o1 | OpenAI | $0.2025 | $0.0525 | 3.9x |
| o3 | OpenAI | $0.2700 | $0.0700 | 3.9x |
Prices verified 2026-11-18 · Download dataset · Methodology
How to Use
Enter your prompt size
Set the input tokens (your prompt) and visible output tokens (the reply you see). These are the tokens you can count in a standard token counter.
Set the reasoning multiplier
Estimate how many hidden reasoning tokens the model generates per visible output token. Light tasks use 2-3x, heavy math/code can be 10-20x. If unsure, start with 5x.
Check the bill shock ratio
The calculator shows what you expected to pay vs what you actually pay. A 3.5x ratio means your bill is 3.5 times higher than a naive token count suggests.
Detect truncation risk
Set your max_completion_tokens limit. If hidden reasoning consumes most of that budget, your visible reply gets truncated or cut off entirely.
What are reasoning tokens?
Reasoning models like OpenAI o3, o4-mini, and Anthropic Claude (with extended thinking) generate hidden chain-of-thought tokens before producing a visible reply. These reasoning tokens are billed as output at the output token rate, even though you never see them. A model might “think” for 5,000 tokens to produce a 500-token answer — you pay for all 5,500 output tokens.
Why reasoning breaks naive cost estimates
Standard token counters only measure the visible conversation: your prompt (input) and the model’s reply (visible output). With reasoning models, the actual billed output is visible reply + hidden reasoning. For complex tasks, reasoning tokens can account for 80–90% of billed output. This is why developers report bills 3–10x higher than their token counter suggested.
Billed output = visible_output + hidden_reasoning
Hidden tokens = visible_output × reasoning_multiplier
Bill shock ratio = actual_cost / expected_cost
= (input×P_in + billed_output×P_out)
/ (input×P_in + visible_output×P_out)
Example: 1,500 input + 500 visible output + 2,500 hidden (5× mult)
Expected: 1,500×$3 + 500×$15 = $0.012
Actual: 1,500×$3 + 3,000×$15 = $0.049
Bill shock: 4.1× what you expectedThe max_completion_tokens trap
The max_completion_tokens parameter caps total output — reasoning + visible reply combined. If the model uses 15,000 reasoning tokens and your limit is 16,384, only 1,384 tokens remain for the actual answer. Heavy reasoning tasks routinely produce truncated, incomplete, or empty replies when this budget is too tight. You still pay for the reasoning tokens consumed before truncation. Set the limit high enough to accommodate both reasoning and reply.
Reasoning model vs CoT prompt: when to use which
A reasoning model (o3, o4-mini, Claude extended thinking) generates hidden chain-of-thought automatically. The quality is generally higher for complex multi-step tasks, but you pay for many hidden tokens and cannot control their length.
A standard model with an explicit CoT prompt (“think step by step”) produces visible reasoning steps. The output is typically shorter (2–3x the final answer vs 5–15x for hidden reasoning), cheaper, and you can control it. For many tasks — summarization, extraction, classification — this approach delivers comparable accuracy at a fraction of the cost.
Use the break-even comparison in the calculator above to see which approach is cheaper for your specific workload. Select an alternative non-reasoning model and the calculator shows the monthly cost difference.
How this calculator works
Enter your prompt size, visible output, and estimated reasoning multiplier. The calculator uses live pricing from our weekly-verified dataset to show what you expected to pay vs what you actually pay. The bill shock ratio tells you how much reasoning inflates your bill. The truncation detector warns when max_completion_tokens is too tight. All calculations run in your browser. See the methodology page for pricing verification details.
How to Cut This Cost
Lower reasoning effort — OpenAI o-series supports low/medium/high effort levels. "Low" uses fewer reasoning tokens for simple tasks.
Use a non-reasoning model with explicit Chain-of-Thought for simpler tasks. The CoT output is shorter and you control it.
Set a generous but bounded max_completion_tokens — prevents runaway reasoning while avoiding truncation.
Route only complex tasks to reasoning models. Use a classifier to send simple queries to cheaper standard models.
FAQ
Have more questions? Contact us
Last verified: 2026-11-18 · methodology · data sources