On November 30, 2026, the official Anthropic model deprecations schedule enforces the Claude Sonnet 4.5 retirement across all Anthropic-operated APIs. Any production service still calling claude-sonnet-4-5-20250929 or the undated claude-sonnet-4-5 alias now receives a hard 404 not_found_error. That breaks live traffic fast. Because I still had one Node.js worker pinned to the dated snapshot ID, I spent this morning auditing my SDK calls and verifying what actually breaks when you switch to claude-sonnet-5-5.
Why the Claude Sonnet 4.5 Retirement Isn’t a One-Line Model Swap
At first glance, replacing claude-sonnet-4-5-20250929 with claude-sonnet-5-5 looks like a trivial environment-variable edit. However, Anthropic changed payload validation rules in newer API generations, so an unedited request body often fails with a 400 Invalid Request Error. Specifically, Claude Sonnet 5.5 drops support for legacy sampling parameters like temperature, top_p, and top_k. Instead, reasoning depth is governed by adaptive thinking through output_config.effort.
I learned this the hard way when my staging worker rejected requests even after I updated the model string. Even though my own handler omitted temperature, an older abstraction wrapper injected temperature: 0.7 behind the scenes. Therefore, you can’t just swap model names in .env and walk away. Also, keep your cloud topology in mind: while Anthropic-operated platforms—the direct Claude API, Claude Platform on AWS, and Microsoft Foundry—enforce the cutoff today, partner-managed Amazon Bedrock and Google-managed Vertex AI maintain separate lifecycle dates. I still prefer migrating every environment together so my team doesn’t debug split behavior across staging and production.

Updating TypeScript Payloads for Claude Sonnet 5.5
First, remove temperature, top_p, top_k, and any legacy thinking.budget_tokens blocks from your @anthropic-ai/sdk requests. Second, pass output_config: { effort: 'high' } (or 'low', 'medium', 'xhigh', 'max') depending on your latency budget. Here’s the exact TypeScript call pattern I moved into production after checking today’s API cutoff.
import Anthropic from '@anthropic-ai/sdk';
const anthropic = new Anthropic();
export async function summarizeIncident(logText: string) {
const response = await anthropic.messages.create({
model: 'claude-sonnet-5-5',
max_tokens: 2048,
// Do NOT pass temperature, top_p, or top_k on Sonnet 5.5
output_config: {
effort: 'medium',
},
messages: [
{
role: 'user',
content: `Summarize root cause and mitigation steps:\n${logText}`,
},
],
});
return response.content;
}
In addition, if you route requests through third-party SDK wrappers or shared helper libraries, add a defensive payload sanitizer right before calling messages.create. That takes ten lines. Because middleware layers frequently attach default sampling keys, stripping them in one central spot prevents surprise 400 failures across microservices—much like the defensive payload guards I wrote about in my Gmail AI Inbox Node.js guide.
const DEPRECATED_SAMPLING_KEYS = ['temperature', 'top_p', 'top_k'] as const;
export function cleanClaudePayload<T extends Record<string, unknown>>(
model: string,
payload: T
): T {
if (!model.startsWith('claude-sonnet-5')) {
return payload;
}
const sanitized = { ...payload };
for (const key of DEPRECATED_SAMPLING_KEYS) {
delete sanitized[key];
}
return sanitized;
}
Claude Sonnet 4.5 vs. Sonnet 5.5: Before and After
Beyond fixing broken endpoints, upgrading actually cuts your monthly token bill. While Sonnet 4.5 cost $3 per million input tokens and $15 per million output tokens, Sonnet 5.5 drops standard rates to $2 input and $10 output, with $0.10 per million cache-read tokens. Combined with server-side input trimming—similar to what I covered in my Gemini API file slicing controls guide—my batch triage jobs became roughly 33% cheaper overnight. Review these key differences before deploying.
| Attribute | Claude Sonnet 4.5 (Retired) | Claude Sonnet 5.5 (Replacement) |
|---|---|---|
| Model ID | claude-sonnet-4-5-20250929 | claude-sonnet-5-5 |
| Direct API Status (Nov 30, 2026) | Retired (returns 404 not_found_error) | Active |
| Sampling Parameters | Supported temperature, top_p, top_k | Removed; triggers 400 if sent |
| Thinking Control | Manual thinking.budget_tokens | Adaptive thinking via output_config.effort |
| Standard Token Pricing | $3 / 1M input, $15 / 1M output | $2 / 1M input, $10 / 1M output |
| Context Window | 200K standard (1M beta) | 1M context window |
How I Roll Out the Migration Safely in CI
I never push an LLM model bump directly to production without running a quick smoke suite against real prompt shapes. First, I grep every repository for hardcoded claude-sonnet-4-5 strings so no background cron job lingers on a dead endpoint. Second, I test structured JSON extraction prompts at both effort: 'low' and effort: 'medium' because adaptive thinking changes latency profiles. For example, simple classification routes stay fast at low, whereas multi-file code review prompts benefit from high. Because Sonnet 5.5 also expands the standard context window to 1M tokens and cuts batch API pricing to $1 input and $5 output per million tokens, I moved my nightly log-clustering jobs into the Batch API at the same time. Even so, I keep an alert on HTTP 400 and 404 rates for 24 hours after deploy so any forgotten legacy wrapper surfaces immediately.
Two Quick Developer FAQs on the Claude Sonnet 4.5 Retirement
Does the Claude Sonnet 4.5 retirement affect Bedrock and Vertex AI today?
Not necessarily on the exact same hour, because Amazon Bedrock and Google-managed Vertex AI publish their own independent deprecation schedules. However, Anthropic-operated platforms—including the direct Claude API, Claude Platform on AWS, and Microsoft Foundry—retire claude-sonnet-4-5-20250929 on November 30, 2026. I’d still migrate Bedrock and Vertex workloads promptly rather than waiting for another emergency cutoff.
How do I disable up-front thinking for fast tool loops on Sonnet 5.5?
Instead of setting temperature: 0 or passing disabled legacy thinking flags, use output_config: { effort: 'low' } for snappy single-turn responses. If you’re running tight agentic tool-calling loops where pre-turn reasoning adds unwanted delay, Anthropic supports thinking: { type: 'between_tools' } so the model reasons only between tool results. Test that option on your tool harness before flipping it globally.

