AI State of the Art
SOTA/Reasoning Models/34 min
Section 173

Controlling How Much a Model Thinks

Listen as a podcast →

The meter is running

Picture a consultant billing by the minute. You ask: "What's 2 + 3?" Out comes the notepad. He writes down the question, stacks the digits, checks the carry, wonders whether you meant something subtler, redoes the sum a different way, compares the two results, and announces: "Five." He's right. He billed you forty minutes.

That is exactly what an unconstrained reasoning model does. Earlier lessons covered why longer thinking improves answers (see Test-Time Compute Scaling) and how a model is trained to think before speaking (see OpenAI o1). This lesson takes the next, more mundane question: once you have a model that can think, who decides how much thinking happens? Who holds the meter?

The basic vocabulary

A reasoning token (also called a thinking token) is a token the model generates for itself, before writing the answer you see. It is produced exactly like an answer token, so it costs the same compute, and it is billed. The thinking budget is how many of those tokens are allowed or encouraged before the model must move on to the answer.

The problem: too much, and too little

Thinking length does not regulate itself, and it fails in both directions.

Overthinking: spending for nothing

A model trained to reason at length does so even when there is nothing to reason about. On a trivial question it emits hundreds of tokens of double-checking, self-doubt and restatement that add nothing to the answer. That is billed compute with no return, and pure latency for the user.

Overthinking, measured

The first systematic study of this behaviour came out in late 2024 from a team at Tencent AI Lab and Shanghai Jiao Tong University, under a deliberately tongue-in-cheek title. The authors count how many distinct candidate "solutions" a o1-style model produces inside its thinking before answering, and find that on elementary questions the overwhelming majority of them arrive after the correct answer has already been reached, and therefore serve no purpose.

Do NOT Think That Much for 2+3=? On the Overthinking of o1-Like LLMs

Underthinking: stopping too early

The mirror-image failure is less spectacular but just as real. On a hard problem a model can conclude prematurely: it finds a plausible path, stops searching, and gets it wrong. More thinking would have got it right.

Why the model can't judge when to stop

Because nothing taught it to. A reasoning model is trained to produce chains of thought that end in correct answers. The length of those chains is a by-product of training, not a knob it was asked to operate. The model has no notion of your invoice or your patience.

Hence the subject of this lesson: since the model won't manage its budget, how do you manage it for it?

Lever 1: budget forcing

The most direct lever is also the crudest, and it requires no retraining at all. It exploits a detail of how these models generate text.

A reasoning model separates its thinking from its answer with an end-of-thinking marker, a special token meaning "done deliberating", after which it switches into answer mode. That marker is just another token in the generation stream. And whoever runs the model controls the stream: at every step, they can intervene.

Two symmetric moves follow:

To cut it short. Still thinking, and you've hit your ceiling? You force the end-of-thinking marker into the stream, optionally followed by a lead-in like "Final answer:". The model, which only ever sees its context, behaves as though it had decided to wrap up on its own, and writes an answer with what it has. This is the exam invigilator saying "time's up, pens down."

To stretch it out. About to conclude, and you think it hasn't searched enough? You suppress the end-of-thinking marker it just produced and append a nudge word instead, canonically "Wait". The model, seeing its own reasoning followed by "Wait", does what any piece of reasoning text does after a "wait": it reopens the question, revisits a step, and often corrects it. The move can be repeated several times.

s1: budget forcing

The technique is called budget forcing and comes from s1: Simple test-time scaling (Muennighoff et al., 2025). The paper's abstract describes it in a single sentence: controlling test-time compute "by forcefully terminating the model's thinking process or lengthening it by appending 'Wait' multiple times to the model's generation when it tries to end." The authors note this often leads the model to double-check its answer, frequently fixing incorrect reasoning steps.

The rest of the work is equally frugal: supervised fine-tuning of an open 32-billion-parameter model on just 1,000 questions paired with reasoning traces, selected on three criteria (difficulty, diversity, quality). Equipped with budget forcing, the resulting model beats o1-preview on competition math questions.

s1: Simple test-time scaling

The conceptual point that matters: budget forcing never touches the model. It is a manipulation of the generation stream, applied from outside. The same model, with the same weights, can be pushed to think ten times more or ten times less.

Where it breaks down

Stretching indefinitely does not work: past a certain number of "Wait"s the model loops, repeats itself, and sometimes talks itself out of a correct answer into a wrong one. And cutting too early yields a rushed answer built on unfinished reasoning. Budget forcing moves the dial; it does not repeal the diminishing returns described in the test-time compute lesson.

Lever 2: budgets exposed in APIs

Budget forcing is a user-side hack. Model providers eventually built the control into their interfaces directly. Two forms coexist today.

A token ceiling

The caller specifies a maximum number of reasoning tokens. The model thinks freely below that ceiling; if it hits it, it is forced to conclude. This is budget forcing, made official and tidy.

