Skip to content
Inference Academy

Test-time scaling: spending compute where it helps

How accuracy grows with more samples and longer reasoning at inference time, why the gains flatten, why easy and hard problems respond differently, and how adaptive allocation (probe, then spend more only where answers disagree) beats a uniform budget. With a runnable simulation.

By

14 min · verified 2026-11Pro
Share

Training-time scaling made models bigger. Test-time scaling makes them think longer at the moment you ask: sampling many answers and voting, verifying candidates, or generating long chains of reasoning. It works, it costs, and the returns flatten. This lesson shows the shape of those returns and how to spend a budget well.

#Two ways to spend more at inference

  • Parallel: sample n independent answers, then pick by majority vote (self-consistency) or with a verifier (search and verifier loops).
  • Sequential: let the model reason longer, revise its answer, or search step by step with a process reward model (PRMs and tree search). Reasoning models trained with reinforcement learning do this natively, and many let you set a reasoning effort or token budget.

Both turn extra tokens into accuracy. Both follow the same pattern: big early gains, then diminishing returns.

Pro content

Keep reading with Inference Academy Pro

Unlock the rest of this lesson, plus every advanced lesson, hands-on lab, the larger playground models and completion certificates.

Still to come in this lesson

  1. A simulation
  2. What the numbers say
  3. Compute-optimal test-time scaling
  4. Costing it
  5. Common mistakes
  6. Exercises

You will be able to answer

  • Why does majority voting help little on problems where one sample is right only 25% of the time with 4 wrong answers?
  • Where does adaptive allocation save compute?
  • Uniform voting goes from 0.845 at 9 samples to 0.885 at 33. What does that show?
  • Which two broad ways of scaling test-time compute exist?
  • What should a test-time scaling report always include alongside accuracy?