Extended thinking
Definition
A model setting that gives it a budget of reasoning tokens to use before writing its final answer, trading time and cost for accuracy.
In more detail
Anthropic uses the term for Claude's thinking feature; other providers have similar controls under names such as reasoning effort. Thinking tokens are billed, and more thinking is not always better for simple tasks.
With thinking on, the model writes intermediate reasoning before the answer, and the API returns it separately from the final text, sometimes in summarised form. You set a budget or effort level; a larger budget helps on multi-step maths, debugging and planning, and mostly adds cost and latency on lookups or rewriting.
Treat the budget like any other setting: run your eval set at two or three levels and pick the lowest one that holds quality. Prompting tips for older models, such as asking for step-by-step reasoning, are often unnecessary with thinking enabled.
Related terms
Chain-of-thought
Having a model work through intermediate reasoning steps before it gives a final answer, either by prompting or by training.
Reasoning effort
An API setting that controls how much a reasoning model thinks before answering, trading cost and latency against accuracy.
Reasoning model
A model trained to spend extra tokens thinking through a problem before it answers, trading speed and cost for accuracy on hard tasks.
Test-time compute
Computation a model spends while answering, such as longer reasoning or multiple samples, used to improve answers without retraining.
Read more about Extended thinking
- Prompt engineering
Writing clear, testable instructions for models and checking them on real inputs.
- Prompting reasoning models
What changes when a model thinks before it answers: write goals instead of steps, choose an effort level, use fewer examples and check the answer properly.
- LLM cost optimisation
Cutting LLM costs with caching, model routing, batching and budgets.