Claude Opus 4 vs Claude Sonnet 4: Retired, What to Use Now
Claude Opus 4 and Claude Sonnet 4 were both retired on Anthropic’s own platform on June 15, 2026, so new work should use Claude Opus 4.8, Opus 5.5, or Sonnet 5.5 instead. Anthropic lists Opus 4.8 as the replacement for Opus 4 and Sonnet 5.5 as the replacement for Sonnet 4.
Opus 4 was the more capable and more expensive model, while Sonnet 4 was the balanced, lower-cost choice. Both still run on some cloud partners, which matters if your app depends on them today.
For current models, see AI Comparison and our Anthropic Claude Models Guide.
How We Compared Claude Opus 4 and Claude Sonnet 4
We used Anthropic’s model deprecations page and models overview, checked on December 1, 2026. This is a review of published facts, not our own tests.
We removed older benchmark scores and performance claims, and added each model’s retirement status and replacement.
Claude Opus 4 vs Claude Sonnet 4: Quick Comparison
Opus 4 was the top model for hard work, and Sonnet 4 was the everyday model at a fifth of the price. Here is the short version.
| Feature | Claude Opus 4 | Claude Sonnet 4 |
|---|---|---|
| API ID | claude-opus-4-20250514 | claude-sonnet-4-20250514 |
| Price per 1M tokens | $15 input, $75 output | $3 input, $15 output |
| Context window | 200K tokens | 200K tokens |
| Max output | 32K tokens | 64K tokens |
| Retired on Anthropic | June 15, 2026 | June 15, 2026 |
| Still available on | Google Cloud (Google managed) | Google Cloud (Google managed) and Amazon Bedrock |
| Official replacement | Claude Opus 4.8 | Claude Sonnet 5.5 |
What Was Claude Opus 4?
Claude Opus 4 was Anthropic’s most capable model in mid-2025, aimed at complex coding and long agent tasks. It cost $15 per million input tokens and $75 per million output tokens.
Anthropic’s model deprecations page shows a deprecation notice on April 14, 2026 and retirement on June 15, 2026. Calls to a retired model on Anthropic’s API return an error.
What Was Claude Sonnet 4?
Claude Sonnet 4 was the balanced model in the Claude 4 family, built for everyday coding, writing, and analysis. It cost $3 per million input tokens and $15 per million output tokens.
It was retired on the same day as Opus 4. Anthropic names Claude Sonnet 5.5 as its replacement. Read Claude Sonnet 4 vs Claude 3.5 Sonnet for its earlier history.
Key Differences
The main trade-off was capability versus cost. The sections below cover the 3 main differences.
1. Capability
Opus 4 was the stronger choice for the hardest tasks, such as large refactors and long agent runs. Sonnet 4 handled most everyday work well.
2. Price
Sonnet 4 cost one-fifth of Opus 4. Opus 4 charged $15 input and $75 output per million tokens, and Sonnet 4 charged $3 input and $15 output.
3. Output Length
Sonnet 4 allowed longer outputs, at up to 64K tokens versus 32K for Opus 4. Both had a 200K token context window.
Where Can You Still Use Them?
Both models are retired on Anthropic’s own API but still listed on some cloud partners. Anthropic’s models overview marks Opus 4 as retired except on Google Cloud (Google managed), and Sonnet 4 as retired except on Google Cloud (Google managed) and Bedrock.
These partner listings can end without much notice. Plan your move to a current model even if your app still works today.
What Should You Use Instead?
Use Claude Opus 5.5 for most work, Sonnet 5.5 for lower cost, and Fable 5.2 for the hardest tasks. All current models have a 1 million token context window.
| Need | Pick | Price per 1M tokens |
|---|---|---|
| Official Opus 4 replacement | Claude Opus 4.8 | $5 input, $25 output |
| Recommended starting point | Claude Opus 5.5 | $4 input, $20 output |
| Official Sonnet 4 replacement | Claude Sonnet 5.5 | $2 input, $10 output |
| Hardest reasoning | Claude Fable 5.2 | $8 input, $40 output |
| Lowest cost | Claude Haiku 5.5 | From $0.10 input, $0.50 output |
Prices come from Anthropic’s models overview. Note that Opus 5.5 costs less than Opus 4.8 and is Anthropic’s suggested starting point.
How to Move to a Current Claude Model
Moving takes 4 steps. Most apps only need a model ID change and a round of testing.
- Replace claude-opus-4-20250514 with claude-opus-5-5 or claude-opus-4-8.
- Replace claude-sonnet-4-20250514 with claude-sonnet-5-5.
- Re-run your key prompts and compare the outputs.
- Review your costs, since current models are cheaper per token than Opus 4.
If you use Claude in the app instead of the API, the Pro plan costs $20 a month, or $17 a month on yearly billing.
Key Dates
Both models lasted just over a year on Anthropic’s API. These dates come from Anthropic’s pages.
| Date | Event | Model |
|---|---|---|
| May 2025 | Released | Opus 4 and Sonnet 4 |
| April 14, 2026 | Deprecation notice | Opus 4 and Sonnet 4 |
| June 15, 2026 | Retired on Anthropic | Opus 4 and Sonnet 4 |
| August 5, 2026 | Retired on Anthropic | Opus 4.1 |
Pros and Cons
Opus 4’s strength was capability, while Sonnet 4’s strength was value.
Claude Opus 4 Pros and Cons
Claude Opus 4 has 2 key pros and 2 key cons.
- Pro: Top capability in the Claude 4 family.
- Pro: Built for long agent tasks.
- Con: Retired on Anthropic since June 15, 2026.
- Con: High price of $15 input and $75 output.
Claude Sonnet 4 Pros and Cons
Claude Sonnet 4 has 2 key pros and 2 key cons.
- Pro: One-fifth the price of Opus 4.
- Pro: Longer 64K output limit.
- Con: Retired on Anthropic since June 15, 2026.
- Con: Smaller context window than current models.
FAQ
Are Claude Opus 4 and Sonnet 4 still available?
Not on Anthropic’s API, where both retired on June 15, 2026. Opus 4 is still listed on Google Cloud, and Sonnet 4 on Google Cloud and Bedrock.
What replaces Claude Opus 4?
Anthropic lists Claude Opus 4.8 as the replacement, and recommends Opus 5.5 as the starting point for most work.
What replaces Claude Sonnet 4?
Anthropic lists Claude Sonnet 5.5 as the replacement for Sonnet 4.
Which current Claude model is cheapest?
Claude Haiku 5.5 is the cheapest, from $0.10 input and $0.50 output per million tokens.
Final Verdict
Opus 4 was the stronger model and Sonnet 4 was the better value, but both are retired on Anthropic’s API. Move Opus 4 work to Opus 5.5 or Opus 4.8, and Sonnet 4 work to Sonnet 5.5.
For other options, see our Claude Alternatives guide and the GPT-5 vs Claude Opus 4.1 retirement guide.
To compare current Claude models with GPT and Gemini, see Best AI Models.
Arslan Abid
AI tools reviewer · AIComparison.ai
Arslan has spent 5 years analyzing AI platforms, comparing features, and checking pricing against official pages. Last checked: December 2026.