# claude-opus-4-0

Calls to the model claude-opus-4-0 on Anthropic stopped working on June 15, 2026.

On June 15, 2026, the model claude-opus-4-0 was retired. Calls specifying this model fail since that date. Anthropic announced the deprecation on April 14, 2026.

## The error Anthropic returns once claude-opus-4-0 is gone

HTTP 404

```json
{"type":"error","error":{"type":"not_found_error","message":"model: claude-opus-4-0"}}
```

## What to use instead

Move to claude-opus-4-8, which is recommended by Anthropic.

- API: Anthropic (api.anthropic.com)
- Model: claude-opus-4-0
- Kind: Model retirement
- Announced: April 14, 2026
- Takes effect: June 15, 2026
- Calls after that day: fail
- Calls it hits: `model claude-opus-4-0`
- Source: [Deprecations page](https://platform.claude.com/docs/en/about-claude/model-deprecations)
- Verified: November 6, 2026, against Anthropic's own pages
- Page: https://www.okapi.bot/models/anthropic/claude-opus-4-0/

## Anthropic's words

> API model name: claude-opus-4-20250514; Current state: Retired; Deprecated: April 14, 2026; Tentative retirement date: June 15, 2026

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
