Inference-time scaling
Inference-time scaling allocates additional computation during inference to improve a trained model’s output quality without changing its parameters.
Build a Reasoning Model (From Scratch)
Improving a trained model's output quality by spending more computation at inference time without changing its weights.
- How it is used
- Improves reasoning and answer accuracy during generation when retraining or modifying model weights is undesirable.
- How deep it goes
- Explains prompting, sampling, voting, and refinement workflows, while stopping short of weight updates or rule-based internal logic.
- Examples
- Demonstrates MATH-500 algebra, step-by-step prompting, multiple sampled answers, majority voting, and iterative answer refinement.
- What you can do after
- Build it from scratch with a flexible generation wrapper, sampling controls, self-consistency voting, and self-refinement scoring.
Read how Build a Reasoning Model (From Scratch) explains inference-time scaling →
Reinforcement Learning from Human Feedback
Inference-time scaling improves model performance by allocating additional computation during inference, such as generating and evaluating more candidate reasoning paths.
- How it is used
- Uses additional generation-time computation to improve downstream language-model performance.
- How deep it goes
- Explains longer reasoning and parallel answer selection while leaving broader methods, including composed inference calls, largely out of scope.
- Examples
- Illustrates parallel scaling with majority voting in DeepSeek-R1 and Phi-4 and scoring-model selection in DeepSeek-GRM.
- What you can do after
- Evaluate inference-time trade-offs by comparing downstream performance against inference token use.
Read how Reinforcement Learning from Human Feedback explains inference-time scaling →
The Art of AI Product Development
Inference-time scaling is the allocation of additional computation or generated reasoning during inference to improve a model's output.
- How it is used
- Improves outputs for complex, multistep language-model tasks by allocating additional generated reasoning during inference.
- How deep it goes
- Explains token-based reasoning, decomposition, verification, refinement, voting, and cost trade-offs without implementation detail.
- Examples
- Contrasts a Vietnam capital question with coding and business-modeling tasks that require extended reasoning.
- What you can do after
- Apply it to coding or business-modeling tasks through decomposition, iterative refinement, or voting when quality justifies added cost.
Read how The Art of AI Product Development explains inference-time scaling →
Introduction to Generative AI, Second Edition
Inference-time scaling is increasing computation or deliberation during inference to improve a model's response quality.
- How it is used
- Uses additional deliberation during inference to refine language-model responses after pretraining.
- How deep it goes
- Explains the idea through chain-of-thought prompting but does not detail computational budgets, algorithms, or implementation.
- Examples
- Uses “Let’s think step-by-step,” detailed instructions, confidence requests, and zero-shot or few-shot prompts as examples.
- What you can do after
- Apply it via prompting by requesting stepwise reasoning, while recognizing that improvements vary across tasks and settings.
Read how Introduction to Generative AI, Second Edition explains inference-time scaling →
LLM Evaluation and Alignment, The Foundational Ideas
Test-time scaling is an inference strategy that allocates additional computation or generated tokens at inference time to improve task performance.
- How it is used
- Improves difficult-task performance by spending additional computation or generated tokens during inference.
- How deep it goes
- Defines the strategy and addresses answer extraction and verbosity bias, but does not specify a general token-allocation algorithm.
- Examples
- Uses 42 × 38 and shows how chain-of-thought answers require final-answer extraction.
- What you can do after
- Operate/configure it by allocating more inference tokens and evaluating whether longer reasoning improves outcomes rather than merely increasing verbosity.
Read how LLM Evaluation and Alignment, The Foundational Ideas explains inference-time scaling →
Also covered in
- Agent Design PatternsIn early access (MEAP)
What to know first
- language modelA language model is a computational model that captures patterns in linguistic token sequences to estimate probabilities or predict, generate, or evaluate sequences.
- chain-of-thought promptingChain-of-thought prompting is a technique that elicits or supplies intermediate reasoning steps to guide a model toward a final answer.
- fine-tuningFine-tuning is adapting a pretrained model by continuing its training on targeted data or objectives for a particular task, domain, or behavior.
- tokenA text token is a discrete unit produced by tokenization and treated as one element in text processing, such as a word, subword, character, or punctuation mark.
Related concepts
- language modeluses · A language model is a computational model that captures patterns in linguistic token sequences to estimate probabilities or predict, generate, or evaluate sequences.
- chain-of-thoughtuses · A sequence of intermediate inferential steps that connects information about a problem to a conclusion, solution, or action.
- traceuses · A trace is an ordered record or sequence of events, operations, states, or actions showing how a process or execution unfolds.
- tokenuses · A text token is a discrete unit produced by tokenization and treated as one element in text processing, such as a word, subword, character, or punctuation mark.
- chain-of-thought promptinguses · Chain-of-thought prompting is a technique that elicits or supplies intermediate reasoning steps to guide a model toward a final answer.
Questions about inference-time scaling
What is inference-time scaling?
Inference-time scaling allocates additional computation during inference to improve a trained model’s output quality without changing its parameters.
Which Manning books explain inference-time scaling?
Build a Reasoning Model (From Scratch), Reinforcement Learning from Human Feedback, The Art of AI Product Development, Introduction to Generative AI, Second Edition and LLM Evaluation and Alignment, The Foundational Ideas.
What should I know before learning inference-time scaling?
Manning books that teach inference-time scaling usually introduce language model, chain-of-thought prompting, fine-tuning and token first.
What is the difference between inference-time scaling and training-time scaling?
Inference-time scaling allocates additional computation during inference to improve a trained model’s output quality without changing its parameters. A method for improving model performance by spending additional computation during training rather than at inference.
What is inference-time scaling also called?
Inference-time scaling is also called test-time scaling or test-time compute scaling.
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.




