[ ABORT TO HUD ]
SEQ. 1

Adaptive Thinking & Budget Tokens

🧠 Extended Thinking & Adaptive Reasoning20 min1100 BASE XP

The Thinking Evolution

Claude's reasoning capabilities have evolved significantly. Opus 4.6 and Sonnet 4.6 introduced Extended Thinking with explicit budget_tokens. However, Opus 4.7 (April 2026) fundamentally changed this — replacing explicit thinking budgets with Adaptive Thinking.

⚠️ Breaking Change (Opus 4.7): Setting thinking: {"type": "enabled", "budget_tokens": N} returns a 400 error on Opus 4.7. You MUST use thinking: {"type": "adaptive"} instead. Adaptive thinking outperforms the old explicit budgets on all benchmarks.

Legacy: budget_tokens (Opus 4.6 / Sonnet 4.6)

On pre-4.7 models, you set budget_tokens (minimum 1024). These tokens are consumed from your max_tokens limit. If you set max_tokens: 4096 and budget_tokens: 2048, the model has exactly 2048 tokens left for its response.

Modern: Adaptive Thinking (Opus 4.7)

With adaptive thinking, the model dynamically decides how much to reason based on task complexity. Simple questions get instant answers; complex coding tasks trigger deep multi-step reasoning. You control intensity via the effort parameter instead of raw token counts.

Interleaved Thinking with Tool Use

Claude can perform interleaved thinking — reasoning in between sequential tool calls. This allows the model to analyze tool outputs, adjust its strategy, and deliberate before making the next action. Critical for complex multi-step agent workflows.

Thinking Content Visibility

In Opus 4.7, thinking content is hidden by default in API responses. You must explicitly set thinking: {"type": "adaptive", "visible": true} to see the reasoning chain. This change improves response cleanliness for production applications.

SYNAPSE VERIFICATION
QUERY 1 // 2
What is the minimum budget_tokens required to enable Extended Thinking?
10
1024
4096
512
Watch: 139x Rust Speedup
Adaptive Thinking & Budget Tokens | Extended Thinking & Adaptive Reasoning — Claude Academy