claude-2.1 vs claude-opus-4-8
Anthropic names claude-opus-4-8 as the replacement for claude-2.1. claude-2.1 shut down on Jul 21, 2025.
Retired→Active
Per 1M tokensclaude-2.1claude-opus-4-8
Input—$5
Output—$25
Blended changeUnknown: a list price is missing
ProviderAnthropicAnthropic
Statusretiredactive
ShutdownJul 21, 2025—
Context window—1M
Migrating
- Replace the ID
claude-2.1withclaude-opus-4-8everywhere it appears, including .env files, config and infrastructure templates. - Run your evaluation set or golden prompts on both before switching: output style, refusals and tool calling can differ between generations.
- Check max output tokens and parameters: newer models sometimes rename or drop sampling options.
- Watch the repo on ModelRot so the next retirement doesn't surprise you. claude-opus-4-8 lifecycle.