---
title: 模型弃用
url: https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/about-claude/model-deprecations
description: 查看哪些 Claude 模型处于活跃、已弃用或已退役状态，并查找模型和 API 参数的退役日期及推荐替代方案。
---

随着更安全、更强大的模型发布，Anthropic 会定期退役旧模型。依赖 Anthropic 模型的应用程序可能需要偶尔更新才能继续正常运行。受影响的客户始终会通过电子邮件和文档收到通知。

本页列出了所有 API 弃用项以及推荐的替代方案。

## 概述

Anthropic 使用以下术语来描述模型生命周期：

* **活跃（Active）：** 该模型受到完全支持，并推荐使用。
* **Legacy（旧版）：** 该模型将不再接收更新，未来可能会被弃用。
* **已弃用（Deprecated）：** 该模型仍可正常使用，但不再推荐。Anthropic 会提供推荐的替代方案并指定退役日期。
* **Retired（已退役）：** 该模型已无法使用。对已退役模型的请求将会失败。

<Warning>
  已弃用的模型可能不如活跃模型可靠。请将工作负载迁移到活跃模型，以保持最高水平的支持和可靠性。
</Warning>

本页上的日期适用于 Anthropic 运营的平台：Claude API、[Claude Platform on AWS](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/build-with-claude/claude-platform-on-aws)、[Claude Models on Google Cloud (Anthropic managed)](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/build-with-claude/claude-models-on-google-cloud/anthropic-managed) 和 [Microsoft Foundry](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/build-with-claude/claude-in-microsoft-foundry)。合作伙伴运营的平台（Claude Models on Google Cloud (Google managed) 和 Amazon Bedrock）自行设定退役时间表，因此模型的生命周期状态和日期可能有所不同。请参阅 [Amazon Bedrock（`bedrock-mantle`）](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/build-with-claude/claude-in-amazon-bedrock#supported-models)、[Amazon Bedrock（`bedrock-runtime`）](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/build-with-claude/claude-on-amazon-bedrock-legacy#api-model-ids) 和 [Claude Models on Google Cloud (Google managed)](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/build-with-claude/claude-models-on-google-cloud/google-managed#api-model-ids) 模型表。

[Claude Code](https://code.saschaberens.de/_h/code.claude.com/docs/zh-CN/overview) 使用 Claude API，包括您使用 Claude 套餐登录时，因此本页上的日期适用。如果 Claude Code 设置为使用其他平台或网关，则适用的日期为处理其请求的平台的日期。

## 迁移到替代方案

一旦模型被弃用，请在退役日期之前将所有使用迁移到合适的替代方案。模型退役后，对其的请求将会失败。

为了帮助衡量替代模型在您的任务上的性能，请考虑在退役日期之前尽早使用新模型对您的应用程序进行全面测试。

有关迁移到最新 Claude 模型的具体说明，请参阅[迁移指南](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/about-claude/models/migration-guide)。

如果您使用 Claude Code，请先更新它，因为较新的模型可能需要较新版本的 Claude Code。然后，[检查您正在使用的模型](https://code.saschaberens.de/_h/code.claude.com/docs/zh-CN/model-config#checking-your-current-model)，即使您没有设置模型或使用的是 `sonnet` 等 [Claude Code 别名](https://code.saschaberens.de/_h/code.claude.com/docs/zh-CN/model-config#model-aliases)。如果该模型已被弃用或已退役，请将其[推荐替代方案](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/about-claude/model-deprecations#deprecation-history)设置为您的模型。此外，请在[您设置模型的所有位置](https://code.saschaberens.de/_h/code.claude.com/docs/zh-CN/model-config#setting-your-model)更改旧模型，包括子代理定义，并请您的管理员更改他们设置的任何模型。

## 通知

Anthropic 会通知对即将退役的模型有活跃部署的客户，对于公开发布的模型，会在模型退役前至少提前 60 天发出通知。

## 审核模型使用情况

为了帮助识别已弃用模型的使用情况，您可以访问 API 使用情况的审计。请按照以下步骤操作：

1. 前往 Claude Console 中的[用量](https://code.saschaberens.de/_h/platform.claude.com/usage)页面。
2. 点击**导出**。
3. 查看下载的 CSV 文件，了解按 API 密钥和模型细分的使用情况。

此审计可帮助您找到应用程序仍在使用已弃用模型的所有实例，使您能够在退役日期之前优先将其更新为较新的模型。

## 最佳实践

1. 定期查看文档以获取有关模型弃用的更新。
2. 在当前模型的退役日期之前尽早使用较新的模型测试您的应用程序。
3. 尽快更新您的代码以使用推荐的替代模型。
4. 如果您在迁移方面需要帮助或有任何疑问，请联系支持团队。

## 弃用的弊端与缓解措施

Anthropic 目前弃用和退役模型是为了确保新模型发布所需的容量。这会带来一些弊端：

* 重视特定模型的用户必须迁移到新版本。
* 研究人员将无法再使用这些模型进行正在进行的研究和比较研究。
* 模型退役会带来与安全和模型福祉相关的风险。

Anthropic 希望在未来某个时候能够再次公开提供过去的模型。在此期间，Anthropic 已承诺长期保存模型权重并采取其他措施来帮助缓解这些影响。有关更多详细信息，请参阅[关于模型弃用和保存的承诺](https://code.saschaberens.de/_h/www.anthropic.com/research/deprecation-commitments)。

## 模型状态

下表列出了当前模型和最近退役的模型及其状态：

| API model name | Current state | Deprecated | Tentative retirement date |
| :---- | :---- | :---- | :---- |
| claude-fable-5-2 | Active | N/A | Not sooner than November 9, 2027 |
| claude-mythos-5-2 | Active | N/A | Not sooner than November 9, 2027 |
| claude-fable-5-1 | Active | N/A | Not sooner than September 1, 2027 |
| claude-mythos-5-1 | Active | N/A | Not sooner than September 1, 2027 |
| claude-fable-5 | Active | N/A | Not sooner than June 9, 2027 |
| claude-mythos-5 | Active | N/A | Not sooner than June 9, 2027 |
| claude-mythos-preview | Deprecated | June 9, 2026 | To be announced |
| claude-opus-5-5 | Active | N/A | Not sooner than September 22, 2027 |
| claude-opus-5 | Active | N/A | Not sooner than July 24, 2027 |
| claude-opus-4-8 | Active | N/A | Not sooner than May 28, 2027 |
| claude-opus-4-7 | Active | N/A | Not sooner than April 16, 2027 |
| claude-opus-4-6 | Active | N/A | Not sooner than February 5, 2027 |
| claude-opus-4-5-20251101 | Deprecated | November 23, 2026 | January 22, 2027 |
| claude-opus-4-1-20250805 | Retired | June 5, 2026 | August 5, 2026 |
| claude-opus-4-20250514 | Retired | April 14, 2026 | June 15, 2026 |
| claude-sonnet-5-5 | Active | N/A | Not sooner than September 28, 2027 |
| claude-sonnet-5 | Active | N/A | Not sooner than June 30, 2027 |
| claude-sonnet-4-6 | Active | N/A | Not sooner than February 17, 2027 |
| claude-sonnet-4-5-20250929 | Deprecated | September 30, 2026 | November 30, 2026 |
| claude-sonnet-4-20250514 | Retired | April 14, 2026 | June 15, 2026 |
| claude-3-7-sonnet-20250219 | Retired | October 28, 2025 | February 19, 2026 |
| claude-haiku-5-5 | Active | N/A | Not sooner than October 7, 2027 |
| claude-haiku-4-5-20251001 | Active | N/A | Not sooner than October 15, 2026 |
| claude-3-5-haiku-20241022 | Retired | December 19, 2025 | February 19, 2026 |
| claude-3-haiku-20240307 | Retired | February 19, 2026 | April 20, 2026 |

## 弃用历史

以下各节列出了所有弃用项，最新的公告排在最前面。

### 2026-11-23：Claude Opus 4.5 模型

2026 年 11 月 23 日，Anthropic 通知使用 Claude Opus 4.5 的开发者，该模型即将在 Claude API 上退役。

| 退役日期 | 已弃用模型 | 推荐替代方案 |
| ----- | ----- | ----- |
| 2027 年 1 月 22 日 | `claude-opus-4-5-20251101` | `claude-opus-5-5` |

此次退役包括 `claude-opus-4-5`，即同一模型不带日期的 ID。

如需迁移，请参阅 Claude Opus 5.5 迁移指南中的[从 Claude Opus 4.5 或更早版本迁移](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/models/opus-5-5/migration-guide#migrating-from-claude-opus-45)。

如果您使用 Claude Code，或使用 Claude API 以外的平台，请参阅[概述](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/about-claude/model-deprecations#overview)了解适用的日期。有关需要更改的内容，请参阅[迁移到替代方案](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/about-claude/model-deprecations#migrating-to-replacements)。

### 2026-09-30：Claude Sonnet 4.5 模型

2026 年 9 月 30 日，Anthropic 通知使用 Claude Sonnet 4.5 的开发者，该模型即将在 Claude API 上退役。

| 退役日期 | 已弃用模型 | 推荐替代方案 |
| ----- | ----- | ----- |
| 2026 年 11 月 30 日 | `claude-sonnet-4-5-20250929` | `claude-sonnet-5-5` |

此次退役包括 `claude-sonnet-4-5`，即同一模型不带日期的 ID。

如果您使用 Claude Code，请参阅[概述](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/about-claude/model-deprecations#overview)了解适用的日期，并参阅[迁移到替代方案](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/about-claude/model-deprecations#migrating-to-replacements)了解需要更改的内容。该模型退役后，Claude API 上的 Claude Code 会显示一条以 [`There's an issue with the selected model`](https://code.saschaberens.de/_h/code.claude.com/docs/zh-CN/errors#theres-an-issue-with-the-selected-model) 开头的错误。如果您设置了[回退模型链](https://code.saschaberens.de/_h/code.claude.com/docs/zh-CN/model-config#fallback-model-chains)，Claude Code 则会切换到链中的下一个模型。在您发送下一条消息时，它会再次尝试 Claude Sonnet 4.5。

### 2026-06-05：Claude Opus 4.1 模型

<Note>
  该模型已于 2026 年 8 月 5 日退役。
</Note>

2026 年 6 月 5 日，Anthropic 通知了使用 Claude Opus 4.1 的开发者，该模型即将在 Claude API 上退役。

| 退役日期 | 已弃用模型 | 推荐替代方案 |
| ----- | ----- | ----- |
| 2026 年 8 月 5 日 | `claude-opus-4-1-20250805` | `claude-opus-4-8` |

### 2026-04-14：Claude Sonnet 4 和 Claude Opus 4 模型

<Note>
  这些模型已于 2026 年 6 月 15 日退役。
</Note>

2026 年 4 月 14 日，Anthropic 通知了使用 Claude Sonnet 4 和 Claude Opus 4 模型的开发者，这些模型即将在 Claude API 上退役。

| 退役日期 | 已弃用模型 | 推荐替代方案 |
| ----- | ----- | ----- |
| 2026 年 6 月 15 日 | `claude-sonnet-4-20250514` | `claude-sonnet-5-5` |
| 2026 年 6 月 15 日 | `claude-opus-4-20250514` | `claude-opus-4-8` |

### 2026-02-19：Claude Haiku 3 模型

<Note>
  该模型已于 2026 年 4 月 20 日退役。
</Note>

2026 年 2 月 19 日，Anthropic 通知了使用 Claude Haiku 3 的开发者，该模型即将在 Claude API 上退役。

| 退役日期 | 已弃用模型 | 推荐替代方案 |
| ----- | ----- | ----- |
| 2026 年 4 月 20 日 | `claude-3-haiku-20240307` | `claude-haiku-4-5-20251001` |

### 2025-12-19：Claude Haiku 3.5 模型

<Note>
  该模型已于 2026 年 2 月 19 日退役。
</Note>

2025 年 12 月 19 日，Anthropic 通知了使用 Claude Haiku 3.5 的开发者，该模型即将在 Claude API 上退役。

| 退役日期 | 已弃用模型 | 推荐替代方案 |
| ----- | ----- | ----- |
| 2026 年 2 月 19 日 | `claude-3-5-haiku-20241022` | `claude-haiku-4-5-20251001` |

### 2025-10-28：Claude Sonnet 3.7 模型

<Note>
  该模型已于 2026 年 2 月 19 日退役。
</Note>

2025 年 10 月 28 日，Anthropic 通知了使用 Claude Sonnet 3.7 的开发者，该模型即将在 Claude API 上退役。

| 退役日期 | 已弃用模型 | 推荐替代方案 |
| ----- | ----- | ----- |
| 2026 年 2 月 19 日 | `claude-3-7-sonnet-20250219` | `claude-sonnet-5-5` |

### 2025-08-13：Claude Sonnet 3.5 模型

<Note>
  这些模型已于 2025 年 10 月 28 日退役。
</Note>

2025 年 8 月 13 日，Anthropic 通知了使用 Claude Sonnet 3.5 模型的开发者，这些模型即将退役。

| 退役日期 | 已弃用模型 | 推荐替代方案 |
| ----- | ----- | ----- |
| 2025 年 10 月 28 日 | `claude-3-5-sonnet-20240620` | `claude-sonnet-5-5` |
| 2025 年 10 月 28 日 | `claude-3-5-sonnet-20241022` | `claude-sonnet-5-5` |

### 2025-06-30：Claude Opus 3 模型

<Note>
  该模型已于 2026 年 1 月 5 日退役。
</Note>

2025 年 6 月 30 日，Anthropic 通知了使用 Claude Opus 3 的开发者，该模型即将退役。

| 退役日期 | 已弃用模型 | 推荐替代方案 |
| ----- | ----- | ----- |
| 2026 年 1 月 5 日 | `claude-3-opus-20240229` | `claude-opus-4-8` |

### 2025-01-21：Claude 2、Claude 2.1 和 Claude Sonnet 3 模型

<Note>
  这些模型已于 2025 年 7 月 21 日退役。
</Note>

2025 年 1 月 21 日，Anthropic 通知了使用 Claude 2、Claude 2.1 和 Claude Sonnet 3 模型的开发者，这些模型即将退役。

| 退役日期 | 已弃用模型 | 推荐替代方案 |
| ----- | ----- | ----- |
| 2025 年 7 月 21 日 | `claude-2.0` | `claude-opus-4-8` |
| 2025 年 7 月 21 日 | `claude-2.1` | `claude-opus-4-8` |
| 2025 年 7 月 21 日 | `claude-3-sonnet-20240229` | `claude-sonnet-5-5` |

### 2024-09-04：Claude 1 和 Instant 模型

<Note>
  这些模型已于 2024 年 11 月 6 日退役。
</Note>

2024 年 9 月 4 日，Anthropic 通知了使用 Claude 1 和 Instant 模型的开发者，这些模型即将退役。

| 退役日期 | 已弃用模型 | 推荐替代方案 |
| ----- | ----- | ----- |
| 2024 年 11 月 6 日 | `claude-1.0` | `claude-haiku-4-5-20251001` |
| 2024 年 11 月 6 日 | `claude-1.1` | `claude-haiku-4-5-20251001` |
| 2024 年 11 月 6 日 | `claude-1.2` | `claude-haiku-4-5-20251001` |
| 2024 年 11 月 6 日 | `claude-1.3` | `claude-haiku-4-5-20251001` |
| 2024 年 11 月 6 日 | `claude-instant-1.0` | `claude-haiku-4-5-20251001` |
| 2024 年 11 月 6 日 | `claude-instant-1.1` | `claude-haiku-4-5-20251001` |
| 2024 年 11 月 6 日 | `claude-instant-1.2` | `claude-haiku-4-5-20251001` |

## API 参数弃用

Anthropic 偶尔会弃用不再适用于当前模型的请求参数。新模型可能会拒绝已弃用的参数，而新的 [API 版本](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/api/versioning)可能会针对所有模型移除该参数。

| 参数 | 状态 | 行为 | 推荐替代方案 |
| ----- | ----- | ----- | ----- |
| `temperature`、`top_p`、`top_k` | 已在 [API 版本 `2026-10-21`](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/api/migration-2026-10-21#sampling-parameters) 中移除 | 返回 400 错误。在较早的 API 版本中，当在 Claude 4.7 及更高版本模型和 [Claude Mythos Preview](https://code.saschaberens.de/_h/anthropic.com/glasswing) 上将其设置为非默认值时，会返回该错误。 | 省略这些参数，并使用[提示](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/build-with-claude/prompt-engineering/claude-prompting-best-practices)来引导模型行为。 |

有关迁移步骤，请参阅[迁移指南](https://code.saschaberens.de/_h/platform.claude.com/docs/zh-CN/about-claude/models/migration-guide)。
