model-deprecations changedabout-claude/model-deprecations
Nearest release: v2.1.296, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+8added
Lines−8removed
From line
126
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits12to this page, all time
The whole hunk
from line 126, old and new numbered
/
from line 126
126126
127127| Retirement date | Deprecated model | Recommended replacement |
128128| --------------- | -------------------------- | ----------------------- |
129| June 15, 2026 | `claude-sonnet-4-20250514` | `claude-sonnet-4-6` |
129| June 15, 2026 | `claude-sonnet-4-20250514` | `claude-sonnet-5-5` |
130130| June 15, 2026 | `claude-opus-4-20250514` | `claude-opus-4-8` |
131131
132132### 2026-02-19: Claude Haiku 3 model
from line 163
163163
164164| Retirement date | Deprecated model | Recommended replacement |
165165| ----------------- | ---------------------------- | ----------------------- |
166| February 19, 2026 | `claude-3-7-sonnet-20250219` | `claude-sonnet-4-6` |
166| February 19, 2026 | `claude-3-7-sonnet-20250219` | `claude-sonnet-5-5` |
167167
168168### 2025-08-13: Claude Sonnet 3.5 models
169169
from line 175
175175
176176| Retirement date | Deprecated model | Recommended replacement |
177177| ---------------- | ---------------------------- | ----------------------- |
178| October 28, 2025 | `claude-3-5-sonnet-20240620` | `claude-sonnet-4-6` |
179| October 28, 2025 | `claude-3-5-sonnet-20241022` | `claude-sonnet-4-6` |
178| October 28, 2025 | `claude-3-5-sonnet-20240620` | `claude-sonnet-5-5` |
179| October 28, 2025 | `claude-3-5-sonnet-20241022` | `claude-sonnet-5-5` |
180180
181181### 2025-06-30: Claude Opus 3 model
182182
from line 202
202202| --------------- | -------------------------- | ----------------------- |
203203| July 21, 2025 | `claude-2.0` | `claude-opus-4-8` |
204204| July 21, 2025 | `claude-2.1` | `claude-opus-4-8` |
205| July 21, 2025 | `claude-3-sonnet-20240229` | `claude-sonnet-4-6` |
205| July 21, 2025 | `claude-3-sonnet-20240229` | `claude-sonnet-5-5` |
206206
207207### 2024-09-04: Claude 1 and Instant models
208208
from line 226
226226
227227Anthropic occasionally deprecates request parameters that no longer apply to current models. How the API treats a deprecated parameter depends on the model, as the following table shows. Most SDKs keep deprecated parameters in their request types so existing code continues to type-check. The Python SDK (v1.0 and later) removes `temperature`, `top_p`, and `top_k`, so passing them raises a `TypeError`.
228228
229| Parameter | Status | Behavior | Recommended replacement |
230| ------------------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
231| `temperature`, `top_p`, `top_k` | Deprecated (Claude Opus 4.7 and later) | Returns a 400 error when set to a non-default value on Claude 4.7 and later models and [Claude Mythos Preview](https://anthropic.com/glasswing). | Omit and use [prompting](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices) to guide model behavior. |
229| Parameter | Status | Behavior | Recommended replacement |
230| ------------------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
231| `temperature`, `top_p`, `top_k` | Deprecated (Claude 4.7 and later models) | Returns a 400 error when set to a non-default value on Claude 4.7 and later models and [Claude Mythos Preview](https://anthropic.com/glasswing). | Omit and use [prompting](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices) to guide model behavior. |
232232
233233For migration steps, see the [migration guide](https://platform.claude.com/docs/en/about-claude/models/migration-guide).
234234
No line in this hunk matches that.