Okapi Okapi

Anthropic claude-3-5-sonnet model retirement

Stopped workingSubscribe to AnthropicShare

Calls to the model claude-3-5-sonnet on Anthropic stopped working on October 28, 2025.


The error you get

What Anthropic answers a call to claude-3-5-sonnet once the model is gone, as recorded from real responses:

HTTP 404
{"type":"error","error":{"type":"not_found_error","message":"model: claude-3-5-sonnet"}}

What to use instead of claude-3-5-sonnet

Move to claude-sonnet-5-5, recommended by Anthropic.

In Anthropic's words

Retirement date: October 28, 2025; Deprecated model: claude-3-5-sonnet-20240620; Recommended replacement: claude-sonnet-5-5

Anthropic, Deprecations page

Facts

API
Anthropic api.anthropic.com
Model
claude-3-5-sonnet
Kind
Model retirement
Takes effect
October 28, 2025
Calls after that day
Fail
Source
Deprecations page
Last updated
Verified
, against Anthropic's own pages

Questions

When does claude-3-5-sonnet shut down?

Calls to the model claude-3-5-sonnet on Anthropic stopped working on October 28, 2025.

What happens to calls after October 28, 2025?

They have failed since October 28, 2025.

What error does claude-3-5-sonnet return once it is shut down?

Anthropic answers HTTP 404: "model: claude-3-5-sonnet". Send another model to fix it.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


claude-3-5-sonnet on other APIs 1

  1. Vertex AI claude-3-5-sonnetModel retirement Stopped working

More from Anthropic 10

  1. claude-2.0Model retirement Stopped working
  2. claude-2.1Model retirement Stopped working
  3. claude-3-sonnetModel retirement Stopped working
  4. claude-3-sonnet-20240229Model retirement Stopped working
  5. claude-3-5-sonnet-20240620Model retirement Stopped working
  6. claude-3-5-sonnet-20241022Model retirement Stopped working
  7. claude-3-5-sonnet-latestModel retirement Stopped working
  8. claude-3-opusModel retirement Stopped working
  9. claude-3-opus-20240229Model retirement Stopped working
  10. claude-3-opus-latestModel retirement Stopped working

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Anthropic

Hear about each breaking change Anthropic announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Anthropic

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.