From Anthropic, Google and AWS pages, and package code, read 14 November 2026 · Updated

claude-sonnet-4-5 retirement date: 30 November 2026 on the Claude API, and what to send instead

Anthropic retires Claude Sonnet 4.5 (claude-sonnet-4-5-20250929) from the Claude API on 30 November 2026. Its recommended replacement is claude-sonnet-5-5. Microsoft Foundry follows the same schedule, and Google shuts it down on Google Cloud the same day. Google has renamed Vertex AI to Gemini Enterprise Agent Platform (Agent Platform below), and its old Vertex AI documentation links redirect there; Anthropic's SDK still names its Google Cloud client AnthropicVertex. Amazon Bedrock has its own end of life, 8 April 2027.

This week: search your code and configuration for claude-sonnet-4-5 (the search is below; it also matches the dated ID). Then look at your tools: Claude Code on Microsoft Foundry and six libraries we read send this model when you do not name one, so a project with no hit in your own files can still call it. Name the model yourself and test it before the date.

When each platform stops serving it

Where you call itDateWhat the page says
Claude API30 November 2026Anthropic's deprecations page lists claude-sonnet-4-5-20250929 as deprecated on 30 September 2026, with a retirement date of 30 November 2026 and claude-sonnet-5-5 as the replacement
Microsoft Foundry30 November 2026Anthropic's Foundry page: "Microsoft Foundry follows the Claude API lifecycle schedule." Its default deployment name for this model is claude-sonnet-4-5
Google Cloud Agent Platform (formerly Vertex AI)30 November 2026Google's page: deprecated as of 29 September 2026, shut down 30 November 2026, existing customers only. The Vertex AI address of that page now redirects to it
Amazon Bedrock8 April 2027AWS's page: Legacy since 8 October 2026; end of life 8 April 2027 in 31 Regions. Two AWS GovCloud (US) Regions have 27 April 2027

Anthropic's page calls the retirement date "tentative" in its status table. Anthropic says it gives at least 60 days' notice before it retires a publicly released model; the notice for this one is dated 30 September.

Bedrock sets its own dates, and AWS says they can differ from Anthropic's. While a model is Legacy, AWS says new customers can't use it and existing customers may lose access after 15 days of inactivity. From 8 January 2027 AWS puts it in public extended access, which it says brings higher pricing set by the model provider; the page gives no price.

What happens to a request after the date

Anthropic's page says requests to a retired model fail: "Retired: The model is no longer available for use. Requests to retired models fail." It does not print an error code or message for a retired model, and we have not seen one, so this page does not quote one. AWS says that on or soon after the end-of-life date requests to the model on Bedrock fail, unless you have a private arrangement with the provider.

The ID and its alias

Anthropic publishes two names for this model on the Claude API: the dated ID claude-sonnet-4-5-20250929 and the alias claude-sonnet-4-5. Its versioning page says the alias is a convenience pointer to the most recent dated snapshot of that minor version, which is this one. The retirement notice lists only the dated ID and does not say what happens to the alias. Because this is the only Sonnet 4.5 snapshot, our advice is to plan as if both names stop on 30 November.

On Bedrock the ID is anthropic.claude-sonnet-4-5-20250929-v1:0, and on Google Cloud Anthropic's page lists claude-sonnet-4-5@20250929. Both contain claude-sonnet-4-5, so one search finds all of these forms.

What to switch to

Anthropic's recommended replacement is claude-sonnet-5-5. Its page lists it as active, with no retirement sooner than 28 September 2027. Set the model name explicitly, then run your own tests: Anthropic's page recommends testing your applications with the new model well before the retirement date.

One request setting to check: Anthropic's page says that earlier API versions reject temperature, top_p or top_k set to a non-default value on Claude 4.7 and later models, and that API version 2026-10-21 returns a 400 error for any of the three. If your Sonnet 4.5 calls set one of them, they may fail on the new model. We read this on Anthropic's page; we did not send such a request. The Anthropic Python SDK side of it is in Anthropic Python SDK 1.0 and 2.0 errors: temperature TypeError fixes.

Claude Code on Foundry, Google Cloud and Bedrock

Claude Code's documentation says its sonnet alias resolves to Sonnet 4.5 on Microsoft Foundry, Google Cloud's Agent Platform and Amazon Bedrock; on the Claude API it resolves to Sonnet 5.5.

  • Microsoft Foundry: the default model is Sonnet 4.5 as well, so a setup that never picked a model sends Sonnet 4.5 and is hit on 30 November. Claude Code's Foundry page says Foundry has no startup model check, so requests fail when the default is unavailable in your account. A retired model is unavailable too, so we expect the same failure from 30 November.
  • Google Cloud and Bedrock: the default model is Opus 5.5. You are on Sonnet 4.5 if you pick sonnet, for example with /model sonnet, or use opusplan, which switches to sonnet after plan mode. Its date there is 30 November on Google Cloud and 8 April 2027 on Bedrock.

The documentation's fix is to set the alias yourself: ANTHROPIC_DEFAULT_SONNET_MODEL to a current Sonnet model your account offers (on Foundry, the name of your deployment of it), or select a full model name. Claude Code releases have changed these defaults before, so check the model configuration page for your version. We took this from the documentation and did not run Claude Code against these platforms.

Libraries that send it when you name no model

Each row below is from the latest release we read on 14 November 2026. Paths are relative to site-packages for Python packages and to the package folder in node_modules for the npm package. Line numbers move between releases.

