Claude Opus 5.5 现已上线 AWS

aws.amazon.com 发布日期待确认

今天,我们宣布 Claude Opus 5.5 正式在 Amazon Bedrock 和 AWS 上的 Claude Platform 上线,这是 Claude 5.5 模型家族的首个成员。Claude Opus 5.5 是 Anthropic 目前最强的 Opus 模型,适合智能体编程(agentic coding)、知识型工作和长时间运行的任务。本文将介绍 Claude Opus 5.5 的改进、实用建议,以及如何在 Amazon Bedrock 上开始使用这个模型。

Claude Opus 5.5 有什么不同

Anthropic 表示,Claude Opus 5.5 用更少的 token(词元)完成更多工作,新的定价也把这些收益直接让给客户。更低的每 token 价格,加上便宜得多的缓存读取,与效率提升叠加在一起。最终结果是每个任务的平均成本低于 Claude Opus 5,团队因此可以大规模运行更有野心的智能体任务。

Claude Opus 5.5 在训练时就更注重清晰表达。它在工作过程中会说明自己做了什么、发现了什么、还需要什么,让长时间运行的任务更容易跟进。自适应思考(adaptive thinking)始终开启,由 Opus 5.5 自行判断每个任务需要多少推理。你可以用“努力程度”(effort)来控制,而不必手动设置思考预算。

Claude Opus 5.5 是首个配备安全分类器的 Opus 模型,其机制类似 Claude Fable 5.1,覆盖生物、网络安全和 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 Messages API 访问 bedrock-runtime 和 bedrock-mantle(借助 Anthropic SDK)。也可以继续使用 bedrock-runtime 上的 Invoke 和 Converse API,通过 AWS 命令行界面(AWS CLI)和 AWS SDK 来调用。

前置条件

下面是一个使用 AWS SDK for Python(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,获得统一的多模型调用体验:

```python
import boto3

查看原文