LLM Thinking Tokens Explained: Billed in Full, Loosely Controlled

Contents
  1. How we tested
  2. What are thinking tokens, and can you see them?
  3. Do thinking tokens grow linearly with the effort level?
  4. What happens when you turn thinking off?
  5. What thinking controls does each model offer?
  6. What is overthinking, and why is it a problem?
  7. Where do current models overthink?
  8. How variable is thinking on the same easy question?
  9. Do current models overthink trivial prompts?
  10. Do “think less” prompts reduce thinking?
  11. When does overthinking hit the max_tokens cap?
  12. What should you do about overthinking?
  13. FAQ

Thinking tokens are billed as output tokens at the same price whatever effort level you set, and the settings give only coarse control over how many the model writes. Thinking tokens are the text a model writes to itself before its answer. reasoning_effort is the request parameter that asks a model to think less or more, and overthinking means spending far more thinking than a task needs. We measured 12 current models, including Claude Opus 5.5, DeepSeek V4 Pro, Kimi K3.1 Pro, and GLM 5.3. Effort levels moved thinking in a few steps, max raised Claude Opus 5.5’s cost per correct hard answer 6.4x with no accuracy gain, and the longest thinkers at default spent close to 29,000 tokens on a single problem.

TL;DR

  • Thinking tokens bill at the output price, unchanged across effort levels on six models.
  • From low to high, median thinking stayed roughly flat on 8 of 10 models; jumps came at xhigh or max.
  • Max effort raised Claude Opus 5.5’s cost per correct hard answer 6.4x, with 24/24 correct either way.
  • At default, Qwen 3.5 Plus thought for a median 15,862 tokens on hard math; Qwen4-Max used 2,034.
  • With thinking off, Qwen4-Max and DeepSeek V4.1 Flash fell from 18/18 to 10/18 on medium problems.

How we tested

We gave 12 models math problems with exact answers at three difficulty levels: one-step word problems (easy), multi-step problems (medium), and competition problems (hard), three of each. Every model answered each hard problem eight times at default effort, meaning the parameter was not sent, and eight times at max, plus the easiest question eight times at default. Ten models also went through all eight effort settings on the medium problems, six runs each. Six of the models got a wider set of tests, including trivial prompts and “think less” instructions, and a separate quick test sent eight trivial prompts to 51 models. Every request carried a unique ID line so no response could come from a cache. Costs use list prices, the per-token prices each model’s page publishes.

What are thinking tokens, and can you see them?

Thinking tokens are text the model generates before its answer, one token at a time, exactly like the answer itself. The model decides how many to write, and they count toward completion_tokens and bill at the output price. On every call we checked, the bill equaled input tokens times the input price plus output tokens times the output price. The per-token prices were the same at all eight reasoning_effort settings (not set, none, minimal, low, medium, high, xhigh, max) on GPT-6.1 Terra, Claude Sonnet 5.5, Gemini 4 Hydrogen, Qwen4-Max, DeepSeek V4.1 Flash, and Qwen 3.5 Plus. A higher effort level costs more only because the model writes more.

You always get the count; whether you get the text depends on the vendor:

VendorWhat the API returnsBilled on
OpenAIThe count only; the reasoning guide says reasoning tokens “are not visible via the API” (an encrypted copy can be passed back so the model continues its reasoning in a multi-turn conversation)Full reasoning
AnthropicA summary or nothing, set by the display option (extended thinking)“The full thinking process, not the thinking content visible in the response”
GoogleOptional thought summaries (Vertex AI thinking)Full thinking
Qwen, DeepSeekThinking text in a reasoning_content field (Qwen, DeepSeek)Full thinking

Our 51-model test matched that split through an OpenAI-compatible endpoint: all 29 OpenAI, Google, and Anthropic models that thought returned only the count, and all 20 from DeepSeek, Qwen, Zhipu, Moonshot, Tencent, and ByteDance returned text (Qwen4-Max returns a summary).

