Claude API effort 'xhigh' not supported when thinking is disabled
Claude API 400 effort 'xhigh' is not supported when thinking is disabled: xhigh sent with thinking off. Lower effort to high or use adaptive thinking.
output_config.effort 'xhigh' is not supported when thinking is disabled on this model. Use effort 'high' or below, or enable thinking.The request turned thinking off and set output_config.effort to xhigh (or max), so it got a 400 invalid_request_error. On the models that block this combination, effort goes only up to high while thinking is off. Lower effort to high or below, or drop the thinking field to go back to adaptive thinking.
[1] Find which case your request is. These are the combinations in the official docs.
| Model | thinking value | Result |
|---|---|---|
| Claude Sonnet 5.5 | {"type": "between_tools"} + effort xhigh or max | This error. between_tools does no up-front thinking, so the message says "thinking is disabled" |
| Claude Haiku 5.5 | {"type": "disabled"} + effort xhigh or max | Same error |
| Claude Opus 5 | {"type": "disabled"} + effort xhigh or max | A 400 (exact text not given in the docs) |
| Claude Fable 5.1, Opus 5.5 and others | {"type": "disabled"} | A different error: thinking cannot be turned off on these models |
The 'xhigh' in the message is the level your request sent, so if you sent max it reads 'max'.
[2] The smallest fix is lowering effort. If the point of between_tools on Sonnet 5.5 was speed without up-front thinking, check whether high is enough.
{ "model": "claude-sonnet-5-5", "max_tokens": 4096, "thinking": {"type": "between_tools"},"output_config": {"effort": "high"}, "messages": [{"role": "user", "content": "..."}]}[3] If you really need xhigh or max, turn thinking on. "Enable thinking" in the message means adaptive thinking: omit the thinking field or send {"type": "adaptive"}.
{ "model": "claude-sonnet-5-5", "max_tokens": 64000,"thinking": {"type": "adaptive"}, "output_config": {"effort": "xhigh"}, "messages": [{"role": "user", "content": "..."}]}Don't turn it on with {"type": "enabled"}: Sonnet 5.5 and Haiku 5.5 reject enabled with a 400. If you only want thinking content kept out of responses, add "display": "omitted" to adaptive (it cannot be combined with between_tools or disabled).
[4] A change of effort mid-conversation gives a different message.
messages.N: output_config.effort 'low' differs from the 'high' in effect before it; effort cannot change when thinking is disabled on this model. Use effort 'high', or enable thinking.With between_tools on Sonnet 5.5 or disabled on Haiku 5.5, effort cannot change during a conversation. Remove the per-message output_config.effort at position messages.N (the one sent with the mid-conversation-output-config-2026-07-01 beta header), or set it to the level already in effect. To vary effort per turn, switch to adaptive thinking.
[5] between_tools is for Sonnet 5.5 only. If you switch models and leave it in, you get "thinking.type.between_tools" is not supported for this model. When changing models, dropping the thinking field to fall back to the default is the safer move.
For models that reject extended thinking (enabled with budget_tokens), see Claude API 400 thinking.type.enabled fix.