How to get ahead of a Claude model retirement before your app breaks
VCA Newsroom 작성
AI models don't stay around forever. Anthropic regularly retires older Claude models, and the model deprecations page is blunt about what happens next: "Requests to retired models fail." No graceful downgrade, no automatic switch. Your app or script just starts erroring.
Two retirements land on November 30, 2026:
claude-sonnet-4-5-20250929retires on the Claude API, withclaude-sonnet-5-5as the recommended replacement.- In Claude Code, fast mode for Opus 4.8 is removed. The changelog says that after that date, fast-mode requests on Opus 4.8 "return an error and do not fall back to standard Opus 4.8", and it recommends moving to Opus 5.5.
So this is a good week to learn the routine. Here it is.
Step 1: Learn the four lifecycle stages
Anthropic uses four terms:
- Active: fully supported and recommended.
- Legacy: no longer receiving updates, and may be deprecated later.
- Deprecated: still works, but has a recommended replacement and a retirement date.
- Retired: gone. Requests fail.
Anthropic says it gives at least 60 days' notice before retiring a publicly released model, by email and in the docs. Sixty days is enough time if you start when the email arrives, and not enough if you ignore it.
Step 2: Find every model ID you actually use
Model IDs hide in more places than you'd think: API calls, .env files, CI configs, Claude Code settings, agent definitions. Search your repo for them:
grep -rnE "claude-(opus|sonnet|haiku|fable|mythos)-[0-9][a-z0-9.-]*" \
--include=*.{ts,js,py,json,yaml,yml,toml,md} --include='.env*' \
--exclude-dir=node_modules .
Then check what's actually being called in production. The deprecations page explains how: open the Usage page in Claude Console, click Export, and look at the CSV, which breaks usage down by API key and model. The usage export shows calls that a code search misses, like an old script on a server nobody remembers.
Step 3: Choose between aliases and pinned IDs
Claude Code accepts both short aliases and full model names, and they behave differently. The model configuration docs describe them:
- Aliases like
opus,sonnetandhaikualways point at the latest model in that family. On the Anthropic API they currently resolve to Opus 5.5, Sonnet 5.5 and Haiku 5.5. Aliases never point at a retired model, but the model behind them can change. - Full model names like
claude-opus-5-5pin you to one version. You get predictable behavior, but you own the migration when that version retires.
A good rule of thumb: use aliases for interactive work, pin for automation. When you're chatting with Claude Code, a newer model is usually what you want. In a CI job or a production pipeline whose output you've tested, a silent model change is a risk, so pin it and upgrade on purpose.
Note that the aliases resolve differently depending on where you run them. The same docs show sonnet resolving to Sonnet 5.5 on the Anthropic API but to Sonnet 4.5 on Amazon Bedrock and Microsoft Foundry. If you run through a cloud provider, check its model table. The deprecations page notes that partner-operated platforms set their own retirement schedules.
Step 4: Know where Claude Code reads the model from
When something "mysteriously" still uses an old model, one of these settings is usually why. Claude Code picks the model in this priority order:
/model <alias|name>during a sessionclaude --model <alias|name>at startup- The
ANTHROPIC_MODELenvironment variable - The
modelfield in your settings file ANTHROPIC_DEFAULT_MODELfor new sessions
The aliases themselves can also be redirected with ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL and ANTHROPIC_DEFAULT_HAIKU_MODEL. An old value left in one of those variables quietly overrides whatever the alias would normally resolve to. Check your shell profile and your project's settings.json, not just your code.
Step 5: Test the replacement before you switch
The deprecations page recommends testing your applications with newer models "well before the retirement date." A practical way to do that:
- Pick 5–10 real tasks your app or agent handles, including a couple of tricky ones.
- Run each task on the current model and on the replacement, and save both outputs.
- Compare them for correctness and format. Newer models sometimes structure answers differently, which can break a parser even when the content is better.
- Only then change the ID, in one commit, so you can roll back cleanly.
Also check for parameter changes. The same page notes that temperature, top_p and top_k were removed in API version 2026-10-21 and now return a 400 error, so an upgrade can break a request that worked yesterday even when the model ID is valid.
Step 6: Put a reminder on the calendar
When you pin a model, write its retirement date next to it: in a code comment, in your README, or in a calendar reminder. The deprecations table lists a tentative earliest retirement date for every active model (for example, claude-opus-5-5 is listed as "Not sooner than September 22, 2027"). A two-minute note now saves you an outage later.
The short version
Search your repo and your usage export for model IDs, use aliases for interactive work and pinned IDs for automation, clear out stale environment overrides, and test the replacement before the date on the deprecations page. Do that once a quarter and model retirements stop being emergencies.
Auto-generated by Vibe Coding Academy on 2026년 11월 8일, grounded in the real sources linked above. We review for accuracy, but please verify time-sensitive details against the primary sources.
SECOND OPINION · BY VIBE CODING ACADEMY
Your agent says it’s done. What needs checking?
Paste your coding-agent conversation for supported claims, visible problems, and useful next steps. Reviews only the material you provide; no account needed to start.
Review a session