Reasoning Models
Models trained for extended deliberation, when to use them, and cost/latency trade-offs.
In plain words
These models think for a while before answering, so they do better on hard problems but take longer and cost more.
Think of it like…
A quick colleague who answers instantly from experience, versus one who asks for ten minutes with a notepad. For "what's our refund policy?" you want the first; for "find the bug in this concurrency code" you'll wait for the second.
Where you’ve seen it
A coding assistant routes requests: autocomplete and short explanations go to a fast model (about 400 ms); "why does this migration deadlock?" goes to a reasoning model with medium effort (about 25 seconds, 6,000 hidden reasoning tokens billed as output). On the team's 120 hard debugging cases the reasoning route solves 68 percent versus 41 percent, which justifies the extra cost only for that slice of traffic.
Words you’ll hear
- Reasoning tokens
- Hidden or summarised thinking tokens generated before the visible answer; billed as output.
- Test-time compute
- Improving answers by spending more computation at inference, not training.
- Reasoning effort / thinking budget
- API setting that caps or guides how much the model deliberates.
- Router
- A component that sends easy requests to cheap models and hard ones to reasoning models.
Visual diagram
Theory & deep dive
How they differ from standard models
A standard chat model answers in one pass of generation, optionally with a chain-of-thought prompt. A reasoning model has been trained so that a long internal chain, which explores approaches, checks work and backtracks, becomes part of how it answers. Reinforcement learning rewards chains that reach verifiably correct results (right answer, passing tests), so the model learns useful deliberation strategies rather than imitating human-written steps.
The practical result is a step change on tasks with multi-step structure and verifiable answers, such as competition maths, hard coding problems, scientific reasoning and agentic planning. Gains on simple extraction, translation or casual chat are small, so paying for deliberation there is waste. Providers typically hide the raw reasoning and expose a summary, and bill the hidden tokens as output.
A reasoning request with 800 input tokens, 6,000 reasoning tokens and a 300-token answer is billed as 800 input plus 6,300 output tokens. At the same per-token output price as a fast model, that's about 20 times the output cost of a 300-token reply.
Using them well
Prompt reasoning models differently: state the goal, constraints and desired output format clearly and let the model plan, rather than dictating steps or adding "think step by step", which is unnecessary and can interfere. Provide the relevant context, since deliberation can't fix missing facts, and keep few-shot examples minimal.
Control cost and latency with the effort or budget parameter, set a maximum number of output tokens high enough to cover reasoning plus the answer (a low cap can cut the answer off), and stream where supported. Route by difficulty, using rules, a cheap classifier or a fast model that escalates when unsure, and always evaluate on your own tasks: benchmark gains don't always transfer, and reasoning models can still hallucinate or over-think trivial prompts.
Send everything to the fast model first. If a verifier fails (tests don't pass, the answer disagrees with a second sample, or the model reports low confidence), retry once on the reasoning model with medium effort. Most traffic stays cheap, and hard cases get the stronger path.
How it works, step by step
Step 1 of 41. Classify the task
Decide if the task is multi-step and verifiable (reasoning) or simple (fast model).
- Most traffic
- stays fast
When to use it & trade-offs
What it is
Reasoning models are LLMs trained, usually with reinforcement learning on problems that have checkable answers, to spend extra hidden reasoning tokens deliberating before they answer. This is test-time compute: instead of only making the model bigger, you let it think longer on hard questions. They excel at maths, coding, multi-step planning and tricky logic, and they cost more and respond slower than standard models, with a controllable "effort" or thinking budget on many APIs.
Why it matters: Choosing between a fast standard model and a reasoning model is now a routine product decision. The wrong choice either wastes money and adds seconds of latency on easy requests, or ships wrong answers on hard ones. You need to know what the model is good at, how reasoning tokens are billed, and how to route requests.
When to reach for it
- Hard debugging, maths and algorithmic problems
- Agent planning and multi-step tool strategies
- Escalating cases a fast model fails verification on
When to avoid or be careful
- Reasoning models for simple classification or chat
- Setting a low max-output cap that truncates reasoning plus answer
- Assuming benchmark gains will transfer to your task untested
Fast model vs reasoning model
Strengths: Low latency and cost.
Watch out: Weaker on multi-step logic and hard code.
Strengths: Much higher accuracy on hard, verifiable tasks.
Watch out: Seconds to minutes of latency; hidden tokens increase cost.
Strengths: Best cost-quality balance.
Watch out: Needs a classifier or verifier and monitoring.
Interview signals & numbers to know
When this topic comes up
- “When do you use a reasoning model?”
- “Why did my bill jump?”
- “Responses take 30 seconds”
- Test-time compute
- Model routing
Benchmarks & rules of thumb
- seconds to minutes
- typical reasoning latency
- thousands
- of hidden reasoning tokens per hard request
- output price
- rate at which reasoning tokens are billed
Common mistakes & follow-ups
Common interview mistakes
- Using the reasoning model as the default for all traffic and multiplying cost for no accuracy gain.
- Setting max output tokens to 500, so the model spends them on reasoning and returns an empty answer.
- Adding long step-by-step instructions that fight the model's own deliberation.
Likely interviewer follow-ups
- How would you decide which requests go to a reasoning model?
- How are reasoning tokens billed, and why does it matter?
- How do you prompt a reasoning model differently from a standard one?
Knowledge check
Put it into practice
Practice related interview Q&A
Apply Reasoning Models with generative AI interview Q&A and hands-on practice.