Thinking tokens matter in four ways. On our hard problems they were 95% or more of the output tokens on every model. They add latency, since every token takes time to generate. They count against max_tokens, so a model can spend the whole cap thinking and return no answer. And on models that don’t return their thinking you cannot check what the tokens were spent on, so completion_tokens_details.reasoning_tokens is the only instrument you have. Claude Sonnet 5.5 at default effort usually reports 0 thinking tokens on medium problems but writes about 100 tokens of working into the answer itself, even when told to reply with just the number. Measure completion_tokens for cost, and reasoning_tokens to see how much of it is hidden.

from openai import OpenAI

client = OpenAI(base_url="https://synthorai.io/v1", api_key="YOUR_KEY")

resp = client.chat.completions.create(
    model="gemini-4-hydrogen",
    reasoning_effort="max",  # omit to use the model's default
    max_tokens=16384,        # covers thinking plus answer
    messages=[{"role": "user", "content": "A shirt costs $18 and is 25% off. "
               "What is the sale price in dollars? Reply with just the number."}],
)

u = resp.usage
details = u.completion_tokens_details
thinking = (details.reasoning_tokens or 0) if details else 0
print("answer:", resp.choices[0].message.content)
print("billed output tokens:", u.completion_tokens, "of which thinking:", thinking)
if resp.choices[0].finish_reason == "length":
    print("cut off at max_tokens: retry with more headroom or lower effort")

Do thinking tokens grow linearly with the effort level?

Thinking does not grow linearly with the effort level. On three medium problems, the levels behaved like a few coarse steps: on most models low, medium, and high landed close to the default, and the jumps came at xhigh or max. We sent the same OpenAI-style level names to every model; each vendor maps them onto its own smaller set, which is why neighboring bars often match.

Ten small bar charts of median thinking tokens per effort setting on three medium math problems, 18 calls per bar. GPT-6.1 Terra: default 34, low 31, medium 34, high 35, xhigh 42, max 74. GPT-6.2 Sol: 22, 11, 23, 23, 36, 75. Claude Opus 5.5: 68, 70, 74, 72, 80, 134. Claude Sonnet 5.5, all output tokens: 165, 186, 160, 168, 101, 220. Gemini 4 Hydrogen: 348, 372, 497, 344, 1,527, 1,350. Gemini 4 Neon: 598, 414, 695, 679, 1,276, 1,272. Qwen4-Max: 152, 133, 132, 132, 218, 204. Kimi K3.1 Pro: 164, 65, 117, 116, 170, 158. DeepSeek V4.1 Flash: 220, 198, 220, 198, 214, 279. DeepSeek V4 Pro: 346, 315, 316, 344, 285, 640

We compared each level against the default for all ten models, 50 comparisons, with the Holm correction, which keeps chance results from looking significant when many tests run at once. Three changes hold up: GPT-6.2 Sol at max (77 against 23 tokens), and Gemini 4 Hydrogen and Gemini 4 Neon at both xhigh and max, about two to four times their defaults. The rises at max on GPT-6.1 Terra, Claude Opus 5.5, and DeepSeek V4 Pro pass only an uncorrected test on these problems, so treat them as a direction. From low to high, only GPT-6.2 Sol and Kimi K3.1 Pro moved, and only in an uncorrected test; Kimi K3.1 Pro’s default behaved like its top level. Claude Sonnet 5.5 is shown with all output tokens because below xhigh it reports no thinking and writes its working into the answer.

Vendors document coarse levels too. DeepSeek maps seven level names onto three: minimal and low run as low, medium through xhigh as high, max as max (DeepSeek docs). Gemini 4 models support only LOW through XHIGH (Vertex AI thinking), and Anthropic calls effort “a behavioral signal, not a strict token budget” (effort docs). The effect of a level also grows with the problem: on hard problems, max multiplied Claude Opus 5.5’s median thinking by 14.6, against 2.0 on the medium ones. GLM 5.3 and Qwen 3.5 Plus appear in this article at default effort only.

What happens when you turn thinking off?

Turning thinking off lowered accuracy. Pooled across the four models where none cut thinking to zero, the medium problems went from 72 of 72 correct at default to 60 of 89 with thinking off (Fisher exact test, which checks whether two success rates differ; p below 0.0001):

ModelDefaultThinking off
GPT-6.1 Terra18/1813/17 at none, 11/18 at minimal
Qwen4-Max18/1810/18 at none
DeepSeek V4.1 Flash18/1810/18 at none
DeepSeek V4 Pro18/1816/18 at none, with 218 tokens of visible working

