Moving an application off retired Claude Sonnet 4.5
Claude Sonnet 4.5 retired on the Claude API on November 30, 2026. Moving to Sonnet 5.5 also requires checking thinking settings, tool choice, and response parsing.

Claude Sonnet 4.5 retired on the Claude API on November 30, 2026. Both claude-sonnet-4-5-20250929 and claude-sonnet-4-5 are affected. The official Messages API returns 404 not_found_error for retired models, so retrying the same model ID will not restore service.
Anthropic recommends claude-sonnet-5-5. A reliable migration starts with an inventory of callers and ends with completed application tasks. Changing the ID alone leaves several older assumptions about thinking, tool choice, and response blocks unchecked.
Does the retirement apply to every cloud platform?
Retirement schedules depend on who operates the platform. The official deprecation page, checked on December 2, 2026, applies its dates to Anthropic-operated platforms: the Claude API, Claude Platform on AWS, Anthropic-managed Claude on Google Cloud, and Microsoft Foundry.
Amazon Bedrock and Google-managed Claude on Google Cloud set their own schedules. The page currently describes Sonnet 4.5 on Bedrock runtime as deprecated but still available. Verify that platform’s current schedule before making a change.
For a gateway, also identify the requested ID and the channel actually serving it. Model IDs, aliases, and capabilities explains why a listing alone cannot establish that the original model remains available. An undocumented substitution is not a completed migration.
Where are the remaining callers?
Search source and configuration, then compare that inventory with runtime records. Static search will miss saved workflows, environment variables, and versioned agent definitions.
With ripgrep installed, run this read-only command from the project root:
rg -n --hidden \
--glob '!.git/**' --glob '!node_modules/**' \
--glob '!.env*' --glob '!*.lock' \
'claude-sonnet-4-5(-20250929)?' .
The command skips dotenv files to reduce accidental credential exposure. Inspect relevant model values separately without printing the entire environment.
Keep five fields for each caller: location, model, runtime host, owner, and acceptance task. Include title generation, summarization, scheduled jobs, individual batch requests, and fallback models. Updating the visible chat model does not update every background caller.
Claude Console users can export Usage data by API key and model as described in the retirement documentation. For other services, use their request records and compare them with the inventory.
Which request settings change in Sonnet 5.5?
Use the Sonnet 5.5 migration guide to remove unsupported settings and choose the behavior your application needs.
| Older behavior | Sonnet 5.5 action |
|---|---|
thinking.type: enabled and budget_tokens | Use adaptive thinking and output_config.effort |
Omit thinking to avoid reasoning | Omission now enables adaptive thinking; use between_tools to disable up-front thinking |
thinking.type: disabled | Rejected; between_tools supports low, medium, and high effort |
Send temperature, top_p, or top_k | Remove the fields rather than sending null |
| Prefill a final assistant message | Use prompting or appropriate structured output |
Force a tool with any or tool | Use auto; apply supported strict schemas where needed |
Read content[0].text | Iterate blocks and select by type |
auto permits a direct answer. Strict tools constrain the arguments of a call; they do not guarantee a call occurs. If a workflow requires a tool result, the application must verify that the tool ran before proceeding. Structured output makes a similar distinction between valid structure and correct content.
Model migration and API-version migration have separate requirements. If you also update the SDK, check headers and stored messages against the 2026-10-21 API migration guide.
What should the first request look like?
Start with a fresh text request, then add history and tools. This example uses the official Anthropic Python SDK. Install a currently supported anthropic package and set ANTHROPIC_API_KEY locally:
import os
from anthropic import Anthropic
client = Anthropic(api_key=os.environ["ANTHROPIC_API_KEY"])
response = client.messages.create(
model="claude-sonnet-5-5",
max_tokens=4096,
output_config={"effort": "medium"},
messages=[{
"role": "user",
"content": "Explain model retirement versus an API version upgrade in two sentences.",
}],
)
print("stop_reason:", response.stop_reason)
for block in response.content:
if block.type == "text":
print(block.text)
The output limit covers thinking and text. A max_tokens stop requires checking whether the answer finished; HTTP 200 alone is insufficient. The example was syntax-checked, without an authenticated request.
For Nbility, configure the endpoint using the Claude compatibility documentation and SDK guide, then verify current model availability. Provider documentation does not establish support for every new field on a particular gateway channel.
What makes the migration complete?
Test a normal answer, stored history, tool continuation, and any streaming or structured-output paths your application uses. Define completion for each task, including required text, executed actions, and terminal status.
Tool loops must preserve thinking blocks unchanged, including empty blocks with signatures. Filtering the display to text should not remove those blocks from stored conversation history.
Before switching traffic, inspect fallback entries too. Keep the prior request builder and acceptance records so you can return to a verified configuration with an available model. Retired Sonnet 4.5 can no longer be the rollback target on the official API.


