thinking.type
- Rule from the docs
enabledturns on manual mode
Extended thinking gives Claude a token budget to reason before it answers. How budget_tokens works, why Claude 4.7 and later reject it, and the OpenAI equivalent.
Extended thinking is Claude's manual reasoning mode: you set thinking: {type: "enabled", budget_tokens: N} and Claude reasons against that budget before it answers. Anthropic now calls it deprecated. Claude 4.7 and later models reject it with a 400 error and use adaptive thinking, where effort sets the depth.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
thinking.typeenabled turns on manual modebudget_tokensmax_tokens. It is a target, not a strict cap.max_tokensthinking blockstext blocks with the answerusage.output_tokens_details.thinking_tokens{
"model": "claude-sonnet-4-6",
"max_tokens": 16000,
"thinking": {
"type": "enabled",
"budget_tokens": 10000
},
"messages": [
{
"role": "user",
"content": "Are there an infinite number of prime numbers such that n mod 4 == 3?"
}
]
}The exception to the budget-below-max_tokens rule is interleaved thinking in manual mode, where the budget spans all thinking blocks in one assistant turn. Anthropic also advises batch processing for budgets above 32k to avoid timeouts.
thinking: {type: "enabled", budget_tokens: N}thinking: {type: "adaptive"} plus output_config: {effort: ...}type: "adaptive" returns a 400 errortype: "enabled" returns a 400 error{
"model": "claude-sonnet-4-6",
"max_tokens": 16000,
"thinking": {
"type": "adaptive"
},
"output_config": {
"effort": "high"
}
}display can be summarized or omittedreasoning.summary to auto for a summarybudget_tokens, or effort in adaptive modereasoning.effort, for example low, medium, highmax_tokensmax_output_tokens includes reasoning; hitting it can leave no visible text but still bill youOpenAI recommends reserving at least 25,000 tokens for reasoning and output combined when you start out. Reasoning also takes up space in the context window.
Check usage.output_tokens_details.thinking_tokens to see what a budget really costs.
If replies are empty or cut short, the budget plus the answer may exceed it.
Any request builder that still sends it will fail on Claude 4.7 and later models.
1 questions people ask next, answered from the sources on this page.
No. Anthropic lists Claude Sonnet 5.5 among the 4.7-or-later models where thinking: {type: "enabled"} returns a 400 error. Use thinking: {type: "adaptive"} and set depth with effort.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.