DeepSeek V4 Pro kept most of its accuracy with thinking off because it wrote its steps into the answer instead (218 tokens), so the tokens moved rather than disappeared. GPT-6.2 Sol at none still thought for a median 6 tokens and stayed at 18/18. Thinking off is safe on prompts that don’t need it: our thinking-controls test found JSON extraction at 3/3 with thinking off on all 12 models that support off.

What thinking controls does each model offer?

Each vendor exposes a different mix, and only max_tokens is a hard limit everywhere:

VendorEffort controlToken budgetOff switchHard cap
OpenAIreasoning_effort, none to max, model-dependent; GPT-5.6 defaults to mediumNonenone on models that accept itmax_output_tokens (or max_completion_tokens), thinking included; OpenAI recommends reserving at least 25,000 tokens
Anthropicoutput_config.effort, soft guidance; default high (medium on Claude Opus 5.5 and Claude Haiku 5.5)budget_tokens, minimum 1,024, “a target rather than a strict cap”; rejected by Claude 4.7 and laterThinking can be disabled on most models (our earlier test)max_tokens, thinking included
Googlethinking_level on Gemini 3 and later (XHIGH only on Gemini 4 Neon and Hydrogen; no MINIMAL on Gemini 4)thinking_budget on Gemini 2.5, “a soft limit”; rejected on Gemini 4Budget 0 on Gemini 2.5 Flash and Flash-Lite onlymax_output_tokens, thinking included
Qwenreasoning_effort documented only for one Omni modelthinking_budget: when reached, the model stops thinking and starts the answerenable_thinking: falsemax_tokens, thinking included
DeepSeekreasoning_effort: low, high, max; default highNonethinking: {"type": "disabled"}max_tokens, thinking included

Sources: OpenAI, Anthropic effort and extended thinking, Google, Qwen, DeepSeek.

Our calls matched the docs. A 64-token thinking_budget stopped Qwen4-Max and Qwen 3.5 Plus at exactly 64 thinking tokens, but three of four answers were then wrong, so in this small check a tight budget behaved like turning thinking off. Disabling thinking took DeepSeek V4.1 Flash and both Qwen models to 0. A 64-token max_tokens cut off Claude Sonnet 5.5, Gemini 4 Hydrogen, Qwen4-Max, and DeepSeek V4.1 Flash with finish_reason: "length" before the final answer.

What is overthinking, and why is it a problem?

Overthinking is a reasoning model spending far more thinking than a task needs, with no gain in accuracy. Researchers at Tencent AI Lab and Shanghai Jiao Tong University described it in December 2024 in Do NOT Think That Much for 2+3=?. Asked “what is the answer of 2 plus 3?”, an open reasoning model of that generation wrote 13 separate solutions in 901 tokens, although its first solution, 39 tokens long, was already correct. Across their benchmarks the first solution was correct in more than 92% of cases, and on math word problems roughly half of the model’s tokens came after it had already reached the right answer. Training the model to stop sooner cut its tokens on MATH500, a set of 500 competition math problems, by 44.7% (2,407.9 to 1,330.7) while accuracy moved from 93.0% to 92.8%.

Overthinking sits next to two other failure patterns that researchers separate:

PatternWhat happensEvidence
OverthinkingThe model keeps verifying an answer it already has, mostly on easy problemsFirst solution correct in over 92% of cases (Chen et al.)
UnderthinkingThe model switches between ideas without finishing any, mostly on hard problemsIncorrect responses used 225% more tokens than correct ones, and over 70% of them contained a correct idea at some point (Wang et al.)
LoopingThe model repeats the same text until it hits the token capOpen reasoning models loop under greedy or low-temperature decoding; higher temperature reduces looping but outputs stay long (Pipis et al.)

