🚨 Claude 4 Shutdown — June 15, 2026

Claude 4 Is Dead — What to Do Now

Claude 4 Opus and Sonnet 4 shut down today. Your API calls are returning 404. Here's how to fix your app in 30 minutes — and save 67-97%.

Published Jun 15, 2026 · 8 min read

⛔ SHUTDOWN COMPLETE
Claude 4 Opus and Claude 4 Sonnet API calls are now failing with 404 errors. There is no way to restore access.

It happened. As of June 15, 2026, Claude 4 Opus and Claude 4 Sonnet are permanently shut down. If your app is still calling these models, you're getting 404 errors right now. This guide walks you through the fix — it takes 30 minutes or less.

404
Not Found — claude-4-opus is no longer available

The 30-Minute Fix

You don't need to rewrite your app. You just need to change one thing: the model ID.

1

Find Every Claude 4 Reference

Run this in your project root:

grep -r "claude-4-opus\|claude-4-sonnet" --include="*.js" --include="*.ts" --include="*.py" --include="*.json" .

This finds every file that references the dead model IDs. Don't forget config files, environment variables, and documentation.

2

Update Model IDs

The API format is identical — you only change the model name:

// Before (dead — returning 404)
model: "claude-4-opus"

// After (official successor)
model: "claude-opus-4-8"

No other code changes needed. Same API, same SDK, same parameters.

3

Test and Deploy

Make a few test calls to verify the new model works with your prompts. Then deploy. That's it — your app is back online.

Claude 4 Is Dead — Cost Comparison

Here's what you were paying vs what you'll pay now (per 1M tokens):

Claude 4 Opus (DEAD)
$15 / $75
Input / Output — 404 ERROR
Claude Opus 4.8 (successor)
$5 / $25
67% cheaper · Same API format
Claude 4 Sonnet (DEAD)
$3 / $15
Input / Output — 404 ERROR
Claude Sonnet 4.6 (successor)
$3 / $15
Same price · 5x context window

Budget Alternatives (save even more)

DeepSeek V4 Pro
$0.44 / $0.87
97% cheaper than Claude 4 Opus
Llama 4 Maverick
$0.27 / $0.85
98% cheaper · Open source
⚡ Pro

Calculate Your Exact Savings

Enter your monthly token usage and see exactly how much you'll save by migrating off Claude 4.

Try Calculator →

Common Error Messages (and What They Mean)

HTTP 404 — Not Found

The model ID claude-4-opus or claude-4-sonnet no longer exists. Replace with claude-opus-4-8 or claude-sonnet-4-6.

"model not found" Error

Same root cause — the model has been removed from Anthropic's API. Update your model ID string.

OpenRouter / Bedrock Errors

If you access Claude 4 through a third party, check their dashboard. Most providers have already removed Claude 4 from their available models list.

LangChain and LlamaIndex Users

Update your model string in the chat instantiation:

# LangChain
chat = ChatAnthropic(model="claude-opus-4-8")  # was "claude-4-opus"

# LlamaIndex
llm = Anthropic(model="claude-opus-4-8")  # was "claude-4-opus"

Both libraries use the same underlying SDK — only the model ID changes.

Why Claude Opus 4.8?

Claude Opus 4.8 is the official successor to Claude 4 Opus. It offers:

Fix Your App Now

Use the APIpulse cost calculator to see exactly how much you'll save, then update your model ID. It takes 30 minutes — your app will be back online and cheaper.

Calculate Your Savings →

Frequently Asked Questions

Can I still use Claude 4 somehow?

No. All API endpoints for Claude 4 Opus and Claude 4 Sonnet return 404. There is no degraded mode, no grace period, no workaround. The models are permanently retired.

Will my prompts work the same on Claude Opus 4.8?

Yes. Claude Opus 4.8 uses the same API format and responds to the same prompts. You may see slightly different outputs (it's a newer model), but your existing prompts will work without modification.

What if I have fine-tuned Claude 4 models?

Fine-tuned models are also dead. You'll need to re-fine-tune on Claude Opus 4.8 or Claude Sonnet 4.6. Contact Anthropic support for guidance on transferring fine-tuned weights.

Is it worth switching to a cheaper provider like DeepSeek?

It depends on your quality requirements. DeepSeek V4 Pro is 97% cheaper and handles most tasks well, but Claude Opus 4.8 may be better for complex reasoning. Use the APIpulse comparison tool to test both against your use case.

Pro

Never Get Caught by a Deprecation Again

APIpulse Pro monitors 39 models across 10 providers and alerts you 30 days before any deprecation.

Get Pro — $29 →

Related Reading