Anthropic Retired Claude Sonnet 4 and Opus 4 from the API on June 15 — Un-migrated Production Just Breaks
Anthropic fully retired Claude Sonnet 4 and Opus 4 from the API as of June 15. No grace period — from that day, calling those models returns an error. It was announced April 14, replacements are the current generation (Sonnet 4.6 / Opus 4.8), and subscription-plan programmatic usage moved to a separate credit pool.
"This model stops working tomorrow" — the scariest kind of news for a developer
Here's the deal: this isn't a flashy new-model launch. It's the opposite — and for developers it's more urgent than any launch. Anthropic fully retired Claude Sonnet 4 and Opus 4 from the API as of June 15, 2026. And not as a soft sunset: from that day, calling those models via the API returns an error immediately. Production apps that didn't migrate just break.
Quick setup. Anthropic didn't spring this. It announced the June 15 retirement back on April 14 — about two months of runway. The targets are the original pinned versions: Sonnet 4 and Opus 4 locked to a specific date. The replacements are newer generations in the same family — Sonnet 4.6 and Opus 4.8.
Some people can relax, some have a fire to put out. Regular Claude.ai users and Claude Code managed environments are unaffected — there, Anthropic auto-selects the latest model for you. But developers who called a specific model version directly via the API have to do the work. If your code has an old model string like claude-sonnet-4-... baked in, that call breaks starting June 15.
So here's what we're unpacking: why an AI company deliberately kills a perfectly good model, how annoying migration actually is (spoiler: usually one line), and why a quietly important billing change landed the same day. A few concepts and you've got it.
The players — Anthropic, "pinned versions," and migration
First, Anthropic. Maker of Claude, constantly rolling models to new generations. AI models version up like software, and running old versions forever is a cost. Rather than tying compute to old models, it's rational to move users to better, more efficient new ones and retire the old. Hence periodic deprecations.
The next "player" isn't a person, it's a concept: pinned versions. When you call a model via the API, you can specify an exact dated version like claude-sonnet-4-20250514. That's a pin. Pins give you consistency — "the exact model I tested" doesn't change — but they come with responsibility: when that version retires, you have to switch it yourself. Pinned calls are exactly what broke here.
The third "player" is migration — moving from the old model to a new one. It sounds scary, but in most cases migration is changing one model-name string in your code to the new model. Swap claude-sonnet-4-... for the latest Sonnet, test that outputs look like before, ship — done. But even "one line": if you don't change it, the service stops.
One sentence to bind it: as Anthropic cleans up an old generation, it handed developers who "pinned a specific version" a one-line homework — and the apps that skip the homework break on June 15. That's the skeleton.
What exactly changed
Words scatter, so here are the confirmed facts in a table.
| Item | Detail |
|---|---|
| Retired models | Claude Sonnet 4, Claude Opus 4 (original pinned versions) |
| Retirement date | June 15, 2026 (no grace period) |
| Advance notice | April 14, 2026 (~2 months prior) |
| Post-retirement behavior | API calls to those models return errors immediately |
| Unaffected | Regular Claude.ai users, Claude Code managed environments |
| Affected | API apps calling old model pins directly |
| Replacements | Current generation (Sonnet 4.6 / Opus 4.8, etc.) |
| Migration | Usually a one-line model-string swap + output testing |
| Second change | Subscription-plan programmatic usage moved to a separate monthly credit pool |
Line by line. First, "no grace period" is the crux. Deprecations are often soft — "not recommended, but it still works for a while." Here, calls return errors from June 15. "Let me use it a bit longer and migrate slowly" doesn't apply. Un-migrated production stops that day.
Second, "regular users and Claude Code unaffected" matters. If you just chat on Claude.ai or code with Claude Code, do nothing — Anthropic runs the latest model for you. The fire is only for developers who baked old version strings directly into API calls. At least the line between who's affected and who isn't is clear — small mercy.
Third, the quietly important bit: the billing change. Programmatic (API) usage via subscription plans moved to a separate monthly credit pool. That's a different axis from the model retirement, but it landed the same June 15 — hence "two deadlines on June 15." Swapping the model isn't the end; you also need to recheck how usage is metered.
Who gains, who loses
Start with Anthropic's win. Clearing old models concentrates compute on new ones. AI inference is expensive, and propping up old and new versions simultaneously is waste. Pushing users to better, more efficient latest models cuts cost and makes product quality easier to manage consistently. Keeping a tidy lineup is rational long-term.
Developers' ledger is two-sided. The loss is clear — a migration chore appeared suddenly, and if you skip it your service breaks; for a big codebase with old strings in many places, finding and changing them all is annoying. But there's a gain: the latest generation (Sonnet 4.6 / Opus 4.8) is usually smarter and more efficient, so the forced move is also a performance upgrade. Bitter pill, but it's nutritious once swallowed.
And the unexpected lesson goes to every API consumer: this is a reminder that AI models aren't forever. A design deeply dependent on a specific version becomes a risk the moment that model retires. So operational habits like "manage the model name in one place," "monitor deprecation notices," and "regularly test against new models" matter more — and this event drove that home for everyone.
Net: Anthropic gets resource efficiency, developers get a (annoying) performance upgrade. But whether "one line" really stays one line varies by codebase, and with the billing change layered on, June 15 was a busy day for builders.
Precedents — wins and losses
"API version sunsets" aren't unique to AI. Every major API service — cloud, payments, maps — periodically kills old versions. The success case is "ample advance notice + a clear migration guide." Anthropic notifying on April 14 and documenting who's affected and who isn't followed that playbook. Tell people early and they grumble but can prepare.
But the failure cases keep us honest. Even with advance notice, a developer who didn't see the notice only learns on deadline day when their service breaks. "We emailed it" and "did everyone read that email?" are entirely different things. So the bigger the change, the kinder it is to not stop at one notice — repeat reminders and dashboard warnings as the deadline nears. "No grace period" is especially exposed to criticism on this point.
Another balanced angle is the eternal "stability vs. recency" dilemma. Using a pinned version buys stability — "the model I validated doesn't change, so results stay consistent." But the price is "if it retires, you migrate yourself." Conversely, auto-tracking the latest model means no migration chore, but you risk the model silently changing and results shifting. There's no right answer — it depends on whether your service values consistency or recency more.
So the balanced conclusion: Anthropic's advance notice and documentation followed the playbook, but "no grace period" can be harsh on developers who missed it. The lesson from precedent: API dependence means "your service is tied to a vendor's schedule," so designing to be "swap-able" is the best defense.
How rivals counter
When Anthropic cuts old models cleanly, how do rivals respond? Counter one: a "we support longer" positioning. Some competitors can court stability-minded enterprise customers with "we keep old models alive longer and more gently." For conservative orgs that find frequent switching burdensome, "a long-lived version" is a surprising selling point.
Counter two: migration poaching. This moment — when a developer has to touch code anyway — is a rival's opportunity. "Since you're changing the model string anyway, why not switch to ours?" Sunset time is when users are most open to switching, prime timing for rivals to come selling migration guides and compatibility layers.
Counter three: the rise of model-abstraction tools. Libraries and proxies that let you call multiple AI providers with the same code shine at moments like this. Manage the model name in one place and you can swap with a single config line even when a model retires. Live through a few forced migrations and developers naturally gravitate toward "abstraction layers that reduce vendor lock-in."
And the wild card: trust. Model retirement is normal operations, but repeating "no grace period" makes developers anxious that "this company's models could get cut off suddenly again." Conversely, managing transitions predictably and kindly becomes a trust asset. So the quality of deprecation operations is more than a tech issue — long-term, it shapes loyalty in the developer ecosystem.
So what changes — by who you are
If you're a developer. Two things to do now. First, find all old model pins in your code, swap them for the latest model, and test outputs. Second, if you were running the API via a subscription plan, verify the billing moved to a separate credit pool. And for the future, restructure so the model name lives in one config spot — the next sunset becomes much easier. Pre-design it so "one line" really is one line.
If you're a decision-maker. The lesson: AI dependence means being tied to a vendor's schedule. If a core service is deeply baked into a specific model version, every retirement triggers emergency work. So pre-build a design that assumes model swaps (abstraction, multi-vendor, regression tests). And consider a vendor's deprecation policy — how predictable and kind it is — as an adoption criterion.
If you're a bystander. The significance: it shows AI models are not products but living, moving services. The AI you use quietly changes to a better version one day, and old versions retire. Knowing that behind every flashy new-model announcement comes this "old-model cleanup" gives you a more three-dimensional view of how the AI industry actually runs.
The one line across all three: AI models aren't forever — so building to be "swap-able" is the cheapest insurance. June 15 re-etched that lesson for every developer.
🥄 Three Things You're Probably Wondering
— Am I actually affected?
If you only use Claude.ai chat or Claude Code managed environments, no impact — Anthropic runs the latest model for you. Affected: cases where you called an old pinned version like claude-sonnet-4-... directly via the API. Search your code for such strings and you'll know immediately.
— Is migration really just one line? Usually swapping the model-name string and testing outputs is the whole job. But "usually," not "always." A new model can subtly change answer style or format, so sometimes you tweak prompts or post-processing. So don't just swap and ship — verify a few important cases look like before, then deploy.
— Why cut it off so cleanly with no grace period? Because propping up old models is a compute cost for the company. It gave ~2 months by announcing April 14 and judged that enough. But it can be harsh on developers who missed the notice, so "no grace period" is a defensible-but-criticizable choice — a trade-off between predictability and cost efficiency.
References
- Model deprecations — Claude API Docs
- Claude Sonnet 4 and Opus 4 Deprecation: What You Need to Do Before June 15 — MindStudio
- Two Claude Deadlines Hit June 15: What AI Builders Must Do — Enterprise DNA
- Anthropic Claude model deprecations on June 15, 2026 — Make Help Center
- Models overview — Claude API Docs
Numbers are as of announcement and may change.
출처
관련 기사

Anthropic Bought Stainless — the SDK Tool Even OpenAI and Google Used — for $300M+

Anthropic Launches Claude Marketplace — The First Real Enterprise AI App Store

Anthropic Just Opened a Marketplace — Snowflake, Harvey, and Replit Are In
AI 트렌드를 앞서가세요
매일 아침, 엄선된 AI 뉴스를 받아보세요. 스팸 없음. 언제든 구독 취소.