Migration assistant

Replacing Claude Sonnet 4?

Ranked replacement candidates, each shown with exactly what changes if you switch. Same-provider matches surface first because switching cost is lower; capability regressions are flagged in red.

AN
Migrating from

Claude Sonnet 4

Anthropic · Claude Sonnet 4 · Active
Input: $3/M Output: $15/M Context: 200K
View detail →
#1 RECOMMENDED

Claude Opus 4

Anthropic · Claude Opus 4
same provider; 400% more expensive input; same context window
View full detail →
What changes if you switch
Field Claude Sonnet 4 Claude Opus 4 Impact
Input price $3/M $15/M +400% more expensive
Output price $15/M $75/M +400% more expensive
Context window 200K tokens 200K tokens Same capacity
Vision input ✓ supported ✓ supported Preserved
Function calling ✓ supported ✓ supported Preserved
Prompt caching ✓ supported ✓ supported Preserved
Lifecycle Active Active Same status
Other candidates
#2

Gemini 2.5 Flash

Google Gemini
90% cheaper input; 1M context (larger)
Details →
Input price: Save 90%Output price: Save 83%Context window: +424% larger
#3

Gemini 2.5 Flash-Lite

Google Gemini
97% cheaper input; 1M context (larger)
Details →
Input price: Save 97%Output price: Save 97%Context window: +424% larger
#4

Gemini 2.5 Pro

Google Gemini
58% cheaper input; 1M context (larger)
Details →
Input price: Save 58%Output price: Save 33%Context window: +424% larger
#5

Gemini 3.1 Flash-Lite

Google Gemini
92% cheaper input; 1M context (larger)
Details →
Input price: Save 92%Output price: Save 90%Context window: +400% larger
Methodology

How candidates are ranked

Candidates are ranked by how much of the source model's profile each one preserves — weighing switching cost (same provider or model family surface first), capability parity (what you keep versus what you'd lose), context window, and pricing direction. A candidate that is itself deprecated is pushed down the list; one that's already retired is never recommended.

Ranking is purely algorithmic — no editorial weighting, no paid placement. Every value is pulled from each provider's own documentation; click any model name to see the source-linked detail.