Compute
Test-time compute is computational effort allocated during inference to process, search, reason about, or adapt to a task before producing an output.
Domain-Specific Small Language Models
The practice of allocating more computation at inference time to improve a model’s output quality or reasoning behavior without changing the base model.
- How it is used
- Improves responses to difficult math, logic, and coding queries by allocating more computation during inference.
- How deep it goes
- Defines the inference-time tradeoff and outlines candidate search, scoring, proxy iteration, and adaptive budgets without deriving search algorithms.
- Examples
- Uses an OptiLLM proxy flow, a dance-percentage problem, and Qwen2.5-0.5B-Instruct evaluation on GSM8K samples.
- What you can do after
- Applies it via OptiLLM to refine model responses and evaluates answer quality against added inference time and compute.
Read how Domain-Specific Small Language Models explains compute →
Sutskever's List
Test-time compute is the allocation of additional computation during inference so a model can perform more extensive internal processing before producing an output.
- How it is used
- Uses additional inference-time computation to support reasoning as pretraining alone yields diminishing returns on reasoning tasks.
- How deep it goes
- Explains scratchpads and multi-chain selection, but does not specify how to implement or schedule additional computation.
- Examples
- Illustrates scratchpad prompting through query subtasks and multi-chain reasoning through search and consistency voting.
- What you can do after
- Evaluate how additional inference-time deliberation may improve reliability and where prompting falls short on novel constraints.
What to know first
- accuracyAccuracy is the degree to which a result agrees with a specified truth, reference, or criterion, commonly measured as the proportion of evaluated predictions that are correct.
- fine-tuningFine-tuning is the continued training of a pretrained model on targeted data or objectives to adapt its parameters or behavior to a task, domain, or use.
- fluid intelligenceFluid intelligence is the ability to solve novel problems and adapt reasoning to unfamiliar situations without relying solely on previously learned knowledge.
- language modelA language model is a computational model of linguistic sequences that estimates their probabilities or predicts tokens from context, enabling it to generate or evaluate language.
Related concepts
- language modeluses · A language model is a computational model of linguistic sequences that estimates their probabilities or predicts tokens from context, enabling it to generate or evaluate language.
- beam searchuses · Beam search is a heuristic search or decoding technique that repeatedly expands a limited set of the highest-scoring partial candidates.
- Monte Carlo Tree Searchuses · Monte Carlo Tree Search is a decision-making algorithm that explores a search tree using repeated sampling or simulation to estimate the value of actions.
- costuses · Cost is a measure of the monetary expenditure, resource use, effort, or other burden associated with an activity, operation, or outcome.
- scalabilityalternative to · Scalability is a system’s ability to accommodate increasing workload, size, or demand while maintaining acceptable operation, often by expanding or adjusting resources.
Questions about compute
What is compute?
Test-time compute is computational effort allocated during inference to process, search, reason about, or adapt to a task before producing an output.
Which Manning books explain compute?
Domain-Specific Small Language Models and Sutskever's List.
What should I know before learning compute?
Manning books that teach compute usually introduce accuracy, fine-tuning, fluid intelligence and language model first.
What is the difference between compute and scalability?
Test-time compute is computational effort allocated during inference to process, search, reason about, or adapt to a task before producing an output. Scalability is a system’s ability to accommodate increasing workload, size, or demand while maintaining acceptable operation, often by expanding or adjusting resources.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

