Why can a 50-token reply from a reasoning model still bill you for thousands of tokens?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Explain how reasoning models can charge for tokens the caller never sees in the response. Cover what those hidden tokens are, why they cost real money, and how providers typically surface them in usage accounting.
Reasoning models generate a hidden chain-of-thought before the visible answer. Those tokens cost real GPU decode time and bill as output tokens, often dwarfing the visible reply by 10-100x.
Picture a student who scribbles three pages of working notes to figure out a math problem and then writes a one-line answer on the test sheet. The teacher only sees the one line, but if they were paying the student per page of work produced, they would owe for the notes too. A reasoning model is the same. Before it writes the final answer you see, it generates a long internal scratchpad of partial reasoning, hypothesis checks, and self-corrections. The provider's GPU did real work for every one of those scratchpad tokens, so the bill includes them. The visible reply might be 50 tokens, but the line item on your invoice can show 5,000 output tokens because the model wrote 4,950 tokens worth of hidden thinking to get there.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
4 min: hidden chain-of-thought + billed as output + usage-object fields + 10-100x amplification + observability + budget caps + difficulty routing.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Comparing reasoning models to non-reasoning models on the length of the visible answer. The reasoning model looks cheap by that metric and ruinously expensive on the actual bill, because thinking tokens dominate output count.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.