↑↓ move Enter open ⌘K find from any page 256 of 256 tabs
Loading the recording…

Controlling how long a model thinks

A reasoning model writes its working between a pair of think tags and then its answer. How long that working runs is up to the model: it stops when it samples the closing tag. Budget forcing, from the s1 paper (Muennighoff et al.), controls the length from outside, at decoding time, without training: to make the model think longer, the end of its thinking is suppressed and the word "Wait" appended; to make it stop, the closing tag is forced at a budget. The s1 authors showed that a small fine-tuned model's accuracy can be traded against its thinking length this way, a simple form of test-time scaling.

This page applies budget forcing to the Thinking tab's model, the 596 M-parameter Qwen3-0.6B, on the same GSM8K test rows 0–39, with the same prompts and sampling (temperature , top-k 20, top-p 0.95). Every token a problem samples comes from one stream of uniforms seeded with its GSM8K row, as on the Thinking tab, so the reasoning the Thinking tab recorded is this page's first pass: nothing of it is sampled again, and the two tabs differ only where budget forcing edits the run.

"Wait" instead of the end

Each time the model draws the end of its thinking, the closing tag or the end of its turn, budget forcing throws that token away and appends "Wait" (one token) in its place. The reasoning goes on from there. As in s1, the ends are banned for the next token only, vLLM's min_tokens = 1: with the end tokens and the logits after "Wait",

and the token is then drawn as usual. The replaced draw used one uniform of the stream, so the token after "Wait" uses the next one. The page allows up to four Waits and 4,096 reasoning tokens per problem; at the cap, the closing tag is forced. The answer after Waits is written from the reasoning up to its -th end, so Wait × 0 is the run without budget forcing.

The panel The reasoning, edited, then the answer shows each Wait in amber between the stretches of reasoning, and The Waits shows the text just before and after each one, with the answer before and after it. On the three starred example problems, whose every step is stored, clicking a Wait in the trace opens The next token at the draw it replaced: the distribution in which the model chose to stop.

Forcing the end at a budget

To cut the thinking at a budget , budget forcing appends the end-of-thinking delimiter after reasoning tokens, here as Qwen3's chat template writes it, a newline, the closing tag and a blank line, and the model writes its answer from what it has. A budget the model's own closing tag comes before changes nothing. The Thinking tab cuts at the same budgets but inserts the Qwen3 report's stop-thinking instruction ("Considering the limited time by the user, I have to give the solution based on the thinking directly now.") before the tag. The reasoning before the cut and the uniforms after it are the same on both tabs, so the inserted text is the only difference between them: a comparison with common random numbers.

The strip's Forced end or the instruction? table counts, budget by budget, the problems both settle right, those only one of them gets right, and those both get wrong.

How much the model wants to stop

The model's probability of the closing tag as the next token, , says how ready it is to stop at step . The panel How much the model wants to stop plots it along the selected problem's reasoning on a log scale, read from one forward pass over the finished chain, with the Waits in amber and the budgets dashed. It is close to a switch: over the 161,031 reasoning steps recorded its median is and 99.9% of steps are below , while at the 99 steps where the model drew an end it is 0.998 at the median. Each Wait but one sits on one of those spikes, because a Wait replaces the closing tag the model drew; the exception is row 13's fourth, which replaced the end of its turn, drawn where was 0.0002.

Does thinking longer help?

Without budget forcing (Wait × 0) the model is right on 31 of the 40 problems and spends 2,034 tokens per problem, 1,734 of reasoning and 300 of answer. Six problems never write the closing tag within 4,096 tokens (rows 5, 8, 12, 14, 21 and 37); they keep re-deriving the problem until the cap, and the answer forced there is wrong on five of them. The other 34 try to stop and get a first Wait.