Longer thinking can also make answers worse. In Inverse Scaling in Test-Time Compute, written by researchers at Anthropic and its Fellows Program, an Anthropic flagship model’s accuracy on simple counting questions padded with misleading math fell from nearly 100% to around 85-90% as its reasoning grew longer, and on questions with five distractors, an open-weight reasoning model’s accuracy fell from 70% on its shortest answers to 30% on its longest. Even frontier models of 2025 thought at length on simple questions: in OptimalThinkingBench from Meta FAIR and Carnegie Mellon, frontier and open reasoning models used 235 to 3,303 thinking tokens per simple query at 95.7% to 99.3% accuracy. No model in that study did well on both its simple and its hard set. The opposite also holds: the s1 paper raised a model’s score on AIME 2024, a US high-school math competition, from 50% to 57% by forcing it to keep thinking, so the goal is thinking matched to the problem, not less thinking everywhere.

In production, overthinking causes four problems: cost, latency, empty answers when thinking fills the output cap, and unpredictability, since the same prompt can vary several-fold between runs. Developers have reported these on vendor forums. Each is a single reporter’s account unless noted:

DateModelWhat happened
July 2025Gemini 2.5 FlashWith a 1,512-token thinking budget, about 20% of calls thought for 3,000 to 3,500 tokens; a responder could not reproduce it (thread)
December 2025Gemini 2.5 Pro65,535 thinking tokens, no text, stopped at the output cap; the reply suggested a 1,024-token budget (thread)
July 2026GPT-5.621,064 reasoning tokens for a four-character chess move (thread)

Anthropic’s effort docs say that on some structured-output tasks higher effort “can lead to overthinking”. Our own Hy4 write-up shows the cap failure: Tencent Hy4 spent all 8,192 output tokens on thinking and returned HTTP 200 with no answer.

Where do current models overthink?

On current models, overthinking shows up in two places: settings that multiply thinking without adding correct answers, and models that think for over 10,000 tokens by default. On three competition problems (counting pairs of numbers that add up to 1,000 with no zero digit, finding the smallest n that satisfies a remainder condition, and the remainder of a sum of powers), every model got at most one of 24 calls wrong at either setting. Cost per correct answer is total spend divided by the number of correct answers:

ModelMedian thinking, default → maxLongest call at defaultCorrect, default → maxCost per correct answer, default → maxMedian latency, default
GPT-6.2 Sol200 → 41231324/24 → 24/24$0.0020 → $0.00466 s
GPT-6.1 Terra392 → 7661,01623/24 → 24/24$0.0024 → $0.00476 s
Claude Opus 5.5133 → 1,9391,02824/24 → 24/24$0.0079 → $0.05035 s
Claude Sonnet 5.5828 → 2,6921,43023/24 → 24/24$0.0089 → $0.02838 s
Gemini 4 Hydrogen3,080 → 9,2784,89524/24 → 21/21$0.0223 → $0.067420 s
Gemini 4 Neon3,446 → 9,1234,51624/24 → 24/24$0.0515 → $0.136230 s
Qwen4-Max2,034 → 2,0643,75024/24 → 24/24$0.0089 → $0.010419 s
Kimi K3.1 Pro1,904 → 2,0306,51924/24 → 24/24$0.0265 → $0.029750 s
DeepSeek V4.1 Flash3,564 → 4,5205,97523/23 → 24/24$0.0044 → $0.005621 s
DeepSeek V4 Pro7,924 → 12,93512,72924/24 → 24/24$0.0305 → $0.061198 s
GLM 5.310,276 at default28,93424/24$0.0515135 s
Qwen 3.5 Plus15,862 at default28,40223/24$0.0367255 s

Max effort raised thinking significantly on seven models after correcting for the eleven models compared, and none gained more than one correct answer: Claude Opus 5.5 went from 133 to 1,939 median thinking tokens and from $0.0079 to $0.0503 per correct answer, 6.4x. Gemini 4 Hydrogen has 21 calls at max because three were not run within the test budget. Qwen4-Max, Kimi K3.1 Pro (whose default is already max), and DeepSeek V4.1 Flash did not change significantly.

The model itself mattered more than any setting. At default, Qwen 3.5 Plus thought about 119 times as long as Claude Opus 5.5 for one fewer correct answer, and the three longest thinkers (Qwen 3.5 Plus, GLM 5.3, and DeepSeek V4 Pro) took a median of 98 seconds to over four minutes per problem. Token counts and cost still order the models differently: DeepSeek V4.1 Flash thinks nine times as long as GPT-6.1 Terra but costs under twice as much per correct answer, because its output price is $1.20 per million tokens against $5. These problems are solvable at default effort, so harder tasks may benefit from more thinking; test your own before turning max on globally.

