Zenaique

Why does a reasoning model like DeepSeek V4 quietly inflate the output token bill?

Short answer·Medium·4.0 · 0·~3 min·Asked atGoldman SachsH2o AiMu Sigma·Relevant atAnthropicCloudflareGroqOpenAI
Attempt it

A team switches a workload from a non-reasoning model to a DeepSeek-V4 class reasoning model. The user visible answers look the same length, but the monthly output token bill jumps roughly 10-50x. Explain the mechanism behind that, how the hidden tokens are billed, and what the right cost side mitigations are.

Free · 2 AI evals / day
TL;DR

Reasoning models emit a hidden chain-of-thought before the visible answer. Those thinking tokens count as output tokens on the bill, often 10-50x the visible reply, which is why output cost explodes silently.

Memory aid
Sign in to see the mnemonic that makes this stick.
Easy to grasp

Imagine hiring a contractor who writes a thick notebook of design notes before sending you the final blueprint. You only ever see the blueprint, but you pay for every page of notes too because the contractor charges per page of work, not per page delivered. A reasoning model is doing the same thing under the hood. Before the visible reply, it generates a long internal scratchpad of thoughts, checks them, revises, and only then emits the short final answer you read. The provider's API bills you for every token the model produced, including all the scratchpad tokens the UI hides. That is why your bill can jump dozens of times even though the answer on the screen looks the same length as before.

Concept explanation~2 min read

Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.

Reasoning models changed the cost shape of LLM inference in 2025-2026. The visible answer length, which used to be a reasonable proxy for cost, became close to meaningless because the bulk of generated tokens now live in a hidden thinking pass. A team that swaps a non-reasoning model for a reasoning model without changing its observability or its routing will routinely discover a 10-50x output-token bill regression on the next monthly invoice.

This question tests whether you understand the mechanism and the operational response, not just the slogan that reasoning costs more. The mechanism is mechanical: thinking tokens are real generated tokens, billed as output, surfaced in a specific API field that most existing dashboards do not watch. The response is routing-first and budget-first: treat the reasoning tier as a per-route allocation rather than a global model choice.

The deep dive walks the mechanism end to end, explains how the bill actually surfaces the cost, and lays out the mitigation playbook in the order it usually pays off in production. By the end you should be able to estimate cost for a reasoning-model workload, design the dashboard that catches regressions before invoicing, and decide which slices of traffic justify the tier.

What the reasoning pass actually is

A reasoning model is trained, usually with reinforcement learning on a reward that scores final-answer correctness, to emit an internal chain-of-thought before the user-visible reply. The internal thoughts are real generated tokens drawn from the same vocabulary, sampled by the same decode loop, and streamed through HBM at the same per-step cost as any other generation.

The model itself does not distinguish thinking tokens from answer tokens at the architecture level; the boundary is a learned token or a wrapping tag (DeepSeek uses thinking sections, OpenAI uses reasoning summaries, Anthropic uses extended-thinking blocks). The serving runtime usually strips or hides the thinking region from the UI by default, but it can and does include them in the API response for callers who request the trace.

The upshot is simple: thinking tokens are output tokens by every metric that matters operationally. They consume KV cache, they pay decode-step latency, they ship to the response, and they show up on the bill. The UI's choice to hide them is presentation, not accounting.

How the bill surfaces them
Why amplification is heavy-tailed
Observability that catches regressions
The mitigation playbook in order of return
Sign in to unlock the full deep dive.

Situations where this technique stops working.

Sign in to see when this approach fails.

2–4 min · Everything important, quickly.

Sign in to see the quick scan of the deep dive.

Real products, models, and research that use this idea.

  • DeepSeek V4 exposes thinking_tokens in its API usage block separately from completion_tokens, so cost attribution per route is mechanical.
  • Anthropic's extended-thinking endpoints on Claude Opus 4.7 expose reasoning_tokens in the usage block and let callers cap the reasoning budget per request.
Sign in to see more production examples.

What an interviewer would ask next. Try answering before peeking at the approach.

QHow would you design the dashboard that catches reasoning-token regressions?
A

Track reasoning_tokens per route, per intent class, and per customer. Alert on the ratio of reasoning to completion tokens crossing a threshold week over week. Sample the actual hidden traces for the worst-amplification routes so you can see what the model is over-thinking.

2 more follow-ups an interviewer would ask next. Sign in to reveal them.

Red flags & common mistakes

The phrases that signal junior thinking. Click to expand.

Most common mistake

Reading only completion_tokens on the bill and missing the separate reasoning-token counter. The hidden thinking pass usually dwarfs the visible reply for this model class.

Sign in to see all red flags and common mistakes.

60 second bullets to scan on the way to the call.

  • Why reasoning models emit hidden tokens before the visible answer

  • How those tokens are billed and which API field surfaces them

Sign in to unlock the revision sheet.

Primary sources. Browse if you want the original framing.

Similar questions

Same topic, related formats. Practice these next.

4 curated
Next question
Order the lifecycle of a single extended thinking API call
Order steps·Easy