Claude Sonnet 5 thinks by default and rejects manual thinking budgets
On claude-sonnet-5, requests with no thinking field now run with adaptive thinking, and manual extended thinking (thinking.budget_tokens) returns a 400 error. Revisit max_tokens before migrating from Sonnet 4.6.
What does this mean for me?
Action needed
Engineering leadership
Cost, risk, timeline, team impact Action neededSonnet 5 migration is a real engineering task, not a model-ID swap: thinking is on by default, manual thinking budgets return 400, and non-default sampling params return 400. Budget testing time for truncated outputs and higher output token counts before moving production traffic off Sonnet 4.6.
Engineer
What to change, what breaks, what to test Action neededOn `claude-sonnet-5`, a request with no `thinking` field now thinks, and `max_tokens` caps thinking plus response — raise it or pass `thinking: {type: "disabled"}`. Replace `thinking: {type: "enabled", budget_tokens: N}` with adaptive thinking plus the effort parameter; it now returns 400. Prefilling is still unsupported, and non-default `temperature`/`top_p`/`top_k` also 400.
General consumer
Using the Claude apps, not the API Worth knowingClaude Sonnet 5 now reasons before answering when a question warrants it, so replies may take slightly longer but be more accurate. Nothing for you to change.
On Sonnet 4.6 a request without a thinking field ran without thinking. On Sonnet 5 the same request thinks. Because max_tokens is a hard limit on total output — thinking plus response text — limits tuned for a non-thinking Sonnet 4.6 workload can now truncate the answer. Pass thinking: {type: "disabled"} to turn it off.
Manual extended thinking (thinking: {type: "enabled", budget_tokens: N}) was deprecated on Sonnet 4.6 and is removed on Sonnet 5: it returns 400, as on Opus 4.7 and 4.8. Use adaptive thinking with the effort parameter instead. Assistant message prefilling remains unsupported.
The third migration break — non-default temperature, top_p or top_k returning 400 — is new for Sonnet-class models here, having arrived on Opus 4.7 in April.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
thinking.budget_tokens | removed | yes | claude-sonnet-5 |
thinking | changed | yes | claude-sonnet-5 |
Terms on this page: Deprecation