It is a ceiling, not a target: on an easy question, a model with a 20,000-token ceiling may spend 300. You pay for what is consumed, not for what is permitted. The ceiling protects against the worst case; it does not steer the average case.

Effort levels

The other form is more abstract: effort levels, typically low / medium / high. The caller expresses an intent ("be quick" / "take your time") and the provider translates that into internal behaviour, without guaranteeing any particular token count. It is more comfortable to use and more durable: the meaning of "high effort" survives a model upgrade, whereas a token count calibrated on one model generation is wrong on the next.

The shift under way: from counter to intent

The two forms are not on equal footing, and the balance is moving. The token ceiling, which came first historically, is losing ground to effort levels. The reason is ergonomic rather than technical: a token ceiling demands from the caller a piece of information the caller does not have.

Ask the question honestly: how many reasoning tokens is "analyse this indemnity clause" worth? Nobody knows before seeing the answer, and the number changes with every new model version. So you set a value by guesswork. Set it too low and it decapitates the reasoning precisely on the hard cases, the ones you reached for a reasoning model to handle. Set it too high and it protects nothing, reverting to a plain billing guardrail. Either way the number does not express what you wanted; it expresses an assumption about how the model works.

An effort level expresses the intent directly ("be quick" or "take the time it needs") and leaves the translation into behaviour to whoever knows the model. Three practical consequences:

  • The setting survives upgrades. "High effort" still means something after a model change; a token count calibrated on the previous generation is wrong on the next one, with nothing to warn you.
  • The setting adapts to the question. One effort level can yield a few hundred tokens on an easy question and several thousand on a hard one. A single ceiling draws no such distinction: it is identical for both.
  • The setting can be reasoned about at product level. "Low effort for autocomplete, high effort for contract review" is a sentence a team can actually hold, without ever mentioning tokens.

The natural extension of this shift is the adaptive mode, where the caller sets nothing at all: the model estimates the difficulty of the question itself and allocates thinking accordingly. That is the adaptive allocation of lever 4, moved up to the provider's side. A caveat: this does not solve the difficulty-estimation problem described below, it merely relocates it to someone with more information to work with.

The token ceiling does not disappear for all that. When a commitment is about a maximum cost per call, only a number is enforceable: an effort level cannot go into a contract. So the two settings coexist, with an increasingly clean division of labour, the effort level steers the average case, the token ceiling bounds the worst case.

Learn the mechanism, not the parameter name

The exact names of these parameters differ between providers and across API versions, this is one of the fastest-moving surfaces in the field. What is stable is the three mechanisms: a token ceiling, a qualitative effort level, and an on/off switch. Remember those; look the names up in whatever documentation is current.

Both mechanisms on a real API

To see the thing working rather than described, the lesson The 2026 Model Consolidation walks through Mistral's case, where both settings sit side by side: a prompt_mode parameter which, set to reasoning, flips the model into thinking mode, that is lever 3's switch, and a reasoning_effort parameter accepting six values, from none to xhigh, that is the effort dial described above.

The point most often misunderstood, second-hand documentation included: the client sets the effort on every request; the model does not decide for itself to think more or less according to how hard the question looks. Effort is a request parameter, no different in kind from temperature. Three direct consequences: the invoice depends on a value a three-character patch can change, two calls to the same model at two effort levels do not return the same answer, and replaying a piece of work means having logged not just the model name but the request parameters.

Lever 3: hybrid modes

One step further: a hybrid model is a single model capable of both behaviours (answering immediately like a conventional LLM, or going through a thinking phase first) with a switch to choose between them.

The motivation is industrial rather than scientific. Before hybrid models, anyone building a product had to maintain two: a fast, cheap one for easy tasks and a reasoning model for hard ones, with routing logic in between, meaning two behaviours to evaluate, two answer styles, two test suites. A hybrid model collapses that into one model plus a setting.

What the switch actually changes: in the "no thinking" position the model produces no thinking phase at all, and the answer arrives with ordinary LLM latency. This is not a budget set to zero by a ceiling, it is a different operating mode, learned during training.

Lever 4: adaptive allocation

All three levers above assume someone decides the budget before the call. Adaptive allocation tries to let the system decide: heavy compute on hard questions, light compute on easy ones.

And there lies the whole difficulty: you have to estimate how hard a question is before you have its answer. Three families of approach.

Estimate from agreement between quick answers

Draw a few short, cheap answers and see whether they agree. Three identical answers signal a question the model is comfortable with: return it. Three divergent answers signal uncertainty: open the budget. The heuristic is simple, measurable, and needs no extra component, it is the one sketched in the test-time compute lesson.

Estimate from internal confidence

Read the probabilities the model assigns to its own tokens. A generation where the model hesitates at every step (flat probabilities, high entropy) is a difficulty signal; a very assured generation is an easiness signal. It is free (the information is already there) but imperfect: a model can be confident and wrong, which is precisely the dangerous case.

Escalate progressively

