View a markdown version of this page

克劳德十四行诗 4.6 - Amazon Bedrock

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

克劳德十四行诗 4.6

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

模型详细信息

Claude Sonnet 4.6 是 Anthropic 中端模型的全面升级,它改进了编码、计算机使用、长情境推理和代理规划,并具有 100 万个代币上下文窗口。有关模型开发和性能的更多信息,请参阅model/service 卡片

  • 模型发布日期:2026 年 2 月 17 日

  • EOL 不早于:2027 年 2 月 17 日

  • 遗产期:至少 6 个月

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

  • 模特停产日期: N/A

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

  • 模型生命周期:活跃

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

  • 最大输出令牌:64K

  • 推理:支持

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

  • 商城产品编号:prod-ffvjxvh4ltq64

输入模式 输出模式
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 Sonnet 4.6 支持哪些端点和 API。有关更多信息,请参阅亚马逊 Bedrock 支持的 API亚马逊 Bedrock 支持的终端节点

终端支持

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

bedrock-runtime终端支持的 API

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

bedrock-mantle终端支持的 API

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

只要有可能,我们建议将bedrock-runtime终端节点用于新应用程序。有关详细信息,请参阅亚马逊 Bedrock 支持的终端节点

能力和特点

基岩特征

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

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

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

支持显式提示缓存 每个缓存检查点的最小令牌 每个请求的最大缓存检查点数 支持的 TTL 接受提示缓存检查点的字段
1024 4 5 分钟,1 小时 systemmessagestools

使用bedrock-runtime终端节点使用计算机

有关更多信息,请参阅计算机使用

刀具类型 测试版标题
computer_20251124 computer-use-2025-11-24

定价

此模型是通过 AWS 商城提供和计费的第三方模式。费用显示在您的 AWS 账单上,也显示在模型提供商下的 AWS 成本管理器中(不在 Amazon Bedrock 下)。有关定价,请参阅亚马逊基岩定价页面。

以编程方式访问

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

Endpoint 模特 ID In-Region 端点 URL 地理推断 ID 全局推理 ID
bedrock-runtime anthropic.claude-sonnet-4-6 https://bedrock-runtime.{region}.amazonaws.com

us.anthropic.claude-sonnet-4-6

eu.anthropic.claude-sonnet-4-6

au.anthropic.claude-sonnet-4-6

jp.anthropic.claude-sonnet-4-6

global.anthropic.claude-sonnet-4-6

例如,如果区域为 us-east-1(弗吉尼亚北部),则基本运行时终端节点 URL 将为 “”。https://bedrock-runtime.us-east-1.amazonaws.com

服务等级

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. Green circle with white checkmark icon.

区域可用性

区域可用性一览

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

可用性因端点而异。

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

区域 In-Region 地理 Global
us-east-1(弗吉尼亚北部)not-supportedsupportedsupported
us-east-2(俄亥俄州)not-supportedsupportedsupported
us-west-1(加利福尼亚北部)not-supportedsupportedsupported
us-west-2(俄勒冈)not-supportedsupportedsupported
ca-central-1(加拿大)not-supportedsupportedsupported
ca-west-1(卡尔加里)not-supportedsupportedsupported
eu-central-1(法兰克福)not-supportedsupportedsupported
eu-central-2(苏黎世)not-supportedsupportedsupported
eu-north-1(斯德哥尔摩)not-supportedsupportedsupported
eu-south-1(米兰)not-supportedsupportedsupported
eu-south-2(西班牙)not-supportedsupportedsupported
eu-west-1(爱尔兰)not-supportedsupportedsupported
eu-west-2(伦敦)supportedsupportedsupported
eu-west-3(巴黎)not-supportedsupportedsupported
ap-east-2(台北)not-supportednot-supportedsupported
ap-northeast-1(东京)not-supportedsupportedsupported
ap-northeast-2(首尔)not-supportednot-supportedsupported
ap-northeast-3(大阪)not-supportedsupportedsupported
ap-south-1(孟买)not-supportednot-supportedsupported
ap-south-2(海得拉巴)not-supportednot-supportedsupported
ap-southeast-1(新加坡)not-supportednot-supportedsupported
ap-southeast-2(悉尼)not-supportedsupportedsupported
ap-southeast-3(雅加达)not-supportednot-supportedsupported
ap-southeast-4(墨尔本)not-supportedsupportedsupported
ap-southeast-5(马来西亚)not-supportednot-supportedsupported
ap-southeast-6(新西兰)not-supportedsupportedsupported
ap-southeast-7(泰国)not-supportednot-supportedsupported
il-central-1(特拉维夫)not-supportednot-supportedsupported
me-central-1(阿联酋)not-supportednot-supportedsupported
me-south-1(巴林)not-supportednot-supportedsupported
af-south-1(开普敦)not-supportednot-supportedsupported
sa-east-1(圣保罗)not-supportednot-supportedsupported
mx-central-1(墨西哥)not-supportednot-supportedsupported

