Glossary ¡ 5 minute read
What Is Test-Time Compute? Spending More at Inference for Accuracy
Test-time compute is the computation a model spends while answering a request, and scaling it means deliberately using more, through longer reasoning, multiple candidates, search, or verification, to improve accuracy on hard problems. It trades cost and latency for quality at inference time, complementing the training-time scaling that makes base models capable.
For years, better AI meant bigger training runs. A second lever has become just as important: how much computation a model spends when it answers. Letting a model reason longer, generate several candidates and pick the best, search over approaches, or verify its work can raise accuracy on hard problems substantially, at a cost in tokens and time paid on every request. This explainer covers the techniques, the economics, and when the trade pays off, drawing on FISTA Solutions' AI enablement practice. The model class built around it is in what is a reasoning model and inference fundamentals are in what is ai inference.
What is test-time compute?
Test-time compute is the computation performed at inference, when a trained model processes a request, as distinct from training compute spent building the model. Scaling test-time compute means allocating more of it per request to improve output quality: more reasoning tokens, more candidate generations, more search, more verification. The insight is that quality on hard problems can be purchased at inference time and adjusted per task, rather than fixed by the model's training.
How does it compare with training-time scaling?
| Dimension | Training compute | Test-time compute |
|---|---|---|
| When spent | Once, building the model | Every request |
| What it improves | Base capability of the model | Quality of a specific answer |
| Who controls it | Model developer | Application developer and provider settings |
| Adjustable per task | No | Yes |
| Cost pattern | Fixed, amortized | Variable, per request |
| Diminishing returns | On general capability | On problems that do not need it |
What techniques increase test-time compute?
- Extended reasoning: the model generates intermediate steps before answering. See what is chain-of-thought prompting.
- Best-of-n sampling: generate several candidates and select by a verifier, judge, or majority vote.
- Search: explore branching reasoning paths and keep promising ones.
- Iterative refinement: critique and revise an answer over several passes.
- Tool-assisted verification: run code, check calculations, or confirm sources before answering.
- Ensembling across models: combine outputs from different models.
Selection and verification rely on judges; see what is llm-as-a-judge.
Why does it work?
Hard problems benefit from working memory, exploration, and checking, which extra tokens and samples provide; verifiable problems let a verifier or majority vote filter wrong candidates; and training that rewards outcomes teaches models to use reasoning tokens productively. The gains are largest where answers can be checked and smallest where a single pass already suffices. Reasoning patterns in agents are in what is react prompting.
What does it cost?
Cost scales with tokens generated and samples produced, and latency scales with sequential reasoning length; a request with extended reasoning and multiple candidates can cost many times a direct answer. Provider effort settings and reasoning budgets control spend; sampling and search multiply calls. Token economics are in llm token cost explained and latency constraints in what is latency in ai systems.
When does extra test-time compute pay off?
When the problem is hard and multi-step, when correctness can be verified or judged, when a wrong answer is expensive, and when latency tolerance allows. Code generation and debugging, complex analysis, planning, mathematical work, and high-stakes agent decisions qualify. Classification, extraction, simple lookup, and high-volume chat usually do not. Routing by difficulty is the practical design. Router patterns are in what is an llm router.
How do verifiers and judges fit?
Sampling and search produce candidates; something must choose. Deterministic verifiers such as test execution and schema checks are strongest; model-based judges with rubrics handle qualitative selection; majority voting works for problems with discrete answers. Verifier quality bounds the gain. Evaluation foundations are in what is an eval in ai.
How should it be controlled in production?
Set per-request budgets on reasoning tokens and samples, choose effort settings per task type, route only hard problems to compute-heavy paths, cache repeated reasoning where inputs repeat, and monitor cost per task against measured accuracy gains so spend concentrates where it changes outcomes. Cost visibility is in how to build an ai cost dashboard and caching in what is prompt caching.
How does it relate to model choice?
Smaller models with generous test-time compute can rival larger models on some tasks, and larger models with more compute go further still; the right combination depends on cost, latency, and task. Evaluate configurations, not just models. Serving economics are in ai inference cost and architecture context in what is a mixture of experts model.
What does it look like in practice?
A code assistant generates several candidate fixes for a failing test, runs the tests on each, and returns the one that passes, spending several times the compute of a single attempt and raising success rates substantially. An analysis assistant routes complex scenario questions to extended reasoning with a token budget and simple lookups to a fast path, keeping average cost manageable. Both track cost per task against accuracy. Agent design patterns are in how to build an ai agent.
How FISTA Solutions applies test-time compute
FISTA Solutions designs difficulty-aware routing that spends compute only where it changes outcomes, builds verifiers and judges that make sampling and search effective, sets budgets and effort settings per task, and measures cost against accuracy on client golden sets. The AI enablement practice delivers the routing and evaluation platform, AI agents apply extra compute at decision points, and forward deployed engineers embed with client engineering teams. The record behind the approach is 150+ projects with 99.9% uptime.
To buy accuracy where it matters and save elsewhere, message FISTA on WhatsApp, or read what is a kv cache for the mechanism that makes long reasoning affordable.
Share-ready article cover
Download the generated social format.
Clear answers
Questions raised by this field note.
Straightforward guidance for evaluating scope, fit, and the next step.
01What is test-time compute in simple terms?
The effort a model puts into a single answer. Instead of one quick pass, the system can let the model think longer, try several answers and pick the best, or check its work before responding. More effort costs more but often produces better answers on hard questions.
02How does it differ from training compute?
Training compute is spent once to build the model and determines its base capability. Test-time compute is spent on every request and determines how hard the model works on that request. The two are complementary levers, and the second can be adjusted per task.
03What techniques increase test-time compute?
Extended reasoning before answering, sampling several candidates and selecting by a verifier or majority vote, tree or beam search over reasoning paths, iterative refinement and self-critique, and tool-assisted verification such as running code or checking sources.
04When does extra test-time compute pay off?
On problems that are hard, multi-step, and verifiable, where a correct answer is worth far more than a fast one: complex code, analysis, planning, and mathematics. On simple, high-volume tasks the gains are minimal and the cost is not justified.
05How do you control the cost?
With per-request budgets on reasoning tokens or samples, effort settings, routing that sends only hard problems to compute-heavy paths, caching of repeated work, and monitoring of cost per task against measured accuracy gains.
Continue exploring
Related capabilities
Start with the hard problem
Need the outcome owned, not merely analyzed?
Tell us where delivery is constrained. Weâll map the fastest credible path from intent to verified production.