Skip to content
induwara.lk
Premium
induwara.lkAI · Developer tools

AI Thinking Budget Calculator

Every reasoning model controls thinking a different way — thinkingBudget, budget_tokens, or reasoning_effort. This tool shows the valid range for your model and turns your setting into one honest number: what it costs per call and per month. No signup, sources cited below.

By Induwara AshinsanaUpdated Jul 18, 2026
Thinking budget & cost
List price · verify
thinkingBudget
Range
128 – 32,768
Default
Dynamic (-1)
Turn off (0)
Not allowed
Dynamic (-1)
Allowed

Range 128–32,768. Default is dynamic (-1). Pro cannot fully disable thinking — 0 is rejected.

Your prompt, system message, tools, and context.

The answer you actually see in the response.

How many of these calls you make in a month.

Example setups
Thinking tokens
4,000
Dynamic (-1) · estimate
Cost / request
$0.0443
thinking = $0.04
Thinking share
90.4%
of the per-request bill
Monthly cost
$442.50
latency: Moderate

What you pay for per request

Input
$0.00133%
Thinking
$0.0490%
Visible output
$0.0037%

Per-request cost breakdown

ComponentTokensRateCost
Input tokens1,000$1.25/1M$0.0013
Thinking tokens (billed as output)4,000$10/1M$0.04
Visible output tokens300$10/1M$0.003
Cost per request$0.0443

Thinking adds $400.00 per month at 10,000 requests — the invisible line a prompt+answer estimate never shows (thinking tokens are an estimate for this control). Excludes prompt caching, batch discounts, and per-tenant contract pricing.

Cost across settings

SettingThinking tokensCost / requestMonthly
Minimum128128$0.0055$55.30
Default (dynamic)-1selected4,000$0.0443$442.50
High (max)32,76832,768$0.3319$3,319.30

Same prompt, visible output, and request volume; only the thinking setting changes. Values marked ≈ are planning estimates (dynamic or effort settings) — read your real thinking-token usage for exact figures.

Thinking / reasoning tokens are billed at the model's output rate by Google, Anthropic, and OpenAI. Anthropic rates are cross-checked against the Anthropic pricing page; Google and OpenAI rows are published list prices that change without notice. Budget ranges and rates last verified 2026-07-18. Full sources are listed below the calculator.

How it works

Reasoning models think before they answer. That thinking is a stream of hidden tokens — Google calls the control thinkingBudget, Anthropic's older models use budget_tokens, and OpenAI exposes a qualitative reasoning_effort. You almost never see the thinking, but every provider counts and bills it, and crucially bills it at the model's output rate — the higher of the two prices.

The first job of this tool is to state the valid range for the model you pick, because it differs sharply and getting it wrong is an API error:

  • Gemini 2.5 Pro: 128 – 32,768. Default dynamic (-1). Cannot set 0 (no off).
  • Gemini 2.5 Flash: 0 – 24,576. 0 = off, -1 = dynamic (default).
  • Gemini 2.5 Flash-Lite: 512 – 24,576. Off by default; 0 = off, -1 = dynamic.
  • Claude (legacy budget_tokens): ≥ 1,024 and < max_tokens.
  • Claude current / OpenAI: qualitative effort levels, no token cap.

The second job is cost. Let Pin and Pout be the per-token input and output prices (the per-million rate ÷ 1,000,000), with I input tokens, V visible output tokens, and B the effective thinking budget:

  1. inputCost = I × Pin
  2. thinkingCost = B × Pout — the hidden line item, billed at the output rate.
  3. outputCost = V × Pout
  4. costPerRequest = inputCost + thinkingCost + outputCost, and monthly is costPerRequest × requests.

Because the thinking and visible tokens are both billed at Pout, the per-request cost can also be written inputCost + (B + V) × Pout. The tool computes it both ways and they agree to the cent — a built-in cross-check on the math. For dynamic (-1) and effort settings there is no fixed token count, so those are priced with a clearly labelled representative estimate; read your real thinking-token usage from the API response for an exact figure.

Worked examples

Gemini 2.5 Pro — thinkingBudget 8,000

Input $1.25/1M, output $10/1M · I=1,000 V=300 B=8,000 · 10,000 req/mo

  1. inputCost = 1,000 × $0.00000125 = $0.00125
  2. thinkingCost = 8,000 × $0.00001 = $0.08
  3. outputCost = 300 × $0.00001 = $0.003
  4. costPerRequest = $0.08425
  5. thinking share = 0.08 ÷ 0.08425 = 95.0%
  6. monthly = $0.08425 × 10,000 = $842.50 — the budget IS the bill

Same request — budget cut to the 128 minimum

Gemini 2.5 Pro · I=1,000 V=300 B=128 · 10,000 req/mo

  1. thinkingCost = 128 × $0.00001 = $0.00128
  2. costPerRequest = $0.00125 + $0.00128 + $0.003 = $0.00553
  3. monthly = $0.00553 × 10,000 = $55.30
  4. 8,000 → 128 cuts the month from $842.50 to $55.30 (≈93% saving)

Edge — thinking OFF on Gemini 2.5 Flash

Input $0.30/1M, output $2.50/1M · I=1,000 V=300 B=0 · 10,000 req/mo

  1. inputCost = 1,000 × $0.0000003 = $0.0003
  2. thinkingCost = 0 (budget 0 disables thinking on Flash)
  3. outputCost = 300 × $0.0000025 = $0.00075
  4. costPerRequest = $0.00105 · thinking share = 0%
  5. monthly = $10.50 — on Pro this exact setting is rejected (no off)

Frequently asked questions

Sources & references

Anthropic rates were cross-checked against the Anthropic pricing page on 2026-07-18. Google and OpenAI budget ranges and rows are published values that change without notice — re-check them against the linked source before relying on a figure. No live API calls are made; the price and range table is static and dated.

Related tools

Rate this tool
Be the first to rate

Comments & feedback

Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Found a bug, edge case, or want to suggest an improvement?

Email me at [email protected] — most fixes ship within 24 hours.