Claude Sonnet 4.5 Retired: Fix the Error and Switch to 5.5
Requests that still name Claude Sonnet 4.5 fail on the Claude API since November 30, 2026, and Claude Sonnet 5.5 is the replacement Anthropic names.
On this page
- Is Claude Sonnet 4.5 still available?
- What error do old requests get?
- Where does Sonnet 4.5 still run?
- How do you switch to Sonnet 5.5?
- Frequently asked questions
- When was Claude Sonnet 4.5 retired?
- Can I still use Claude Sonnet 4.5?
- What is the difference between deprecated and retired?
- When does Sonnet 4.5 retire on Amazon Bedrock?
- Is Claude Opus 4.5 being retired too?
- Sources checked
Claude Sonnet 4.5 was retired on the Claude API on November 30, 2026. Requests that still name claude-sonnet-4-5 or claude-sonnet-4-5-20250929 now get a 404 not_found_error. The fix is to send claude-sonnet-5-5, the ID for Claude Sonnet 5.5 (Anthropic's deprecations page, checked December 2, 2026).
Short answer
- Retired on the Claude API on November 30, 2026, together with the undated ID
claude-sonnet-4-5. - Old requests get HTTP 404 with the error type
not_found_error. - Amazon Bedrock keeps it for existing customers until April 8, 2027; Google-managed Google Cloud shut it down on November 30, 2026.
- The fix is the model ID plus a few request settings that Sonnet 5.5 rejects.
Is Claude Sonnet 4.5 still available?
No, not on the Claude API. Anthropic's deprecations page lists claude-sonnet-4-5-20250929 as Retired, deprecated September 30, 2026 and retired November 30, 2026, and says the retirement includes claude-sonnet-4-5, the same model's ID without a date (checked December 2, 2026). The November 30, 2026 release note says all requests to it on the Claude API now return an error.
The November 30 date covers the platforms Anthropic runs; partner clouds set their own schedules.
| Platform | Status | Date |
|---|---|---|
| Claude API | Retired | November 30, 2026 |
| Claude Platform on AWS | Retired | November 30, 2026 |
| Google Cloud (Anthropic managed) | Retired | November 30, 2026 |
| Microsoft Foundry | Retired | November 30, 2026 |
| Amazon Bedrock | Legacy, existing customers | Ends April 8, 2027 |
| Google Cloud (Google managed) | Shut down | November 30, 2026 |
If your code or tool sends either Claude API ID for 4.5, it is calling a retired model today. To see which API keys were still calling it before the cutoff, Anthropic's deprecations page points to the Usage page in Claude Console: click Export, then read the CSV, which breaks usage down by API key and model.
What error do old requests get?
The Messages API returns HTTP 404 with the error type not_found_error for a retired model (Anthropic's deprecations page, checked December 2, 2026).
Errors arrive as JSON: a top-level error object with a type and a message, plus a top-level request_id that matches the request-id response header (Anthropic's API errors page, checked December 2, 2026).
Anthropic's sample not_found_error body uses the generic message "The requested resource could not be found." The real message is longer. Two public GitHub build logs recorded it on the retirement day and the next morning: a scheduled build in the onestudytoday repository (November 30, 2026, 23:58 UTC) and a docs watcher in SolidAxisGroup/luubu-guide (December 1, 2026, 03:59 UTC). Both issues were opened by bot accounts.
{
"type": "error",
"error": {
"type": "not_found_error",
"message": "model: claude-sonnet-4-5 was not found. It was retired on 2026-11-30. See https://platform.claude.com/docs/en/about-claude/model-deprecations"
},
"request_id": "req_011ChaKf7Dtv3TGJLeKTS2ou"
}
That message is the part to read: it names the model and the retirement date, so a 404 carrying this text is the retirement itself, not a typo in the model name. A 404 with a different message points elsewhere; check the endpoint path and the resource IDs in the URL (Anthropic's API errors page, checked December 2, 2026).
The request shape that fails, as an example:
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",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Summarize this changelog."}]
}'
We did not get this error ourselves: OmniaKey does not serve Claude Sonnet 4.5, so the body above comes from the build logs.
Where does Sonnet 4.5 still run?
Amazon Bedrock, for existing customers, until April 8, 2027. Google-managed Google Cloud shut Sonnet 4.5 down on November 30, 2026.
Anthropic's Bedrock page lists Sonnet 4.5 as deprecated, with the base model ID anthropic.claude-sonnet-4-5-20250929-v1:0 and global, us, eu and jp inference profiles (checked December 2, 2026). AWS's lifecycle page gives it a legacy date of October 8, 2026, an end-of-life date of April 8, 2027, and a public extended access start date of January 8, 2027; in US GovCloud the legacy and end-of-life dates are October 27, 2026 and April 27, 2027 (checked December 2, 2026).
Legacy is a narrow window. New customers can't use a Legacy model, and existing customers may lose access after 15 days of inactivity (AWS lifecycle page, checked December 2, 2026). From January 8, 2027, in public extended access, AWS says active users can keep going until the end-of-life date but should expect higher pricing set by the model provider. On or soon after April 8, 2027, requests to the version fail.
On Google-managed Google Cloud, Google's Sonnet 4.5 page marks the model deprecated as of September 29, 2026, open to existing customers only, with November 30, 2026 as its shutdown date (page last updated December 1, 2026). Anthropic's Google-managed table no longer carries a Sonnet 4.5 row, so Google's page holds that date.
How do you switch to Sonnet 5.5?
For a request that sends only messages, change the model ID to claude-sonnet-5-5 and check the token limit: thinking runs by default on Sonnet 5.5 and counts toward that limit. Most production requests send more than messages, so the settings below need a look too.
Sonnet 5.5 is cheaper per token and has a larger context window: $2 per million input tokens and $10 per million output tokens, against $3 and $15 for Sonnet 4.5; cache reads are $0.10 against $0.30; the context window is 1M tokens against 200K, and max output is 128K against 64K (Anthropic's pricing page and models overview, checked December 2, 2026).
| Model | Input | Output | Cache read |
|---|---|---|---|
| Sonnet 4.5 | $3 | $15 | $0.30 |
| Sonnet 5.5 | $2 | $10 | $0.10 |
Anthropic's Sonnet 5.5 migration guide lists what changes for code written against 4.5 (checked December 2, 2026):
| If your Sonnet 4.5 code | On Sonnet 5.5 |
|---|---|
names claude-sonnet-4-5 or the dated ID | send claude-sonnet-5-5 |
| prefills the last assistant turn | 400 error; move the instruction into the system prompt or use structured outputs |
sends temperature, top_p or top_k | remove them; on API version 2026-10-21 each one returns 400 |
uses thinking with budget_tokens | set an effort level; thinking runs by default and counts toward max_tokens |
| sets no effort level | set output_config.effort; the default is high |
| sends old beta headers | remove or replace them (list below) |
sends output_format | move it to output_config.format |
sends computer use computer_20250124 | not accepted on Sonnet 5.5 |
The beta headers to clear:
interleaved-thinking-2025-05-14: remove it, because adaptive thinking interleaves automatically.- Any context-window beta header: remove it.
fine-grained-tool-streaming-2025-05-14: replace it witheager_input_streaming: trueon each tool that needs it.
Sampling parameters are the change that catches tuned prompts. Anthropic's deprecations page says a non-default temperature, top_p or top_k returns a 400 on Claude 4.7 and later models, and API version 2026-10-21 returns it for any value, even the default (checked December 2, 2026). Without them a request samples at a temperature of 1.0, and no other setting replaces a lowered temperature (Anthropic's API migration page).
A GitHub report on three apps that still defaulted to Sonnet 4.5 put it plainly: "A plain model-id swap is not enough." (leninworld, awesome-llm-apps issue #1376, November 28, 2026). The same report says a non-default temperature returns 400 on Sonnet 5.5.
The fixed request: the new model ID and a larger max_tokens, since thinking now counts toward it.
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,
"messages": [{"role": "user", "content": "Summarize this changelog."}]
}'
Re-test in this order:
- Send one real request on Sonnet 5.5 and log the model ID that comes back.
- Remove the sampling parameters and any prefilled assistant turn.
- Raise
max_tokens: thinking runs by default and counts toward it. - Drop the old beta headers, move the output format setting, and replace the old computer use tool version.
Claude Code users have a second place where the old ID hides. Anthropic's model-config page (checked December 2, 2026) says the sonnet alias still resolves to Sonnet 4.5 on Amazon Bedrock, and did so on Google Cloud's Agent Platform and Microsoft Foundry before v2.1.332. Its fix: replace Sonnet 4.5 wherever your configuration names it, in ANTHROPIC_DEFAULT_SONNET_MODEL, ANTHROPIC_MODEL, the --model flag or the availableModels allowlist. On Bedrock, pin a newer Sonnet as well, since AWS ends Sonnet 4.5 on April 8, 2027.
On the Claude API, update Claude Code to v2.1.284 or later, the first version that supports Sonnet 5.5, and set the model. Through our gateway, Claude Code 2.0.76 with no model set asked for claude-sonnet-4-5-20250929 on October 31, 2026 and failed; given --model claude-sonnet-5-5 it worked (the Claude Code 2.0 test, with the commands and the result).
If you want another way to run the new model, Claude Sonnet 5.5 is on OmniaKey. We sent one request through OmniaKey on December 2, 2026 at 02:42 UTC and got HTTP 200, stop reason end_turn, 33 input and 61 output tokens, in 1.9 s:
curl https://api.omniakey.com/v1/messages \
-H "x-api-key: $OMNIAKEY_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "claude-sonnet-5-5",
"max_tokens": 16000,
"messages": [
{"role": "user", "content": "In one sentence, explain what an HTTP 404 status code tells an API client."}
]
}'
The response, trimmed to the fields that matter:
{
"model": "claude-sonnet-5-5",
"stop_reason": "end_turn",
"usage": {"input_tokens": 33, "output_tokens": 61}
}
The reply named the new model ID. OmniaKey also serves Claude Haiku 5.5 and Claude Opus 5.5 when the task fits a smaller or larger model. For Sonnet 5.5 benchmarks and per-task costs, read the Sonnet 5.5 review; current rates are on the pricing page.
Frequently asked questions
When was Claude Sonnet 4.5 retired?
Claude Sonnet 4.5 was retired on November 30, 2026, on the Claude API and the other platforms Anthropic runs, 61 days after Anthropic notified developers on September 30 (Anthropic's deprecations page, checked December 2, 2026). Anthropic promises at least 60 days' notice for a public model.
Can I still use Claude Sonnet 4.5?
Not on the Claude API, Claude Platform on AWS, Google Cloud (Anthropic managed) or Microsoft Foundry: requests there fail, and the Claude API answers with a 404 not_found_error. Existing Amazon Bedrock customers can keep calling it until April 8, 2027; AWS says to expect higher pricing from January 8, 2027, and access can lapse after 15 days without use. Google-managed Google Cloud shut it down on November 30, 2026.
What is the difference between deprecated and retired?
A deprecated model still works but is no longer recommended, and Anthropic names a replacement and a retirement date; a retired model is no longer available and requests to it fail (Anthropic's deprecations page, checked December 2, 2026). Sonnet 4.5 was deprecated from September 30 to November 30, 2026, and is now Retired.
When does Sonnet 4.5 retire on Amazon Bedrock?
April 8, 2027 in commercial regions, and April 27, 2027 in US GovCloud (AWS lifecycle page, checked December 2, 2026). Bedrock's legacy date was October 8, 2026, and public extended access starts January 8, 2027; from the end-of-life date, requests to that version fail.
Is Claude Opus 4.5 being retired too?
Yes. claude-opus-4-5-20251101 was deprecated November 23, 2026 and retires January 22, 2027, with claude-opus-5-5 as the replacement; the undated ID is included (Anthropic's deprecations page, checked December 2, 2026). On December 2, 2026 it is listed as Deprecated, so it still answers.
Sources checked
All sources below were checked December 2, 2026.
- Anthropic: model deprecations
- Anthropic: release notes
- Anthropic: API errors
- Anthropic: models overview
- Anthropic: pricing
- Anthropic: Sonnet 5.5 migration guide
- Anthropic: API version 2026-10-21 migration
- Anthropic: Claude on Amazon Bedrock legacy
- AWS: Bedrock model lifecycle, legacy
- Google Cloud: Claude Sonnet 4.5
- Claude Code: model configuration
- GitHub issue: onestudytoday build log, November 30, 2026
- GitHub issue: luubu-guide docs watcher, December 1, 2026
- GitHub issue: awesome-llm-apps, November 28, 2026
Updated December 2, 2026. We will revise these dates when a cloud provider changes its Sonnet 4.5 retirement date.
Models in this article
Related articles
Claude Sonnet 5.5 review
A faster daily model with a more important API migration than the version number suggests.
Claude Code 2.0: Release Date, New Features and How to Update
Claude Code 2.0 shipped in 2025. The current release is 2.1.332.
Best model for Claude Code
Start daily coding with Sonnet 5.5 at $2 per million input tokens, move complex multi-file work to Opus 5.5 at $4, keep Fable 5.2 at $8 for the hardest long sessions, and hand quick edits and subagents to Haiku 5.5.