How variable is thinking on the same easy question?

Thinking varied widely on several models even on one easy question. We asked “A shirt costs $18 and is 25% off. What is the sale price?” eight times per model at default effort, and every answer was correct:

ModelThinking tokens, lowest to highest
GPT-6.2 Sol0 to 0
Claude Sonnet 5.50 to 0
GPT-6.1 Terra0 to 19
Claude Opus 5.50 to 123
DeepSeek V4.1 Flash25 to 47
Kimi K3.1 Pro30 to 74
Qwen4-Max32 to 43
DeepSeek V4 Pro32 to 122
GLM 5.368 to 227
Gemini 4 Hydrogen111 to 864
Gemini 4 Neon159 to 867
Qwen 3.5 Plus811 to 4,598

Gemini 4 Hydrogen’s longest run used 7.8x the thinking of its shortest on an identical prompt, and Qwen 3.5 Plus’s slowest runs took over 70 seconds. In one other run, Qwen 3.5 Plus spent 6,098 thinking tokens translating “thank you” into Spanish. These rare long calls break budgets and timeouts sized from the median.

Do current models overthink trivial prompts?

Most current models spend little thinking on trivial prompts, so the 2+3 problem from the 2024 paper has mostly gone away. On eight prompts with exact answers (2+3, the capital of France, whether 17 is prime, a sentiment label, an email extraction, a unit conversion, a one-word translation, and “reply OK”), every completed call across 51 models was correct, and median thinking at default effort fell into three groups:

PatternModelsMedian thinking tokens
Thinks on every promptQwen 3.5 Plus, Qwen 3.5 Flash, Qwen 3.7 Max, Qwen 3.7 Plus, Gemini 2.5 Pro214 to 246
Thinks a littlemost Gemini 3 and 4 models, GLM, Hunyuan, most Kimi models, Qwen 3.8 Flash40 to 145
Thinks briefly or not at allall Claude models, GPT-5.6 and GPT-6.x, DeepSeek, Qwen4-Max, Qwen 3.8 Max, Gemini 2.5 Flash, ByteDance Seed0 to 35

For Qwen 3.5 Plus, 250 tokens at its $2.40 output price add about $0.60 per 1,000 trivial calls.

Do “think less” prompts reduce thinking?

It depends on the model: the same instruction halved thinking on one model and nearly tripled it on another. We added three instructions to four medium problems for six models and compared each against the same problems without an instruction, eight runs per problem, with the Holm correction across all 24 comparisons. This is a different mix of medium problems from the level test, so the baselines differ:

  • “Answer directly. Do not overthink.” cut median thinking on Gemini 4 Hydrogen from 232 to 157 tokens, on Qwen 3.5 Plus from 1,310 to 794, and on GPT-6.1 Terra from 29 to 25.
  • “Use no more than 50 tokens of reasoning.” halved Gemini 4 Hydrogen (232 to 101) and nearly tripled Qwen 3.5 Plus (1,310 to 3,575).
  • “Think step by step, but keep only a minimal draft for each step, five words at most.”, modeled on Chain of Draft, raised Gemini 4 Hydrogen from 232 to 920 and Qwen 3.5 Plus from 1,310 to 3,843.

None of the instructions changed Qwen4-Max or DeepSeek V4.1 Flash significantly, Claude Sonnet 5.5 reported no thinking on these problems either way, and accuracy did not change with any instruction. A prompt can’t enforce a budget the way a parameter can, so test a brevity instruction on each model before shipping it.

When does overthinking hit the max_tokens cap?

A tight max_tokens cap cuts off the long calls. The limit covers all output, thinking included, so a call that thinks past it ends with finish_reason: "length" and often no answer, and you pay for every token. On the hard problems at default effort, these caps would have cut off part of our calls:

ModelOver 4,096Over 16,384
Qwen 3.5 Plus24/2411/24
GLM 5.324/245/24
DeepSeek V4 Pro20/240/24
DeepSeek V4.1 Flash9/230/23
Gemini 4 Neon5/240/24
Kimi K3.1 Pro4/240/24
Gemini 4 Hydrogen1/240/24
GPT-6.1 Terra, GPT-6.2 Sol, Claude Opus 5.5, Claude Sonnet 5.5, Qwen4-Max0/240/24

