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 retired Claude Sonnet 4.5 (claude-sonnet-4-5-20250929) from the Claude API on 30 November 2026, and its page now lists the model as Retired. Anthropic's page says requests to a retired model fail, and that on the Claude API the Messages API returns a 404 not_found_error. The recommended replacement is claude-sonnet-5-5. Microsoft Foundry follows the same schedule, and Google's page gives the same day as the shutdown date on Google Cloud. 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, and Anthropic's page says the model is available there as a deprecated model.
If a call to it fails: 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 (before version 2.1.332) and five libraries, in the versions named in the table below, send this model when you do not name one (on 5 December the newest releases of three of them still did), and the generators listed below do so in anthropic-haystack 8.1.0 and 8.0.1, so a project with no hit in your own files can still call it. Name the model yourself and test it.
When each platform stops serving it
| Where you call it | Date | What the page says |
|---|---|---|
| Claude API | 30 November 2026 | Anthropic's deprecations page lists claude-sonnet-4-5-20250929 as Retired: deprecated on 30 September 2026, with a retirement date of 30 November 2026 and claude-sonnet-5-5 as the replacement |
| Microsoft Foundry | 30 November 2026 | Anthropic'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 2026 | Google's page, read on 3 December 2026 (it then said "Last updated 2026-12-01 UTC"): deprecated as of 29 September 2026, "will be shut down on November 30, 2026", existing customers only. The page does not say the shutdown has happened. The Vertex AI address of that page now redirects to it |
| Amazon Bedrock | 8 April 2027 | AWS'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 entry for the model says it "was retired on Anthropic-operated platforms on November 30, 2026" and "is available as a deprecated model on Amazon Bedrock (bedrock-runtime)" |
Anthropic's status table still heads its retirement-date column "Tentative retirement date", although it now lists the model as Retired. 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.
Update, 3 December 2026. The date has passed. When we read Anthropic's page on 14 November it listed the model as deprecated and had no Bedrock note; it now lists the model as Retired, and its entry says the model "was retired on Anthropic-operated platforms on November 30, 2026" and "is available as a deprecated model on Amazon Bedrock (bedrock-runtime)". AWS's page, read on 3 December, gives the Bedrock dates in the table above. Google's page, read on 3 December, still says the model "will be shut down on November 30, 2026"; it does not say whether Google has stopped serving it.
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 adds that on the Claude API, the Messages API returns a 404 not_found_error. We have not sent a request to a retired model, so this page does not quote a full response. 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.
Update, 25 November 2026. When we read Anthropic's page on 14 November it named no error code, so this paragraph said so. It now names the 404 not_found_error.
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 covers both: "This retirement includes claude-sonnet-4-5, the same model’s ID without a date." Both names were retired from the Claude API on 30 November.
Update, 25 November 2026. When we read the notice on 14 November it listed only the dated ID, so this paragraph said the notice did not mention the alias and advised planning as if both names stop. The notice now includes the alias; the advice has not changed.
On Bedrock the ID is anthropic., 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, read on 3 December, says its sonnet alias resolves to Sonnet 4.5 on Amazon Bedrock, and to Sonnet 5.5 on the Claude API, Microsoft Foundry and Google Cloud's Agent Platform. The page adds that before Claude Code v2.1.332, on Agent Platform or Microsoft Foundry, the sonnet alias resolves to Sonnet 4.5, and so does the default model on Microsoft Foundry. Our 25 November reading of the same page listed Sonnet 4.5 for both platforms with no version.
- Microsoft Foundry: from v2.1.332 the
defaultmodel is Sonnet 5.5. Before that version, the page says, thedefaultmodel is Sonnet 4.5, so a setup that never picked a model sends Sonnet 4.5, whose Foundry date is 30 November. Claude Code's Foundry page says that when your resource has no deployment for the default, Claude Code switches to an older model or the request fails, and a switch shows a message that starts withSwitched to <fallback> because <model> is not available. It does not say which of the two happens when the default model is retired, and we have not run it, so do not count on either: pin the model as below. - Google Cloud and Bedrock: the default model is Opus 5.5. On Bedrock you are on Sonnet 4.5 if you pick
sonnet, for example with/model sonnet, or useopusplan, which switches tosonnetafter plan mode; its date there is 8 April 2027. On Google Cloud's Agent Platform thesonnetalias, and soopusplan, gives Sonnet 5.5 from v2.1.332 and Sonnet 4.5 before it, whose date there is 30 November. For those earlier versions the page says to setANTHROPIC_as well asDEFAULT_ OPUS_ MODEL ANTHROPIC_, or the default model on Agent Platform can become the Sonnet model you set.DEFAULT_ SONNET_ MODEL
Update, 25 November 2026. When we first read Claude Code's Foundry page, on 8 November, it said Foundry had no startup model check, so requests fail when the default is unavailable, and the Foundry line above predicted that failure. The page now also names the switch to an older model.
Update, 3 December 2026. Claude Code's model configuration page now says sonnet is Sonnet 5.5 on Microsoft Foundry and Google Cloud's Agent Platform, and default on Foundry is Sonnet 5.5, from v2.1.332 (on npm since 24 November); on 25 November it listed Sonnet 4.5 for each with no version. It also tells Agent Platform and Foundry users to move off Sonnet 4.5, and says that after the model retires on your platform, requests to it stop working, including background tasks. Amazon Bedrock is unchanged: sonnet is Sonnet 4.5, and default is Opus 5.5.
The documentation's fix is to set the alias yourself: ANTHROPIC_ 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 release named in its first cell, which we read on 5 December 2026. Three packages have newer releases that use a different default, and their rows say so (see the updates below the table). 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 read | What sends it, file:line | Sends | Set this to override |
|---|---|---|---|
| @langchain/anthropic 1.6.6 (1.6.7 does not) | ChatAnthropic with no model option, dist/ (the CommonJS build has the same default in dist/) | claude-sonnet-4-5-20250929 | new ChatAnthropic({ model: "claude-sonnet-5-5" }) |
| anthropic-haystack 8.1.0 (8.2.0 and 8.2.1 do not) | AnthropicChatGenerator with no model=, haystack_integrations/ | claude-sonnet-4-5 | model= |
| anthropic-haystack 8.1.0 (8.2.0 and 8.2.1 do not) | Anthropic (Microsoft Foundry) with no model=, .../ | claude-sonnet-4-5 (a deployment name) | model= with your deployment's name |
| anthropic-haystack 8.1.0 (8.2.0 and 8.2.1 do not) | Anthropic (Google Cloud) with no model=, .../ | claude-sonnet-4-5@20250929 | model= with a current Sonnet ID from Google's list |
| langchain-anthropic 1.7.13 (1.8.0 and 1.9.0 do not) | AnthropicLLM (legacy, marked deprecated) with no model=, langchain_anthropic/ | claude-sonnet-4-5 | model=. ChatAnthropic in this package has no default and needs a model name |
| agno 3.3.0 | AzureFoundryClaude (from agno.models.azure; Microsoft Foundry) with no id=, agno/ | claude-sonnet-4-5 (a deployment name) | id= with your deployment's name |
| agno 3.3.0 | Claude from agno.models.aws (Amazon Bedrock) with no id=, agno/ | global. | id=. Bedrock's date is 8 April 2027 |
| aider-chat 0.86.2 | aider started with no --model, with ANTHROPIC_API_KEY set and OPENROUTER_API_KEY unset: the sonnet alias, aider/ | claude-sonnet-4-5 | --model. In architect mode with --model opus, the editor model is also claude-sonnet-4-5 (aider/): add --editor-model |
| genagent 0.4.1 | gen() and mod_gen() with no model=, when the DEFAULT_MODEL environment variable is unset, genagent/ | claude-sonnet-4-5-20250929 | model=, 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 between our 8 and 14 November reads. 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, Anthropic, 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.
Update, 23 November 2026. anthropic-haystack 8.2.0, released on PyPI that day, defaults to claude-sonnet-5-5 in all three generators (chat_generator.py:140, foundry_chat_generator.py:102, vertex_chat_generator.py:93). If you rely on a generator's default, upgrade to 8.2.0 or pass a current model explicitly with model=. On 8.1.0 or 8.0.1 the defaults in the table still apply. On Microsoft Foundry the value is a deployment name, and Anthropic's Foundry page says a new deployment is named after the model ID unless you choose another name: check that claude-sonnet-5-5 is the name of your Sonnet 5.5 deployment, or pass your Sonnet 5.5 deployment name with model=. On Google Cloud, Anthropic's page lists claude-sonnet-5-5 as the model ID. We re-read the other five packages the same day: @langchain/anthropic 1.6.6, langchain-anthropic 1.7.12 and agno 3.2.1 are newer releases that still send this model (only langchain-anthropic's AnthropicLLM line moved, from llms.py:32 to :31), and aider-chat 0.86.2 and genagent 0.4.1 have no newer release. We read the 8.2.0 code; we did not run it.
Update, 5 December 2026. In their newest releases, two more packages no longer send this model. @langchain/anthropic 1.6.7 (released 1 December) defaults to claude-sonnet-4-6 where 1.6.6 sent claude-sonnet-4-5-20250929 (dist/, and the same lines in dist/). langchain-anthropic 1.8.0 (3 December) and 1.9.0 (4 December) default AnthropicLLM to claude-sonnet-4-6 where 1.7.13 sends claude-sonnet-4-5 (llms.py:31); ChatAnthropic still has no default (chat_models.py:1456 in 1.9.0). Anthropic's deprecations page, read on 5 December, lists claude-sonnet-4-6 as Active, with retirement "Not sooner than February 17, 2027". agno 3.3.0 (2 December) still sends this model from AzureFoundryClaude (agno/) and from its Bedrock Claude (agno/; Bedrock's date is 8 April 2027). aider-chat 0.86.2 and genagent 0.4.1 have no newer release and still send this model from the same lines. anthropic-haystack 8.2.1 (1 December) keeps 8.2.0's claude-sonnet-5-5 default in all three generators, on the same lines. A default can change in any release, so name the model yourself. We read this code; we did not run it.
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/; 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.
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; we read Anthropic's deprecations page and Claude Code's Foundry and model configuration pages again on 25 November 2026. On 3 December 2026 we read Anthropic's deprecations page, AWS's model lifecycle page, Google's partner-model deprecations page, Claude Code's Foundry and model configuration pages again, and the release date of Claude Code 2.1.332 from the npm registry; on 5 December 2026 we read package code again, and Anthropic's deprecations page for the claude-sonnet-4-6 line. The package table comes from that reading of the version named in each row, and the updates under the table cover the newer releases that use a different default. 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
- Anthropic: Model deprecations, entry of 30 September 2026
- Anthropic: Models overview, platform IDs and lifecycle notes
- Anthropic: Model IDs and versioning, aliases
- Anthropic: Claude in Microsoft Foundry, deployment names, lifecycle
- Anthropic: Claude Models on Google Cloud (Google managed), model IDs
- Google Cloud: Gemini Enterprise Agent Platform name changes, Vertex AI to Agent Platform
- Google Cloud: Partner model deprecations, Claude Sonnet 4.5
- AWS: Amazon Bedrock model lifecycle, Legacy models
- Anthropic: Migrating to API version 2026-10-21, sampling parameters
- Anthropic: Claude Code model configuration and Claude Code on Microsoft Foundry
Send corrections to hello@cybernative.ai. We correct the page and list each correction here with its date.