One Wait makes it 32. The problem it fixes is row 13, and the fix is in the answer rather than the reasoning: the first answer used all 1,024 answer tokens without reaching a boxed number, and the answer after the Wait reaches 18 in 513. The other 33 problems keep their final number. Waits two to four change no final number at all, while the tokens per problem grow to 3,013, 3,755 and 4,287, so the purple line on Accuracy against tokens spent is flat after its first step. The strip's What each Wait did table counts it Wait by Wait. The ban on the ends after each Wait never mattered here: at none of the 98 steps it applied to was an end among the 20 most likely tokens.

Most of the added tokens are not reasoning. After a Wait the model writes "Wait, hold on. Let me check once more.", re-checks its arithmetic and boxes the same number, and soon it no longer tries to stop: all 34 problems drew an end again after the first Wait, 21 after the second, 9 after the third and 1 after the fourth. A chain that does not end runs to the cap repeating its answer. Of the 33 chains that reached the cap after a Wait, 30 end in an exact loop of "Final Answer" and the boxed number, 9 to 27 tokens long; the other three had fewer than 400 tokens left. The loops are 72% of all the reasoning tokens the Waits added. Inside them has a median of and rose above at only 18 of their 65,809 steps, mostly in a loop's first repetition, just after a boxed answer.

Row 3 shows the pattern: it reads "3 sprints 3 times a week" as 3 sprints, tries to stop four times, re-checks the same misreading after every Wait (180 meters, not 540), and its reasoning ends in a loop. The s1 authors describe the same failure, a model sent into repetitive loops when its end is suppressed too often, and their fine-tuned 32 B model's gains flatten out at six Waits. This 0.6 B model flattens after one.

Cutting the reasoning short

Forcing the closing tag at budgets of 0, 128, 256, 512, 1,024 and 2,048 tokens leaves 21, 27, 27, 28, 30 and 31 problems right, at 310 to 1,597 tokens per problem: accuracy climbs back to the uncut 31 as the budget reaches the length the model reasons for on its own. Row 26 shows a budget that is too small: the model takes 3,505 tokens before its own closing tag and answers 243; cut at 1,024 or 2,048 tokens it adds the same three prices to 348 and 242.

The Thinking tab's stop-thinking instruction at the same budgets gets 21, 25, 26, 30, 30 and 31. Problem by problem the inserted sentence matters, in both directions: at budget 0 each gets five problems right that the other gets wrong, and over all budgets the bare delimiter alone is right 11 times and the instruction alone 10 times. From 1,024 tokens on the two agree on every problem. A forced end at budget 0 writes the same text as Qwen3's thinking-off template, but tokenized differently (the blank line as two newline tokens) and sampled with the thinking settings; thinking off, on the Thinking tab, is right on 25 at 303 tokens.

For this model and these problems, then, budget forcing works as a brake and not as an accelerator: cutting the reasoning trades accuracy for tokens budget by budget, while pushing it past the model's own end costs up to twice the tokens and gains one problem, the one whose first answer ran out of room.

Papers

  1. s1: Simple test-time scaling Niklas Muennighoff et al. · arXiv 2025 Budget forcing: "Wait" appended in place of the end-of-thinking delimiter to lengthen the reasoning, the delimiter forced to end it, and accuracy against thinking tokens.
  2. Qwen3 Technical Report An Yang et al. · arXiv 2025 The model recorded here, its thinking mode and the thinking budget with the stop-thinking instruction the Thinking tab inserts.
  3. Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters Charlie Snell et al. · arXiv 2024 Spending more tokens at test time, sequentially by revising or in parallel by sampling, and when each helps.
  4. Do NOT Think That Much for 2+3=? On the Overthinking of o1-Like LLMs Xingyu Chen et al. · arXiv 2024 Reasoning models keep checking answers they already have; extra reasoning on easy problems adds tokens, rarely accuracy.
  5. DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning DeepSeek-AI · Nature 2025 Long reasoning learned by reinforcement learning, with the "wait" and re-checking behaviour budget forcing provokes.
  6. Training Verifiers to Solve Math Word Problems Karl Cobbe et al. · arXiv 2021 GSM8K, the grade-school maths problems every Reasoning tab answers.

See also