Okapi Okapi

Anthropic claude-3-haiku-20240307 model retirement

Stopped workingSubscribe to AnthropicShare

On April 20, 2026, Anthropic retired the model claude-3-haiku-20240307 following its deprecation on February 19, 2026. Any requests specifying model claude-3-haiku-20240307 fail since that date.


The error you get

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

HTTP 404
{"type":"error","error":{"type":"not_found_error","message":"model: claude-3-haiku-20240307"}}

What to use instead of claude-3-haiku-20240307

Move to claude-haiku-4-5-20251001, which is recommended by Anthropic.

In Anthropic's words

API model name: claude-3-haiku-20240307; Current state: Retired; Deprecated: February 19, 2026; Tentative retirement date: April 20, 2026

Anthropic, Deprecations page

Facts

API
Anthropic api.anthropic.com
Model
claude-3-haiku-20240307
Released
March 13, 2024 (models.dev)
Kind
Model retirement
Announced
February 19, 2026
Takes effect
April 20, 2026
Calls after that day
Fail
Source
Deprecations page
Last updated
Verified
, against Anthropic's own pages

Questions

When does claude-3-haiku-20240307 shut down?

Calls to the model claude-3-haiku-20240307 on Anthropic stopped working on April 20, 2026.

What happens to calls after April 20, 2026?

They have failed since April 20, 2026.

What error does claude-3-haiku-20240307 return once it is shut down?

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

When was claude-3-haiku-20240307 released?

claude-3-haiku-20240307 was released on March 13, 2024, according to models.dev.

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.


More from Anthropic 10

  1. claude-3-haikuModel retirement Stopped working
  2. claude-3-haiku-latestModel retirement Stopped working
  3. claude-opus-4Model retirement Stopped working
  4. claude-opus-4-0Model retirement Stopped working
  5. claude-opus-4-20250514Model retirement Stopped working
  6. claude-opus-4-latestModel retirement Stopped working
  7. claude-sonnet-4Model retirement Stopped working
  8. claude-sonnet-4-0Model retirement Stopped working
  9. claude-sonnet-4-20250514Model retirement Stopped working
  10. claude-sonnet-4-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.