• 消息
  • 托管智能体
  • 管理
Search...
⌘K
模型
模型概览模型 ID 与版本控制选择模型Claude Fable 5 和 Claude Mythos 5 介绍Claude Opus 4.8 新功能在模型版本之间升级模型弃用模型卡片系统提示定价
Log in
模型 ID 与版本控制
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Solutions

  • AI agents
  • Code modernization
  • Coding
  • Customer support
  • Education
  • Financial services
  • Government
  • Life sciences

Partners

  • Amazon Bedrock
  • Google Cloud's Vertex AI

Learn

  • Blog
  • Courses
  • Use cases
  • Connectors
  • Customer stories
  • Engineering at Anthropic
  • Events
  • Powered by Claude
  • Service partners
  • Startups program

Company

  • Anthropic
  • Careers
  • Economic Futures
  • Research
  • News
  • Responsible Scaling Policy
  • Security and compliance
  • Transparency

Learn

  • Blog
  • Courses
  • Use cases
  • Connectors
  • Customer stories
  • Engineering at Anthropic
  • Events
  • Powered by Claude
  • Service partners
  • Startups program

Help and security

  • Availability
  • Status
  • Support
  • Discord

Terms and policies

  • Privacy policy
  • Responsible disclosure policy
  • Terms of service: Commercial
  • Terms of service: Consumer
  • Usage policy
模型与定价/模型

模型 ID 与版本管理

介绍 Claude 模型 ID 的结构和版本管理方式,包括自 Claude 4.6 代起引入的无日期格式及其对稳定性的意义。

每个 Claude 模型 ID 都标识模型的一个固定版本。当您在 API 请求中使用某个模型 ID 时,该 ID 所对应的底层模型在其整个生命周期内保持不变。此保证仅适用于模型 ID,而不适用于 Claude API 为部分早期模型提供的便捷别名(参见 4.6 代之前)。

模型 ID 格式

Claude 模型 ID 遵循带版本的命名方案。

4.6 代及之后

从 Claude 4.6 代开始,模型 ID 采用无日期格式:

claude-{name}-{major}-{minor}

例如:claude-sonnet-4-6、claude-opus-4-6、claude-opus-4-7 和 claude-opus-4-8

在 Amazon Bedrock 上,对应的格式为:

anthropic.claude-{name}-{major}-{minor}

例如:anthropic.claude-sonnet-4-6、anthropic.claude-opus-4-7、anthropic.claude-opus-4-8

Claude Opus 4.6 是最后一个包含 -v1 后缀的 Bedrock 模型 ID(anthropic.claude-opus-4-6-v1)。从 Claude Sonnet 4.6 开始,Anthropic 移除了该后缀。

在 Google Cloud Vertex AI 上,格式与 Claude API 一致。

4.6 代之前

4.6 代之前的模型在 ID 中包含快照日期:

claude-{name}-{major}-{minor}-{YYYYMMDD}

例如:claude-sonnet-4-5-20250929、claude-haiku-4-5-20251001

在 Amazon Bedrock 上,这些模型使用以下格式:

anthropic.claude-{name}-{major}-{minor}-{YYYYMMDD}-v1:0

例如:anthropic.claude-sonnet-4-5-20250929-v1:0

在 Google Cloud Vertex AI 上,日期以 @ 分隔:

claude-{name}-{major}-{minor}@{YYYYMMDD}

例如:claude-haiku-4-5@20251001

在 Claude API 上,这些模型还具有较短的别名(例如 claude-sonnet-4-5),指向该次要版本的最新带日期快照。

无日期 ID 是固定快照

一个常见的误解是,像 claude-sonnet-4-6 这样的无日期模型 ID 是持续更新的指针,会自动路由到最新或性能最佳的版本。事实并非如此。

对于 4.6 代及之后的版本,无日期 ID 就是该发布版本的规范模型 ID。它映射到单一的、固定的模型快照。Anthropic 不会更新现有模型 ID 的权重或配置。当有更新版本可用时,会以新的模型 ID 发布。

这与 Claude API 上为早期模型提供的无日期别名不同。像 claude-sonnet-4-5 这样的别名是一个便捷指针,会解析到该次要版本的最新带日期快照。而像 claude-sonnet-4-6 这样的 4.6 代 ID 并非别名,它本身就是快照。

每个模型 ID,无论是否带日期,都有其各自独立的弃用和停用时间表。

模型权重与服务基础设施

对于给定的 ID,模型权重是固定的,但围绕模型的服务基础设施可能会随时间变化。该基础设施包括请求路由器、安全分类器和采样逻辑等组件。

偶尔,即使模型 ID 和权重未发生变化,基础设施更新也可能导致可观察行为上的细微差异。如果您在之前稳定的模型 ID 上注意到意外的行为差异,最可能的原因是基础设施更新。

当前模型 ID

如需查看当前模型 ID 的完整列表及其在 Amazon Bedrock 和 Google Cloud Vertex AI 上的对应项,请参阅模型概览。

Was this page helpful?

  • 模型 ID 格式
  • 4.6 代及之后
  • 4.6 代之前
  • 无日期 ID 是固定快照
  • 模型权重与服务基础设施
  • 当前模型 ID