100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace
AI Fundamentals

Test-Time Compute

AdvancedConcept7.8K learners

Test-time compute refers to additional computation a language model performs at inference time — beyond a single fixed-length forward pass — such as extended reasoning, self-verification, or exploring multiple candidate solutions, to…

Definition

Test-time compute refers to additional computation a language model performs at inference time — beyond a single fixed-length forward pass — such as extended reasoning, self-verification, or exploring multiple candidate solutions, to improve answer quality on harder problems.

Overview

For most of the history of deep learning, a model's capability was determined almost entirely by choices made before deployment: how large the model was and how much compute went into training it. Test-time compute introduces a second lever — how much computation a model is allowed to spend while actually answering a given query — and has become a major axis of progress alongside traditional pretraining scale, particularly for reasoning-heavy tasks like math, coding, and multi-step logic. In practice, test-time compute takes several forms: "extended thinking" or chain-of-thought reasoning, where a model generates intermediate reasoning tokens before its final answer, effectively using more forward passes per response; sampling multiple candidate answers and selecting the best one via a verifier or voting scheme; and iterative refinement, where a model critiques and revises its own draft answer. Models like OpenAI's o-series and Claude's extended thinking mode expose this tradeoff directly to users or API callers, letting them dial up reasoning effort — and cost and latency — for problems where accuracy matters more than speed. Research has shown that, for many reasoning tasks, spending more compute at inference time can improve accuracy in ways that are sometimes more cost-effective than simply training a larger model, reshaping how labs think about the capability/cost tradeoff: instead of always needing a bigger pretrained model, a smaller model given more "thinking" budget can match or exceed a larger model answering in one shot on certain problem types. This has made test-time compute one of the more actively studied levers in current frontier model development, alongside continued gains from pretraining scale and post-training techniques like reinforcement learning from human feedback.

Key Concepts

  • Additional inference-time computation beyond a single fixed forward pass
  • Includes extended chain-of-thought reasoning before a final answer
  • Can involve sampling multiple candidates and selecting the best via a verifier
  • Supports iterative self-critique and refinement of draft answers
  • Exposed to users as adjustable "reasoning effort" in models like Claude and OpenAI's o-series
  • Trades increased latency and cost for improved accuracy on hard problems
  • Can sometimes be more cost-effective than training a larger base model
  • An increasingly important axis of progress alongside pretraining scale

Use Cases

Solving complex math, coding, and multi-step logic problems more reliably
Letting users trade latency and cost for higher accuracy on demand
Improving smaller models' effective performance without retraining them larger
Building agentic workflows that benefit from deeper per-step reasoning
Selecting the best answer among multiple candidate generations via a verifier
Research into scaling laws that jointly consider training and inference compute

Frequently Asked Questions

From the Blog