# claude-2.1: retirement date, replacement, how to migrate

`claude-2.1` was retired on 2025-07-21 on the Anthropic API; the vendor's named replacement is `claude-opus-4-8`.

This date is the one in the Anthropic notice for the Anthropic API. Other platforms that host the same model publish their own dates.

## Facts

- Retirement date: 2025-07-21
- Status: Retired, 450 days ago
- Replacement: `claude-opus-4-8`
- Official notice: https://platform.claude.com/docs/en/about-claude/model-deprecations#2025-01-21-claude-2-claude-2-1-and-claude-sonnet-3-models
- Notice date: 2025-01-21

## Find it in your code

```sh
npx @upseam/cli inspect anthropic
grep -rnF 'claude-2.1' .
```

## Migrate

- `claude-2.1` -> `claude-opus-4-8`

Change the id in your code and config to the vendor's named replacement. The record does not say whether outputs, parameters or prices stay the same, so read the vendor's notice before you switch. Vendor's notice: https://platform.claude.com/docs/en/about-claude/model-deprecations#2025-01-21-claude-2-claude-2-1-and-claude-sonnet-3-models

## Get warned automatically

Upseam is Dependabot for APIs: it watches vendor changelogs and opens a checked pull request when a change affects your code.

Last updated 2025-01-21
