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
資源