Rather than predicting, try. Start in the cheapest mode; if the result fails an available check (the code won't compile, the format is invalid, a verifier flags an inconsistency), rerun with a larger budget. This is robust, but only applies to tasks where checking is possible. On an open-ended question there is no test to fail.

Teaching the model to respect a budget

A more ambitious route is to train the model itself to honour a requested length. L1: Controlling How Long A Reasoning Model Thinks With Reinforcement Learning (Aggarwal and Welleck, 2025, Carnegie Mellon) uses reinforcement learning that rewards both correctness and adherence to a length constraint given in the prompt. The resulting model adjusts its reasoning to the requested length, which turns the cost/accuracy trade-off into a continuous dial rather than a choice among two or three presets.

L1: Controlling How Long A Reasoning Model Thinks With Reinforcement Learning

The levers side by side

LeverWho decidesRetrainingGranularity
Budget forcingThe caller, mid-generationNoneVery fine, token by token
Token ceiling (API)The caller, before the callNoneA maximum, not a target
Effort level (API)The caller, before the callNoneCoarse (2 to 4 notches)
Hybrid modeThe caller, before the callDone by the providerBinary: think or don't
Adaptive allocationThe system, per questionDepends on the methodContinuous, if the model is trained for it

The economics

Everything above exists for one reason: reasoning tokens cost money and time.

Cost

A reasoning token is billed as an output token. A model that thinks for 3,000 tokens and then answers in 200 bills 3,200 output tokens, sixteen times the price of a direct answer, for a user who only ever sees the last 200.

Latency

Reasoning tokens are generated before the first visible word. Throughout the thinking phase, the user stares at a screen that isn't moving. For interactive products this is often the binding constraint, tighter than price.

Tokens billed but not shown

One point deserves the attention of anyone signing a contract: with some providers, reasoning tokens are billed without being displayed. You pay for an amount of compute you discover after the fact, on content you never saw.

The stated reasons are defensible, protecting the intellectual property of the reasoning process, avoiding exposing raw chain-of-thought that hasn't been filtered by the alignment layer. But the practical consequences are real:

  • No audit trail for the reasoning. In any setting where a conclusion has to be justified, invisible reasoning is unjustifiable reasoning.
  • No content-based cost control. There is no way to tell whether the 3,000 billed tokens were useful work or a sterile loop.
  • Hard-to-budget variance. The same family of questions can consume wildly different amounts from one call to the next.

Practices diverge: some providers show the thinking in full, some show only a summary, some show nothing. This is something to check provider by provider, not a general property of reasoning models.

A field that hasn't settled

Firmly established: the control mechanisms (budget forcing, ceilings, effort levels, hybrid modes), and the fact that overthinking is real and measurable. Much less established: the right way to estimate a question's difficulty before answering it. No method commands consensus, and results vary sharply by task. Treat adaptive allocation as an active research area, not a recipe.

Why this matters

Budget control turns a model into a tunable product. Without it, you pick a model and live with its behaviour. With it, one model serves the trivial question at near-zero cost and the hard problem with everything it's got.

It also makes model comparison treacherous. Announcing that a model "scores X% on benchmark Y" now means nothing without stating the thinking budget used. The same model at low effort and at high effort are two far-apart points on the quality/cost curve. Any serious comparison now compares curves, not isolated numbers. The thinking budget thus joins the list of things an announced score does not tell you, set out in How to read a benchmark score.

Key takeaways

  1. A reasoning model cannot manage its own budget: nothing in its training made it sensitive to your invoice. It overthinks trivia and sometimes stops too early on genuinely hard problems.
  2. Budget forcing manipulates the generation stream from outside: insert the end-of-thinking marker to cut reasoning short, or suppress it and append "Wait" to extend it. No retraining, immediate effect, the technique named and popularised by the s1 work.
  3. APIs expose three mechanisms: a ceiling on reasoning tokens, qualitative effort levels, and an on/off switch on hybrid models. The parameter names change often; the mechanisms don't.
  4. A ceiling is not a target: the model spends whatever it wants below it, and you pay for what it spends. A ceiling guards against the worst case; it does not steer the average one.
  5. Adaptive allocation runs into difficulty estimation before the answer exists: agreement among quick samples, internal confidence, or progressive escalation where a check is available. None of these commands consensus.
  6. Reasoning tokens are billed, sometimes without being shown: the cost stacks onto output tokens, the latency accumulates before the first visible word, and the opacity blocks both auditing the reasoning and controlling cost by inspecting content.
Check your understanding0 / 5

1. The model is about to conclude but you want it to keep searching. What does the budget forcing technique from the s1 work do?

2. You set a ceiling of 20,000 reasoning tokens on an API call. What happens on an easy question?

3. On a real API such as Mistral's, who decides the reasoning effort applied to a given request?

4. On a hybrid model, how does the « no thinking » position differ from simply setting a reasoning ceiling of zero?

5. A call produces 3,000 reasoning tokens and then a 200-token answer. What does the provider bill?