claude-sonnet-4-5-20250929 to claude-sonnet-5-5
All values from official sources Checked 2026-11-12.
Price per 1M tokens
| Field | Old | New | Change |
|---|---|---|---|
| Input | $3 | $2 | -33.3% (lower) |
| Output | $15 | $10 | -33.3% (lower) |
| Cached input | $0.3 | $0.1 | Not published |
| Example monthly cost | $60 | $40 | Example only |
Context and max output
| Limit | Old | New | Change |
|---|---|---|---|
| Context window | 200,000 | 1,000,000 | +400% (higher) |
| Max output | 64,000 | 128,000 | +100% (higher) |
Capabilities that differ
No differing capability values are published for both models.
API changes
- A non-default temperature, top_p, or top_k returns a 400 error on claude-sonnet-5-5. Remove those fields. Source
- thinking.type.enabled with budget_tokens returns a 400 error. Remove the budget and set output_config.effort. There is no fixed mapping from a token budget to an effort level. Source
- thinking.type disabled returns a 400 error. To turn off up-front thinking, send thinking.type between_tools at low, medium, or high effort. between_tools returns a 400 error at xhigh or max effort. Source
- A prefilled assistant message at the end of the conversation returns a 400 error. The conversation must end with a user message. Source
- tool_choice type "tool" and type "any" return a 400 error, including on the token counting endpoint. Send tool_choice type "auto" and mark the tool strict. Source
Code
python before
import anthropic
client = anthropic.Anthropic()
message = client.messages.create(
model="claude-sonnet-4-5-20250929",
max_tokens=16000,
temperature=0.2,
thinking={"type": "enabled", "budget_tokens": 10000},
messages=[{"role": "user", "content": "Hello"}],
)
python after
import anthropic
client = anthropic.Anthropic()
message = client.messages.create(
model="claude-sonnet-5-5",
max_tokens=16000,
thinking={"type": "adaptive"},
output_config={"effort": "high"},
messages=[{"role": "user", "content": "Hello"}],
)
typescript before
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic();
const message = await client.messages.create({
model: "claude-sonnet-4-5-20250929",
max_tokens: 16000,
temperature: 0.2,
thinking: { type: "enabled", budget_tokens: 10000 },
messages: [{ role: "user", content: "Hello" }],
});
typescript after
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic();
const message = await client.messages.create({
model: "claude-sonnet-5-5",
max_tokens: 16000,
thinking: { type: "adaptive" },
output_config: { effort: "high" },
messages: [{ role: "user", content: "Hello" }],
});
curl before
curl https://api.anthropic.com/v1/messages \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{"model":"claude-sonnet-4-5-20250929","max_tokens":16000,"temperature":0.2,"thinking":{"type":"enabled","budget_tokens":10000},"messages":[{"role":"user","content":"Hello"}]}'
curl after
curl https://api.anthropic.com/v1/messages \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{"model":"claude-sonnet-5-5","max_tokens":16000,"thinking":{"type":"adaptive"},"output_config":{"effort":"high"},"messages":[{"role":"user","content":"Hello"}]}'
Checklist
- Read the shutdown date for claude-sonnet-4-5-20250929 on the linked official page.
- Point your requests at claude-sonnet-5-5.
- Re-check price, context, and parameters on the provider pages linked here.
- Ship the change before the published shutdown date.