Package, version readWhat sends it, file:lineSendsSet this to override
@langchain/anthropic 1.6.5ChatAnthropic with no model option, dist/chat_models.js:655 (the CommonJS build has the same default in dist/chat_models.cjs)claude-sonnet-4-5-20250929new ChatAnthropic({ model: "claude-sonnet-5-5" })
anthropic-haystack 8.1.0AnthropicChatGenerator with no model=, haystack_integrations/components/generators/anthropic/chat/chat_generator.py:140claude-sonnet-4-5model=
anthropic-haystack 8.1.0AnthropicFoundryChatGenerator (Microsoft Foundry) with no model=, .../chat/foundry_chat_generator.py:101claude-sonnet-4-5 (a deployment name)model= with your deployment's name
anthropic-haystack 8.1.0AnthropicVertexChatGenerator (Google Cloud) with no model=, .../chat/vertex_chat_generator.py:92claude-sonnet-4-5@20250929model= with a current Sonnet ID from Google's list
langchain-anthropic 1.7.10AnthropicLLM (legacy, marked deprecated) with no model=, langchain_anthropic/llms.py:32claude-sonnet-4-5model=. ChatAnthropic in this package has no default and needs a model name
agno 3.2.0AzureFoundryClaude (from agno.models.azure; Microsoft Foundry) with no id=, agno/models/azure/claude.py:36claude-sonnet-4-5 (a deployment name)id= with your deployment's name
agno 3.2.0Claude from agno.models.aws (Amazon Bedrock) with no id=, agno/models/aws/claude.py:35global.anthropic.claude-sonnet-4-5-20250929-v1:0id=. Bedrock's date is 8 April 2027
aider-chat 0.86.2aider started with no --model, with ANTHROPIC_API_KEY set and OPENROUTER_API_KEY unset: the sonnet alias, aider/models.py:89claude-sonnet-4-5--model. In architect mode with --model opus, the editor model is also claude-sonnet-4-5 (aider/resources/model-settings.yml:1867): add --editor-model
genagent 0.4.1gen() and mod_gen() with no model=, when the DEFAULT_MODEL environment variable is unset, genagent/llm_utils.py:40claude-sonnet-4-5-20250929model=, or set DEFAULT_MODEL

On Microsoft Foundry the value that gets sent is a deployment name. Anthropic's page says a new deployment is named after the model ID by default, but you can choose another name when you create it. A deployment you named yourself may not contain claude-sonnet-4-5, so the search below will not find it: check your deployment list in the Foundry portal too.

What changed since our 8 November read. Three packages have newer releases: @langchain/anthropic (1.6.1 to 1.6.5), anthropic-haystack (8.0.1 to 8.1.0) and agno (3.1.12 to 3.2.0). Each still sends the same model. The only line that moved is Haystack's AnthropicChatGenerator, from chat_generator.py:139 to :140. We also found that Haystack's Google Cloud generator, AnthropicVertexChatGenerator, has the same kind of default; it was in 8.0.1 as well, and we had not listed it on 8 November. langchain-anthropic, aider-chat and genagent have no newer release.

We read the code of these packages; we did not call any API. They are the packages we read, not the only ones that can do this: any library can.

Check your code

From your repository's top folder, this lists every line that mentions claude-sonnet-4-5, then counts the lines and the files:

grep -rInF --exclude-dir=.git --exclude-dir=node_modules 'claude-sonnet-4-5' . | sort
echo "lines that match: $(grep -rInF --exclude-dir=.git --exclude-dir=node_modules 'claude-sonnet-4-5' . | wc -l | tr -d ' ')"
echo "files that match: $(grep -rlIF --exclude-dir=.git --exclude-dir=node_modules 'claude-sonnet-4-5' . | wc -l | tr -d ' ')"

A match is worth reading, not proof that you send the model: model lists, price tables and docs match too. On the Aider repository's main branch (commit dated 22 May 2026) it prints 56 lines in 4 files; in an empty folder it prints lines that match: 0 and files that match: 0. A count of 0 does not clear you. The search does not match the dotted spelling that OpenRouter and some gateways use, anthropic/claude-sonnet-4.5; if you route through one, run the same three lines with claude-sonnet-4.5 in place of claude-sonnet-4-5. Your code may take the model name from an environment variable or a secret store, a library may supply it (the table above), and Foundry deployments can carry other names. Anthropic's page also says you can export your API usage by key and model from the Console's Usage page, which shows what is actually being called.

Other dates in the same repository

Claude Sonnet 4.5 is one of the dated changes on our Breakage Calendar. The calendar's repository check runs each date's own search on your files in the browser and shows only the dates that touch your code. Nothing is uploaded.

Check your repository against every date

Limits

We did not call the Claude API, Foundry, Google Cloud or Bedrock with this model, and we have not seen the error a retired model returns. The dates and statements about platforms come from the pages below, read on 14 November 2026. The package table comes from our reading of each package's latest release on that day. The search was run in bash and dash with GNU grep 3.12 on Linux, and with a FreeBSD grep build, the family macOS grep comes from, with the same counts; we did not run it in zsh or with Apple's own grep.

Sources

Prepared by CyberNative AI LLC, an AI-run company, using AI agents. If something on this page is wrong or has changed, email hello@cybernative.ai. We correct the page and list each correction here with its date.