Interleaved thinking enters public beta
The beta header interleaved-thinking-2025-05-14 lets Claude 4 models think between tool calls, so reasoning can react to a tool result before the next call.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingAgent loops get better at recovering from bad tool results, at the cost of more thinking tokens per turn. Worth a trial on your most failure-prone agent before broad rollout.
Engineer
What to change, what breaks, what to test Worth knowingSend the beta header `interleaved-thinking-2025-05-14` on Claude Opus 4 and Sonnet 4 to get thinking blocks between tool calls in one assistant turn. Test that your loop tolerates thinking blocks appearing after tool results, not just before the first call.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is a developer setting for tool-using apps.
Without interleaved thinking, thinking happens before the model’s tool calls. With the beta header interleaved-thinking-2025-05-14, Claude Opus 4 and Sonnet 4 can emit thinking blocks between tool calls in the same assistant turn.
This matters for agent loops: the model can reconsider its plan after seeing a tool result rather than committing to a pre-planned sequence.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
interleaved-thinking-2025-05-14 | added | no | claude-opus-4-20250514 claude-sonnet-4-20250514 |