SunsetDiff

Replacement for claude-sonnet-4-5-20250929: what changes when you switch

The official replacement is claude-sonnet-5-5. claude-sonnet-4-5-20250929 shuts down on 2026-11-30 per Anthropic's deprecation page (checked 2026-11-12). On the labeled example of 10 million input tokens and 2 million output tokens, claude-sonnet-5-5 costs $40 a month, lower than $60 for claude-sonnet-4-5-20250929.

claude-sonnet-4-5-20250929 model page · Anthropic

Official replacement. Full diff page

claude-sonnet-4-5-20250929 to claude-sonnet-5-5

All values from official sources Checked 2026-11-12.

Price per 1M tokens

Price comparison. Example monthly cost for 10M input tokens and 2M output tokens. Labeled example, not a bill.
FieldOldNewChange
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

Token limits
LimitOldNewChange
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

  1. Read the shutdown date for claude-sonnet-4-5-20250929 on the linked official page.
  2. Point your requests at claude-sonnet-5-5.
  3. Re-check price, context, and parameters on the provider pages linked here.
  4. Ship the change before the published shutdown date.

Related models

Questions

What is the replacement for claude-sonnet-4-5-20250929?

The official replacement is claude-sonnet-5-5. claude-sonnet-4-5-20250929 shuts down on 2026-11-30 per Anthropic's deprecation page (checked 2026-11-12). On the labeled example of 10 million input tokens and 2 million output tokens, claude-sonnet-5-5 costs $40 a month, lower than $60 for claude-sonnet-4-5-20250929.

Is claude-sonnet-5-5 cheaper than claude-sonnet-4-5-20250929?

Yes. The labeled example monthly cost is $60 for the old model and $40 for the replacement.

Does claude-sonnet-5-5 have a bigger context window than claude-sonnet-4-5-20250929?

Yes. The context window changes from 200,000 to 1,000,000 tokens.

Sources

Deprecation alerts

We email you before models shut down. Unsubscribe anytime.

Deprecation alert signup
Providers (optional)