Breaking model
Claude Opus 4.1 retired on the Claude API; requests to it now fail
What changes
Deprecated June 5, 2026 and retired August 5, 2026 on Anthropic-operated platforms (Claude API, Claude Platform on AWS, Microsoft Foundry). Bedrock and Google Cloud set their own schedules. Recommended replacement is claude-opus-4-8.
Breaking: Calls fail after this date.
What to do
Move the model id to config; switch to claude-opus-4-8; add a startup check that the configured model resolves.
Strings to search for
claude-opus-4-1-20250805claude-opus-4-1
Source
https://platform.claude.com/docs/en/about-claude/model-deprecations