claude-2.1
Claude 2.1 (Anthropic)
Yes — Claude 2.1 is retired. Anthropic deprecated it on January 21, 2025 and shut it down on July 21, 2025; API requests to it now fail. The recommended replacement is Claude Opus 4.8.
The model that took Claude to a 200k context window in late 2023, when the rest of the field was at 8k to 32k. Long context was Anthropic's clearest differentiator for most of a year. Retired July 2025.
The facts
| Provider | Anthropic |
|---|---|
| Model id | claude-2.1 |
| Released | November 21, 2023 |
| Deprecated | January 21, 2025 |
| Shutdown | July 21, 2025 · 374 days ago |
| Status | Retired |
| Last verified | July 30, 2026 |
What to use instead
Claude 2.1 predates the Messages API. Migrating means moving off the legacy completions endpoint and its Human/Assistant prompt format entirely.
What parameters claude-opus-4-8 accepts on modelparams.dev
Change the id
In most cases the migration is one string. Check the parameter differences before you ship — newer models drop older sampling knobs more often than they add them.
- "model": "claude-2.1"
+ "model": "claude-opus-4-8"
Frequently asked questions
- When did Anthropic Claude 2.1 shut down?
- Anthropic Claude 2.1 shut down on July 21, 2025. API requests to it fail from that date onward.
- What replaces Anthropic Claude 2.1?
- Anthropic recommends Claude Opus 4.8 (`claude-opus-4-8`) as the replacement for Anthropic Claude 2.1. Claude 2.1 predates the Messages API. Migrating means moving off the legacy completions endpoint and its Human/Assistant prompt format entirely.
- Is Anthropic Claude 2.1 still available?
- No. Anthropic Claude 2.1 is retired and no longer served — it was shut down on July 21, 2025. Calls to it return an error.
- How do I migrate from Anthropic Claude 2.1 to claude-opus-4-8?
- Swap the model id in your API call: replace "claude-2.1" with "claude-opus-4-8". Claude 2.1 predates the Messages API. Migrating means moving off the legacy completions endpoint and its Human/Assistant prompt format entirely.
Sources
- Anthropic model deprecations · platform.claude.com · accessed July 30, 2026
Found something wrong? The data is one YAML file — edit it on GitHub.
This page, for machines
Drop the badge in a README so it turns red the day this model is retired:
[](https://modeldeprecations.dev/anthropic/claude-2.1)