import anthropic
client = anthropic.Anthropic()
message = client.messages.create(
model="claude-opus-5",
max_tokens=1024,
messages=[{
"role": "user",
"content": "Hello, Claude"
}]
)
for block in message.content:
if block.type == "text":
print(block.text)平台
选择您的构建方式
选择与您的方法相匹配的开发者界面,以及适合您技术栈的基础设施。
Claude 也可在以下云平台上使用:
开发者旅程
从想法到生产
按照生命周期逐步进行,或直接跳转到您需要的内容。
模型
Claude 模型家族
为您的用例选择合适的模型。
Fable 5.1
NewMost capableResearchMulti-day tasks
For demanding reasoning and long-horizon agentic work
资源