When does Claude 4 shut down? June 15, 2026. But the shutdown didn't start there — and it won't end there either. This timeline covers every date in the Claude 4 deprecation process, from the initial announcement through the post-shutdown aftermath. Whether you're just learning about this or scrambling to migrate, this is your complete roadmap.
The Complete Claude 4 Deprecation Timeline
Here's every key date in the Claude 4 shutdown process, with what happened (or will happen) and what you should do at each stage:
Deprecation and Sunset headers. Console dashboard shows deprecation alerts. Documentation updated with migration guides.What Happens on June 15?
On June 15, 2026, Anthropic will permanently remove the Claude 4 Opus and Claude 4 Sonnet model endpoints. Here's exactly what changes:
API Calls Fail
Any request to claude-4-opus or claude-4-sonnet returns HTTP 410 Gone
API Keys Still Work
Your Anthropic API key works for Opus 4.8 and Sonnet 4.6 — just update the model ID
Docs Updated
Claude 4 model IDs removed from documentation. Only newer models listed.
Integrations Break
Any third-party tool, library, or framework using Claude 4 model IDs will fail until updated
Emergency Fix: If You're Already Seeing 410 Errors
If your application is already broken, here's the fastest fix — most developers complete this in under 5 minutes:
Option 1: Stay with Anthropic (Quickest Fix)
Update the model ID in your code. Same API key, same parameters, same code structure:
# Python
# Before (broken):
client.messages.create(model="claude-4-opus", ...)
# After (fixed):
client.messages.create(model="claude-opus-4-8", ...) # 67% cheaper
# or:
client.messages.create(model="claude-sonnet-4-6", ...) # 50% cheaper
# Node.js
// Before (broken):
{ model: "claude-4-sonnet" }
// After (fixed):
{ model: "claude-sonnet-4-6" } // 50% cheaper
# curl
# Before (broken):
"model": "claude-4-opus"
# After (fixed):
"model": "claude-opus-4-8" // 67% cheaper
Option 2: Switch Providers (Biggest Savings)
If you want to save 67-99% on API costs, switch to a cheaper provider. Here are the top alternatives:
10 Migration Guides — Step by Step
Choose your target provider and follow the step-by-step migration guide with code snippets, cost comparisons, and FAQ:
Need help choosing?
APIpulse Pro includes the Migration Cost Calculator, Best Model for Your Use Case tool, and real-time pricing for 42 models across 10 providers.
Find Your Migration Deadline
Use this quick reference to find exactly when you need to act based on your situation:
Key Numbers to Remember
Don't Get Caught Off Guard
Use APIpulse to calculate your exact migration cost, compare 42 alternatives, and find the cheapest option for your usage. Most developers save 67-99%.
Calculate Your Migration Cost →Frequently Asked Questions
When does Claude 4 shut down?
Claude 4 shuts down on June 15, 2026. On this date, all API calls to claude-4-opus and claude-4-sonnet will return HTTP 410 Gone. There is no grace period or extension.
What is the full Claude 4 deprecation timeline?
The timeline: May 2026 — deprecation announced. Early June — warning emails and API headers. June 10 — 5-day warning. June 13 — 2 days left. June 14 — last 24 hours. June 15 — full shutdown, all endpoints return 410 Gone.
Is there a grace period after Claude 4 shuts down?
No. The shutdown on June 15, 2026 is permanent and immediate. All API calls return HTTP 410 Gone with no grace period, no extension, and no way to restore access to these model versions.
What happens to my Claude 4 API key after shutdown?
Your Anthropic API key still works — but only for newer models like Claude Opus 4.8 and Sonnet 4.6. The key isn't revoked; the Claude 4 model endpoints are removed. Update your model ID to continue using the same key.
What are the best Claude 4 alternatives?
Top alternatives by cost: DeepSeek V4 Flash ($0.14/$0.28, 99% cheaper), Llama 4 Maverick ($0.27/$0.85, 98% cheaper), DeepSeek V4 Pro ($0.44/$0.87, 97% cheaper), Kimi K2.6 ($0.95/$4.00, 94% cheaper), and GPT-5 ($1.25/$10, 92% cheaper). Use the cost calculator for your specific usage.
How do I migrate from Claude 4 before the shutdown?
Migration takes 5-15 minutes: (1) Find all model references with grep, (2) Update model IDs — claude-4-opus → claude-opus-4-8 or claude-4-sonnet → claude-sonnet-4-6, (3) Test your application, (4) Deploy. If switching providers, you'll also need a new API key. See the complete checklist.
Can I still use Claude after June 15?
Yes — but you need to use newer model IDs. Claude Opus 4.8 (claude-opus-4-8) and Sonnet 4.6 (claude-sonnet-4-6) are available and actually cheaper than Claude 4. Or switch to DeepSeek, GPT-5, Gemini, or any of the 42 alternatives tracked by APIpulse.
Related Resources
Get Shutdown Alerts
Be the first to know about pricing changes, new alternatives, and migration updates.