地理推理细节

地理:美国

地理推断 ID:us.anthropic.claude-sonnet-4-6

来源区域 目的地区域
us-east-1(弗吉尼亚州北部)us-east-1(弗吉尼亚北部)、us-east-2(俄亥俄州)、us-west-2(俄勒冈州)
us-east-2(俄亥俄州)us-east-1(弗吉尼亚北部)、us-east-2(俄亥俄州)、us-west-2(俄勒冈州)
us-west-1(加利福尼亚北部)us-east-1(弗吉尼亚北部)、us-east-2(俄亥俄州)、us-west-1(加利福尼亚北部)、us-west-2(俄勒冈州)
us-west-2 (俄勒冈)us-east-1(弗吉尼亚北部)、us-east-2(俄亥俄州)、us-west-2(俄勒冈州)
ca-central-1(加拿大)ca-central-1(加拿大)、美国东部 1(弗吉尼亚北部)、美国东部 2(俄亥俄州)、美国西部 2(俄勒冈)
ca-west-1(卡尔加里)ca-west-1(卡尔加里)、us-east-1(弗吉尼亚北部)、us-east-2(俄亥俄州)、us-west-2(俄勒冈)

地理:欧盟

地理推断 ID:eu.anthropic.claude-sonnet-4-6

来源区域 目的地区域
eu-central-1 (法兰克福)欧盟中部 1(法兰克福)、欧盟北部 1(斯德哥尔摩)、欧盟南部 1(米兰)、欧盟南部 2(西班牙)、欧盟西部 1(爱尔兰)、欧盟西部 3(巴黎)
eu-central-2(苏黎世)欧盟中部 1(法兰克福)、欧盟中部 2(苏黎世)、欧盟北部 1(斯德哥尔摩)、欧盟南部 1(米兰)、欧盟南部 2(西班牙)、欧盟西部 1(爱尔兰)、欧盟西部 3(巴黎)
eu-north-1(斯德哥尔摩)欧盟中部 1(法兰克福)、欧盟北部 1(斯德哥尔摩)、欧盟南部 1(米兰)、欧盟南部 2(西班牙)、欧盟西部 1(爱尔兰)、欧盟西部 3(巴黎)
eu-south-1(米兰)欧盟中部 1(法兰克福)、欧盟北部 1(斯德哥尔摩)、欧盟南部 1(米兰)、欧盟南部 2(西班牙)、欧盟西部 1(爱尔兰)、欧盟西部 3(巴黎)
eu-south-2(西班牙)欧盟中部 1(法兰克福)、欧盟北部 1(斯德哥尔摩)、欧盟南部 1(米兰)、欧盟南部 2(西班牙)、欧盟西部 1(爱尔兰)、欧盟西部 3(巴黎)
eu-west-1 (爱尔兰)欧盟中部 1(法兰克福)、欧盟北部 1(斯德哥尔摩)、欧盟南部 1(米兰)、欧盟南部 2(西班牙)、欧盟西部 1(爱尔兰)、欧盟西部 3(巴黎)
eu-west-2 (伦敦)欧盟中部 1(法兰克福)、欧盟北部 1(斯德哥尔摩)、欧盟南部 1(米兰)、欧盟南部 2(西班牙)、欧盟西部 1(爱尔兰)、欧盟西部 2(伦敦)、欧盟西部 3(巴黎)
eu-west-3(巴黎)欧盟中部 1(法兰克福)、欧盟北部 1(斯德哥尔摩)、欧盟南部 1(米兰)、欧盟南部 2(西班牙)、欧盟西部 1(爱尔兰)、欧盟西部 3(巴黎)

