Claude Opus 5.5 现已在 Amazon Bedrock 与 Claude Platform on AWS 提供
Claude Opus 5.5 is now available on AWS
Claude Opus 5.5 现已在 Amazon Bedrock 和 Claude Platform on AWS 提供,是 Claude 5.5 家族的第一个模型,面向智能体编码、知识工作与长时任务。
今天,我们很高兴地宣布,Claude Opus 5.5 已在 Amazon Bedrock 和 Claude Platform on AWS 上正式可用,这是 Claude 5.5 模型系列中的首款模型。Claude Opus 5.5 是 Anthropic 能力最强的 Opus 模型,适用于智能体编程、知识工作以及长时间运行的任务。
本文介绍 Claude Opus 5.5 的改进、实用指南,以及如何在 Amazon Bedrock 上开始使用该模型进行构建。
Claude Opus 5.5 有何不同
据 Anthropic 介绍,Claude Opus 5.5 能以比 Claude Opus 5 更少的 token 完成更多工作,而新的定价将这些收益直接传递给客户。更低的每 token 价格以及便宜得多的缓存读取,叠加在效率提升之上。其结果是,平均每项任务成本低于 Claude Opus 5,因此团队可以大规模开展更有雄心的智能体工作。
Claude Opus 5.5 经过训练,能够更清晰地沟通。在工作过程中,它会说明自己做了什么、发现了什么以及还需要什么,从而使长时间运行的任务更易于跟进。自适应思考始终开启,由 Opus 5.5 决定每项任务需要多少推理。你可以使用 effort 作为控制手段,而不必手动设置思考预算。
Claude Opus 5.5 是首款配备与 Claude Fable 5.1 类似的安全分类器的 Opus 模型,覆盖生物学、网络安全和 AI 开发领域。与此前的 Opus 版本相比,请求会更频繁地被拒绝。
使用场景
Claude Opus 5.5 的能力非常适合那些最看重一致性与深度的行业。在软件开发中,对于沟通清晰且可解释性强的长时间运行会话,Opus 5.5 相较 Opus 5 有所提升,更易于使用、审查和信任。在知识工作中,处理并创建长文档和报告时,它所需的修正少于 Opus 5。
在 Amazon Bedrock 上开始使用 Claude Opus 5.5
要试用 Claude Opus 5.5,请打开 Amazon Bedrock 控制台,选择 Test,然后选择 Playground,并将模型选为 Claude Opus 5.5。之后,你就可以直接对它运行提示。
图 1:在 Amazon Bedrock 控制台 Playground 中选择 Anthropic Claude 模型
图 2:在 Amazon Bedrock 控制台 Playground 中对 Claude 模型运行提示
以编程方式,你可以通过 Anthropic SDK,使用 Anthropic Messages API 针对 bedrock-runtime 和 bedrock-mantle 调用该模型。你也可以继续通过 AWS Command Line Interface (AWS CLI) 和 AWS SDK,在 bedrock-runtime 上使用 Invoke 和 Converse API。
前提条件
- 拥有 Amazon Bedrock 访问权限的有效 AWS 账户。
- 已安装并配置 AWS Command Line Interface (AWS CLI)。
- Python 3.10+。
- 已安装 Boto3:
pip install boto3。 - 已安装 Anthropic SDK:
pip install anthropic。 - 已安装用于 Amazon Bedrock 身份验证的 Amazon Bedrock Token Generator:
pip install aws_bedrock_token_generator。 - AWS Identity and Access Management (IAM) 权限:
bedrock:InvokeModel和bedrock:InvokeModelWithResponseStream。
下面是一个使用适用于 Python 的 AWS SDK (Boto3) 的简单示例:
import boto3
import json
# Create a Bedrock Runtime client
bedrock_runtime = boto3.client(
service_name="bedrock-runtime",
region_name="us-east-1"
)
# Invoke Claude Opus 5.5
response = bedrock_runtime.invoke_model(
modelId="global.anthropic.claude-opus-5-5",
contentType="application/json",
accept="application/json",
body=json.dumps({
"anthropic_version": "bedrock-2023-05-31",
"max_tokens": 4096,
"messages": [
{
"role": "user",
"content": "An S3 bucket serves 40 TB/month egress. Estimate the monthly egress cost at $0.09/GB, and state one architecture change to cut it. Show the calculation, keep it under 120 words."
}
]
})
)
result = json.loads(response["body"].read())
# Opus 5.5 is a reasoning model: the response may include a thinking block
# before the text block, so select the text block rather than a fixed index.
print(next(b["text"] for b in result["content"] if b["type"] == "text"))你也可以使用 Amazon Bedrock Converse API,获得统一的多模型体验:
import boto3
# Create a Bedrock Runtime client
bedrock_runtime = boto3.client(
service_name="bedrock-runtime",
region_name="us-east-1"
)
# Invoke Claude Opus 5.5
response = bedrock_runtime.converse(
modelId="global.anthropic.claude-opus-5-5",
messages=[
{
"role": "user",
"content": [
{
"text": "Can you explain the features of Amazon Bedrock?"
}
]
}
],
inferenceConfig={
"maxTokens": 4096
}
)
if 'output' in response:
blocks = response['output']['message']['content']
print('\n'.join(b.get('text', '') for b in blocks if 'text' in b))你也可以通过 anthropic SDK 包使用 Anthropic Messages API,获得更简化的体验:
from anthropic import Anthropic
from aws_bedrock_token_generator import provide_token
token = provide_token(region="us-east-1")
client = Anthropic(
base_url="https://bedrock-runtime.us-east-1.amazonaws.com/anthropic",
api_key=token,
)
# Invoke Claude Opus 5.5
response = client.messages.create(
model="global.anthropic.claude-opus-5-5",
max_tokens=1024,
messages=[{"role": "user", "content": "Can you explain the features of Amazon Bedrock?"}],
)
print(response)你可以查看 入门笔记本 以获取更多示例。你可以通过 Amazon CloudWatch 和 AWS Cost Explorer 监控用量、性能和成本,从而随着需求增长扩展你的应用程序。
可用性
Claude Opus 5.5 今日已在 Amazon Bedrock 上通过 bedrock-runtime 上的 US Geo CRIS (us.)、EU Geo CRIS (eu.)、AU Geo CRIS (au.)、JP Geo CRIS (jp.) 和 Global CRIS (global.) 推理配置文件提供。该模型也可在 US East (N. Virginia) Region (us-east-1)、AP SouthEast (Melbourne) Region (ap-southeast-4) 的 bedrock-mantle 上运行。
有关支持区域的完整列表,请参阅 Amazon Bedrock 文档。有关定价信息,请参阅 Amazon Bedrock 定价。它也可通过北美的 Claude Platform on AWS 使用。
欢迎在 Amazon Bedrock 控制台、Claude Platform on AWS 中试用 Claude Opus 5.5,或在 GitHub 上探索 入门笔记本。
关于作者

Aamna Najmi
Aamna 是一名专注于生成式 AI 的高级专家解决方案架构师,重点关注 Anthropic 模型,以及在 Amazon Bedrock 上大规模落地和治理生成式 AI 系统。她帮助 ISV 应对挑战、拥抱创新,并借助 Amazon Bedrock 创造新的商业机会。

Dani Mitchell
Dani 是 AWS 的高级 GenAI 专家解决方案架构师,也是 Amazon Bedrock Knowledge Bases 的 SA 负责人。他帮助世界各地的企业使用 Amazon Bedrock 以及 Anthropic 的模型和能力来设计并部署生成式 AI 解决方案,以构建可扩展、可用于生产的应用程序。

Sofian Hamiti
Sofian 是一位技术领导者,拥有超过 12 年构建 AI 解决方案的经验,并领导高绩效团队以最大化客户成果。他热衷于赋能多元化人才,推动全球影响力并实现他们的职业抱负。

Eugenio Soltero
Eugenio 是 AWS 的 Amazon Bedrock 高级 产品营销经理。凭借在生成式 AI 领域数年的经验,他帮助客户把握基础模型和生成式 AI 不断演变的格局,采用能够带来可衡量价值的解决方案。
来源:AWS Machine Learning Blog · aws.amazon.com