claude-opus-5: retirement date and replacement

This model retires on July 24, 2027. After that date, API calls naming it fail: there is no silent fallback to a newer model.

RetirementJuly 24, 2027 — 356 days left.
Deprecated onnot announced
Replace withNo direct replacement announced.

Note: Anthropic's documentation says "not sooner than" this date. That is a floor, not a commitment — retirement may be announced later, but not earlier.

What actually happens

A request naming a retired model returns an API error. The part that catches teams out in production: nothing switches automatically to an equivalent model, and the error surfaces at call time, not at deploy time. Model IDs pinned in an environment file or an old evaluation script are the ones that break most often, because nobody re-reads them.

Check your own code

Search your code, environment variables and config files for the exact ID:

grep -rn "claude-opus-5" . --exclude-dir=node_modules

Source: Anthropic's official documentationread on 8/2/2026, 7:56:45 PM UTC. See all models →