Fill in the s1 budget forcing trick that stretches or stops thinking
To spend more, suppress the end of thinking token and append Wait so the model second-guesses; to spend less, truncate the thinking trace once the budget is hit.
Imagine a student writing a maths exam who is about to write 'Therefore, the answer is...' You hand them a sticky note that says 'Wait', and they pause and re-check the working before committing. That is one half of the trick. The other half is simpler: when the bell rings, the invigilator takes the paper away whether the student is done or not. Stretch by interrupting with a doubt-prompt. Shrink by cutting at the buzzer. The s1 paper shows both work as cheap test-time levers without retraining the model.
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.
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.
Budget forcing is one of the cleanest test-time scaling results of the 2025 wave. Stanford's s1 paper showed that a small distilled reasoning model, with no extra training, can be pushed across a controllable accuracy versus compute curve by intervening in two places at decode time. The technique is simple enough to implement in an afternoon on top of a self-hosted serving stack, which is partly why it spread quickly.
This deep dive walks through the two interventions, the reason the Wait cue specifically works, the truncation subtlety that separates a clean implementation from a brittle one, and the operational scope of where budget forcing applies in 2026 deployments versus where coarser knobs win.
The two interventions
A reasoning model trained to think before answering emits its trace inside a delimited region. The exact delimiter varies by model; conceptually, the model issues an end of thinking token when it has finished reasoning, then begins the visible reply. Budget forcing intervenes at this delimiter.
Stretching the trace
When the decoder is about to emit the end of thinking token, suppress it (via a logits processor that masks the token in the next-token distribution), and instead force-emit the literal text Wait followed by a newline. The model now sees ...prior reasoning... Wait as its prefix and continues generating. The continuation almost always takes the form of self-correction: re-checking a calculation, revisiting an assumption, considering an alternative case.
The stretch can be applied multiple times. Each application extends the trace by the length of the new continuation, costing only the additional generated tokens.
Truncating the trace
A separate logits processor watches the cumulative thinking-token count. When the count exceeds the configured budget, the processor forces the model to emit the end of thinking token immediately, terminating the trace. The model then produces its visible reply using only the thinking it had completed.
The two interventions are independent and can coexist: stretch is fired on a quota that limits how many times Wait can be injected, truncate is fired on the total budget. The s1 paper plots accuracy as a function of the budget and produces a smooth curve.
Situations where this technique stops working.
2–4 min · Everything important, quickly.
Real products, models, and research that use this idea.
- Stanford's s1 paper introduced budget forcing on a 32B distilled model trained on roughly 1,000 reasoning traces and showed competitive AIME and MATH results at controlled compute budgets
- Self-hosted serving stacks like vLLM and SGLang expose logits processors that make budget forcing implementable in a few dozen lines of code
What an interviewer would ask next. Try answering before peeking at the approach.
QWhy does the word Wait specifically lift accuracy more than other continuation cues?
The model has seen many training examples where Wait or similar pause-words precede self-correction in human reasoning text. Conditioning on Wait shifts the next-token distribution toward 'let me reconsider' continuations. Other cues like however or actually have similar but weaker effects in the s1 ablation.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Treating budget forcing as a learned policy when it is a decoding-time intervention; the model is unchanged, only the decoder's stop and continuation logic are.
60 second bullets to scan on the way to the call.
What budget forcing intervenes on at decode time
Why the Wait token specifically works to extend thinking
Primary sources. Browse if you want the original framing.
Same topic, related formats. Practice these next.