Model retirements · Claude API · checked
claude-3-opus-20240229 was shut down on 5 January 2026
Anthropic shut down claude-3-opus-20240229 on the Claude API on 5 January 2026 and recommends claude-opus-4-8 as the replacement. No price ratio: not listed on Anthropic's pricing page when checked on 8 October 2026, so no ratio is given. Anthropic documents two changes that can break code: a non-default temperature, top_p or top_k returns a 400 error; a newer tokenizer counts about 30% more tokens for the same text. It can no longer be asked, so its answers cannot be recorded now; compare the replacement against the outputs you still have.
Find every place your code and config name it, with this page's facts beside each:
$ npx --allow-git=root github:agentwares/model-migrate scan
npx --allow-git=root github:agentwares/model-migrate scan lists every model ID in your code and config that has a shutdown date, with its replacement, price ratio and this page's link. It needs no account and no API key, reads your files on your machine and sends nothing; its one request fetches this data. Free and MIT licensed.
The facts
- Platform
- Claude API
- Model ID
claude-3-opus-20240229- Announced
- 30 June 2025
- Shutdown
- 5 January 2026
- Recommended replacement
claude-opus-4-8- List price per million tokens, input / output
- Not listed on Anthropic's pricing page when checked on 8 October 2026, so no ratio is given.
Prices are the provider's list prices for the standard tier, text input and the shortest context tier. A per-token ratio leaves out how many tokens each model spends on the same prompt; only your own prompts show that.
What changes when you move
- Claude 4.7 and later models return a 400 error when temperature, top_p or top_k is set to a non-default value. Anthropic's Python SDK v1.0 and later removes these parameters, so passing them raises a TypeError. Omit them and guide the model with the prompt. source
- Claude 4.7 and later models use a newer tokenizer that produces approximately 30% more tokens for the same text, so the same prompt can cost more than the per-token ratio suggests. Measure on your own prompts. source
- Dates apply to the Claude API, Claude Platform on AWS and Microsoft Foundry. Amazon Bedrock and Google Cloud set their own retirement schedules.
How to test the replacement on your own prompts
- Find every call that names
claude-3-opus-20240229:npx --allow-git=root github:agentwares/model-migrate scanprints each file and line. - claude-3-opus-20240229 can no longer answer, so use the outputs you already logged, or your current outputs, as the baseline.
- Run the same prompts on
claude-opus-4-8, a cheaper sibling and a model from another provider, and compare with checks that need no judge: exact or normalised match, JSON validity and schema, tool-call names and arguments, refusals and length.npx --allow-git=root github:agentwares/model-migrate comparedoes this on your keys. - Price the move with the token counts each provider reports for those prompts, not with the list price alone;
comparereports the cost per 1,000 calls. - Make the changes listed above before you switch.
Keep testing until the date
capture and compare run on your keys and keep everything on your machine. To re-run the same prompts against your own endpoint whenever a provider ships a model, with the history kept, npx --allow-git=root github:agentwares/model-migrate export --agentcheck writes them as traces that agentcheck imports onto a target you monitor there. On its Pro plan they become checks that re-run when a provider ships a model, with 90 days of history.
Migration watch is not built. It would re-run your captured prompts on each replacement and each new model until 5 January 2026, with no endpoint needed, and email you what changed. If you would pay for that, say so with one click. The click is counted; nothing else is sent or stored.
Counted. Thank you; nothing else was sent.Other Claude API retirements
- claude-sonnet-4-5 — 30 Nov 2026
- claude-opus-4-1 — 5 Aug 2026
- claude-opus-4-20250514 — 15 Jun 2026
- claude-sonnet-4-20250514 — 15 Jun 2026
- claude-3-haiku-20240307 — 20 Apr 2026
- claude-3-5-haiku-20241022 — 19 Feb 2026
Every announced shutdown, by date
Sources
- Claude API deprecations — shutdown date and replacement, read 8 Oct 2026
- platform.claude.com/docs/en/about-claude/pricing — the changes above
Built only from the providers' own pages. No vendor intent is implied: a date is what the page says on the day it was read. Data: /models/retirements.json.
model-migrate is a free tool from agentcheck, which re-runs an agent's checks when a provider ships a model and replays recorded traces nightly, so a model change that breaks it arrives as one diff by email.