View a markdown version of this page

Claude Mythos 预览 - Amazon Bedrock

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

Claude Mythos 预览

带有白色径向加载微调器设计的橙色圆角方形图标。 Anthropic — Claude Mythos 预览

模型详细信息

根据Anthropic的说法,Claude Mythos Preview(封闭式研究预览版)是一类新的情报,专为专注于网络安全、自主编码和长期运行代理的雄心勃勃的项目而构建。

仅作为封闭式研究预览版提供,防御性网络安全用例优先访问权限。

  • 模型发布日期:2026 年 4 月 7 日

  • EOL 不早于:2027 年 4 月 7 日

  • 遗产期:至少 6 个月

  • 模型生命周期政策:模型生命周期(适用于 2026 年 9 月 7 日之前发布的模型)

  • 模特停产日期: N/A

  • 最终用户许可协议和使用条款:查看

  • 模型生命周期:预览

  • 上下文窗口:100 万个代币

  • 最大输出代币:128K

  • 理由:支持(thinking.type: "adaptive"仅限)。有关更多信息,请参阅 适应性思维。

  • 知识截止时间:2025 年 12 月

输入模式 输出模式
Red circle with white X icon indicating error, cancel, or close action.音频Red circle with white X icon indicating error, cancel, or close action.嵌入
Green circle with white checkmark icon.图片Red circle with white X icon indicating error, cancel, or close action.图片
Red circle with white X icon indicating error, cancel, or close action.演讲Red circle with white X icon indicating error, cancel, or close action.演讲
Green circle with white checkmark icon.文本Green circle with white checkmark icon.文本
Red circle with white X icon indicating error, cancel, or close action.视频Red circle with white X icon indicating error, cancel, or close action.视频

支持的终端节点和 API

下表显示了 Claude Mythos(预览版)支持哪些端点和 API。有关更多信息,请参阅亚马逊 Bedrock 支持的 API和亚马逊 Bedrock 支持的终端节点。

终端支持

Endpoint 支持的
bedrock-runtime not-supported
bedrock-mantle supported

bedrock-runtime终端支持的 API

消息 响应 聊天完成次数 Converse Invoke
not-supported not-supported not-supported not-supported not-supported

bedrock-mantle终端支持的 API

消息 响应 聊天完成次数 Converse Invoke
supported not-supported not-supported not-supported not-supported

能力和特性

基岩特征

使用bedrock-mantle终端节点支持的功能

使用bedrock-mantle端点进行隐式和显式提示缓存

有关更多信息,请参阅提示缓存以加快模型推断。

支持显式提示缓存 每个缓存检查点的最小令牌 每个请求的最大缓存检查点数 支持的 TTL 接受提示缓存检查点的字段
是 4,096 4 5 分钟,1 小时 system、messages 和 tools

定价

有关定价信息,请参阅亚马逊基岩定价页面。

以编程方式访问

使用以下模型 ID 和端点 URL 以编程方式访问此模型。有关可用 API 和终端节点的更多信息,请参阅支持的 API 和支持的终端节点。

Endpoint 模特 ID In-Region 端点 URL 地理推断 ID 全局推理 ID
bedrock-mantle anthropic.claude-mythos-preview https://bedrock-mantle.{region}.api.aws N/A N/A

例如,如果区域为 us-east-1(弗吉尼亚北部),则基岩地堡终端节点 URL 将为 “”。https://bedrock-mantle.us-east-1.api.aws

服务等级

Amazon Bedrock 提供多个服务等级以满足您的工作负载要求。Standard 提供按代币付费的访问权限,无需承诺(设置"service_tier": "default"或省略该字段)。Priority 以溢价(套装"service_tier": "priority")提供最快的响应时间。Flex 为灵活、非时间敏感的工作负载(套装)提供更低成本的访问权限。"service_tier": "flex"预留为可预测的工作负载提供专用吞吐量和期限承诺;它是在账户级别设置的,而不是根据每个请求设置的(请联系您的 AWS 账户团队来启用)。有关更多信息,请参阅服务等级。

Standard 优先级 Flex 已保留
Green circle with white checkmark icon. Red circle with white X icon indicating error, cancel, or close action. Red circle with white X icon indicating error, cancel, or close action. Red circle with white X icon indicating error, cancel, or close action.

区域可用性

区域可用性一览

Amazon Bedrock 提供三种推理选项:将请求In-Region保留在单一区域内以确保严格合规;在尊重数据驻留的前提下跨地理区域(例如美国、欧盟和亚太地区)进行地理路由;在没有居住限制的情况下,全球 Cross-Region路由到全球任何地方。 Cross-Region 有关更多详细信息,请参阅该按型号划分的区域可用性页面。

可用性因端点而异。

使用bedrock-mantle终端节点的可用性

区域 In-Region 地理 Global
us-east-1(弗吉尼亚北部)supportednot-supportednot-supported
ap-southeast-4(墨尔本)supportednot-supportednot-supported

示例代码

第 1 步- AWS 账户:如果您已经有 AWS 账户,请跳过此步骤。如果您是新手 AWS,请注册一个 A WS 账户。

第 2 步-API 密钥:前往亚马逊 Bedrock 控制台并生成长期 API 密钥。

第 3 步-获取 SDK:要使用此入门指南,必须已安装 Python。然后安装相关的软件。

pip install -U "anthropic[bedrock]"

第 4 步-设置环境变量:将您的环境配置为使用 API 密钥进行身份验证。

AWS_BEARER_TOKEN_BEDROCK="<provide your Bedrock API key>"

第 5 步-运行您的第一个推理请求:将文件另存为 bedrock-first-request.py

Messages API
from anthropic import AnthropicBedrockMantle client = AnthropicBedrockMantle(aws_region="us-east-1") message = client.messages.create( model="anthropic.claude-mythos-preview", max_tokens=1024, messages=[{"role": "user", "content": "Can you explain the features of Amazon Bedrock?"}], ) print(message.content[0].text)