toolcall() ← all concepts

// news · verdict: yes

Sonnet 4.5 shuts off on November 30. Swapping the name isn't enough

Anthropic's deprecations page lists Claude Sonnet 4.5 for retirement on the Claude API on November 30, 2026, with Claude Sonnet 5.5 as the recommended replacement. After that date, requests to Sonnet 4.5 fail. The catch is in the replacement: Sonnet 5.5 returns a 400 error on two things Sonnet 4.5 code commonly sends, a changed temperature, top_p or top_k, and a prefilled assistant turn.

// the notice

From Anthropic's Model deprecations page:

On September 30, 2026, Anthropic notified developers using Claude Sonnet 4.5 of its upcoming retirement on the Claude API.
retirement date deprecated model recommended replacement November 30, 2026 claude-sonnet-4-5-20250929 claude-sonnet-5-5

The same page: "Requests to models past the retirement date will fail." The dates apply to Anthropic-operated platforms: the Claude API, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed) and Microsoft Foundry. Amazon Bedrock and Claude Models on Google Cloud (Google managed) "set their own retirement schedules", so check their model tables if you call Claude there.

In the Claude apps? The notice is for the API. If you only chat in the app, there is no code for you to change. (Anthropic has not published an app-side notice for Sonnet 4.5; app model pickers have changed on their own schedule before.)

Two settings that return a 400 on Sonnet 5.5

1. Sampling parameters. The Sonnet 5.5 migration guide: "Sampling parameters return an error. Remove temperature, top_p, and top_k." Under API version 2023-06-01 a changed (non-default) value is what errors on Claude 4.7 and later models. Under the newer API version 2026-10-21, sending any of the three returns a 400 on every model, even at its default value. Either way, the fix is the same: stop sending them and steer with the prompt.

2. Prefill. "Claude Sonnet 5.5 rejects a prefilled last assistant turn with a 400 error, as Claude Sonnet 4.6 and Claude Sonnet 5 do. Claude Sonnet 4.5, Claude Haiku 4.5, and older models accept one." The error reads:

This model does not support assistant message prefill. The conversation must end with a user message.

Replace each prefill by what it was for: structured outputs (or tools with enum fields) for an output format, a system-prompt instruction for skipping preambles, and a user-turn message for continuations and context reminders.

Before Nov 30: a migration checklist

The guide lists more changes than these two: thinking budgets, forced tool choice and thinking: {"type": "disabled"} also return a 400 on Sonnet 5.5, and thinking now runs on requests that leave the field out. Read the whole checklist for your starting model.

Related: the OpenAI model shutdown on Oct 23 and what temperature actually changes.

Sources: Claude Platform docs, Model deprecations (§2026-09-30, §Model status, §API parameter deprecations); Claude Sonnet 5.5 migration guide (§Breaking changes, §Migrating from Claude Sonnet 4.5 or earlier, §Migration checklist); Migrating to API version 2026-10-21 (§Sampling parameters are removed). Verified 2026-10-22. Retirement dates are Anthropic's and can change.

One concept a week. Free.

The deeper, copy-paste version of each ToolCall short — in your inbox.

// total: 0.00 · spam: void · unsubscribe: one click