地理:澳大利亚

地理推断 ID:au.anthropic.claude-sonnet-4-6

来源区域 目的地区域
ap-southeast-2 (悉尼)ap-southeast-2(悉尼)、ap-southeast-4(墨尔本)
ap-southeast-4(墨尔本)ap-southeast-2(悉尼)、ap-southeast-4(墨尔本)
ap-southeast-6(新西兰)ap-southeast-2(悉尼)、ap-southeast-4(墨尔本)、ap-southeast-6(新西兰)

地理位置:日本

地理推断 ID:jp.anthropic.claude-sonnet-4-6

来源区域 目的地区域
ap-northeast-1 (东京)ap-northeast-1(东京)、ap-northeast-3(大阪)
ap-northeast-3(大阪)ap-northeast-1(东京)、ap-northeast-3(大阪)

全球推理详情

全球推理 ID 美洲 EMEA 亚太地区
global.anthropic.claude-sonnet-4-6
  • us-east-1(弗吉尼亚州北部)

  • us-east-2(俄亥俄州)

  • us-west-1(加利福尼亚北部)

  • us-west-2 (俄勒冈)

  • ca-central-1(加拿大)

  • ca-west-1(卡尔加里)

  • sa-east-1(圣保罗)

  • mx-central-1(墨西哥)

  • eu-central-1 (法兰克福)

  • eu-central-2(苏黎世)

  • eu-north-1(斯德哥尔摩)

  • eu-south-1(米兰)

  • eu-south-2(西班牙)

  • eu-west-1 (爱尔兰)

  • eu-west-2 (伦敦)

  • eu-west-3(巴黎)

  • il-central-1(特拉维夫)

  • me-central-1(阿联酋)

  • me-south-1(巴林)

  • af-south-1(开普敦)

  • ap-east-2(台北)

  • ap-northeast-1 (东京)

  • ap-northeast-2 (首尔)

  • ap-northeast-3(大阪)

  • ap-south-1(孟买)

  • ap-south-2(海得拉巴)

  • ap-southeast-1 (新加坡)

  • ap-southeast-2 (悉尼)

  • ap-southeast-3(雅加达)

  • ap-southeast-4(墨尔本)

  • ap-southeast-5(马来西亚)

  • ap-southeast-6(新西兰)

  • ap-southeast-7(泰国)

配额和限制

您的 AWS 账户有默认配额,以维持服务的性能并确保适当使用 Amazon Bedrock。分配给账户的默认配额可能会根据地区因素、付款历史记录、欺诈性使用、配额增加请求的 and/or 批准情况进行更新。有关更多信息,请参阅Amazon Bedrock 的配额文档并查看模型限制。

示例代码

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

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

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

pip install boto3

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

AWS_BEARER_TOKEN_BEDROCK="<provide your Bedrock API key>"

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

Invoke API
import json import boto3 client = boto3.client('bedrock-runtime', region_name='us-east-1') response = client.invoke_model( modelId='global.anthropic.claude-sonnet-4-6', body=json.dumps({ 'anthropic_version': 'bedrock-2023-05-31', 'messages': [{ 'role': 'user', 'content': 'Can you explain the features of Amazon Bedrock?'}], 'max_tokens': 1024 }) ) print(json.loads(response['body'].read()))
Converse API
import boto3 client = boto3.client('bedrock-runtime', region_name='us-east-1') response = client.converse( modelId='global.anthropic.claude-sonnet-4-6', messages=[ { 'role': 'user', 'content': [{'text': 'Can you explain the features of Amazon Bedrock?'}] } ] ) print(response)