Extended thinking arrives on the API with a thinking token budget
Claude Sonnet 3.7 introduced extended thinking on the API: callers could cap how long the model reasons with a thinking token budget, up to the model's 128K-token output limit, and trade cost and latency for answer quality.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingThinking tokens bill as output tokens, so a generous thinking budget is a direct line-item cost — set a house default rather than letting each team pick one. Treat this as the historical origin of today's thinking controls; the current API shape has changed twice since.
Engineer
What to change, what breaks, what to test Worth knowingOn claude-3-7-sonnet-20250219 you enable reasoning by passing a thinking budget up to the 128K output limit. Newer models replaced this surface with summarised thinking and effort controls, so write against the current thinking API rather than this one.
General consumer
Using the Claude apps, not the API Worth knowingExtended thinking lets Claude work through harder problems step by step, and it was available on every paid plan but not the free tier at launch. Answers take longer when it is on.
Alongside Claude Sonnet 3.7, Anthropic introduced extended thinking as an API capability rather than a separate model. Requests could ask for visible step-by-step reasoning, and API callers could set a budget for how many tokens the model was allowed to spend thinking — any value up to the model’s output limit, which the announcement puts at 128K tokens.
This is the origin of the thinking controls that everything afterwards inherits. Thinking tokens counted as output tokens for billing, so the budget was a direct cost and latency dial. Extended thinking was offered on all surfaces except the free Claude tier.
The shape of this API has since changed twice in ways already recorded on this timeline: from May 22, 2025 the Claude 4 models returned a summary of thinking rather than the raw stream, and from Claude Opus 4.6 (February 5, 2026) adaptive thinking and an effort parameter replaced budget_tokens outright.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
thinking | added | no | claude-3-7-sonnet-20250219 |
thinking.budget_tokens | added | no | claude-3-7-sonnet-20250219 |