Almost half of Qwen 3.5 Plus’s hard calls would not fit in 16,384 tokens. On easy prompts the risk is smaller but real: a 1,024-token cap would have truncated 8 of 63 easy prompts on Qwen 3.5 Plus. The Gemini 2.5 Pro case above is this failure, and OpenAI’s guide recommends reserving at least 25,000 tokens for reasoning and output.

What should you do about overthinking?

Set the model, effort, and caps by what your product can least afford:

  • User-facing chat, where latency matters most. The risk is the rare slow call, so watch p95 latency and p95 completion_tokens (the values 95% of calls stay under). GPT-6.2 Sol and GPT-6.1 Terra (6 s median on hard problems) and Claude Opus 5.5 and Claude Sonnet 5.5 at default suit this tier. Qwen 3.5 Plus and GLM 5.3 (over two minutes median on hard problems) and xhigh or max on either Gemini 4 model do not. Set timeouts from the slowest calls you have logged.
  • High-volume batch work such as extraction and classification. The risk is cost per 1,000 requests. DeepSeek V4.1 Flash ($0.0044 per correct hard answer) and the two GPT-6 models are the cheapest here. Turning thinking off saves the rest, but only on tasks you have verified without it: on medium math it cost a quarter to nearly half of the answers on three of four models, and the Gemini 4 models cannot turn it off. Log reasoning_tokens per request and alert on the p95.
  • Multi-step reasoning tasks. The risk is a wrong or missing answer, so measure accuracy at default effort first and raise effort only where it fixes failures; levels between low and high rarely change anything, and max cost Claude Opus 5.5 6.4x per correct answer here without fixing anything. Qwen4-Max and Claude Opus 5.5 at default reached 24/24 for under a cent per correct answer. Leave headroom in max_tokens: 16,384 for DeepSeek V4 Pro at default and 32,768 for GLM 5.3 and Qwen 3.5 Plus, and check finish_reason on every call so a length stop triggers a retry instead of a silent empty result. In an agent loop, which calls the model once per step, this cost repeats on every step.

FAQ

Are thinking tokens more expensive than answer tokens? No, thinking tokens are billed at the model’s normal output price. On GPT-6.1 Terra, Claude Sonnet 5.5, Gemini 4 Hydrogen, Qwen4-Max, DeepSeek V4.1 Flash, and Qwen 3.5 Plus, the per-token price was the same at every effort level; a higher level costs more only because the model writes more tokens.

Can I read the thinking I am billed for? It depends on the vendor: OpenAI, Google, and Anthropic models return only a count (or a summary), while DeepSeek and Qwen models return the thinking text in reasoning_content. On GPT-6.2 Sol, the count in completion_tokens_details.reasoning_tokens is the only record of what you paid for, and Claude Opus 5.5 returns at most a summary.

Does reasoning_effort: "max" give better answers? Not on the problems we tested: max effort raised thinking on seven of eleven models and gained at most one correct answer out of 24. Claude Opus 5.5 went from 133 to 1,939 median thinking tokens and from $0.0079 to $0.0503 per correct answer with 24/24 correct at both settings, so measure accuracy at default before raising it.

Why did I get an empty answer with finish_reason: "length"? The model spent the whole max_tokens budget on thinking, because that limit covers thinking and the answer together. On our hard problems, 11 of 24 Qwen 3.5 Plus calls and 5 of 24 GLM 5.3 calls needed more than 16,384 tokens; raise the cap or lower the effort, and retry when the finish reason is length.

Is it safe to turn thinking off to save money? Only on tasks you have verified without thinking: on medium math, Qwen4-Max and DeepSeek V4.1 Flash fell from 18/18 to 10/18 with thinking off. Simple extraction is a safer fit; our thinking-controls test found JSON extraction at 3/3 with thinking off on every model that supports it.

For effort levels on a single model, see our tests of GPT-6 Astra (effort levels) and of Qwen4-Max against Qwen 3.8 Max (Qwen4-Max tested). Our token-usage breakdown covers every other field on the bill.

← Back to blog