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.
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:
inputCost = I × PinthinkingCost = B × Pout— the hidden line item, billed at the output rate.outputCost = V × PoutcostPerRequest = inputCost + thinkingCost + outputCost, and monthly iscostPerRequest × 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
Frequently asked questions
Sources & references
- Google — Gemini API: Thinking (per-model thinkingBudget range)
- Google — Gemini API pricing (output token prices)
- Anthropic — Extended thinking (budget_tokens rules)
- Anthropic — Effort (adaptive thinking depth control)
- Anthropic — Pricing (per-model output prices)
- OpenAI — Reasoning models (reasoning_effort, billed as output)
- OpenAI — API pricing
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
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.