Anthropic (Claude API) · model
claude-3-5-sonnet-20241022 deprecation: shutdown date & replacement
- Provider
- Anthropic (Claude API)
- Name
- Claude Sonnet 3.5 (v2)
- Type
- model
- Announced
- Shutdown
- Replacement
claude-sonnet-4-6- Source
- Official Anthropic (Claude API) notice
How to migrate off claude-3-5-sonnet-20241022
- Find every place that references it:
grep -rn --exclude-dir={node_modules,.git,dist} "claude-3-5-sonnet-20241022" . - Replace the model ID:
- model: "claude-3-5-sonnet-20241022" + model: "claude-sonnet-4-6" - Re-run your evals or a sample of real prompts — output style, token usage and pricing can change between models.
- Check config outside code too: environment variables, feature flags, prompt-management tools, and fine-tuned model references.
- Deploy before October 28, 2025, and add the CI scanner so it cannot come back.
Also shutting down on October 28, 2025 (Anthropic (Claude API))
Questions
Is claude-3-5-sonnet-20241022 deprecated?
Yes. Anthropic (Claude API) has deprecated claude-3-5-sonnet-20241022. It was shut down on October 28, 2025.
When does claude-3-5-sonnet-20241022 shut down?
October 28, 2025, according to Anthropic (Claude API)'s official deprecation notice.
What should I use instead of claude-3-5-sonnet-20241022?
Anthropic (Claude API) recommends claude-sonnet-4-6. Switch the model ID and re-test your prompts, since outputs, pricing and limits can differ.
What happens to requests to claude-3-5-sonnet-20241022 after the shutdown?
Requests using the retired model ID fail with an error, so any code still calling it breaks. Update and deploy before the shutdown date.