anthropic/claude-haiku-5.5
Haiku 4.5 的接替者,面向高并发、对延迟敏感的工作,如分类、信息抽取、路由与子 Agent 任务,指令遵循能力大幅提升。上下文扩到 100 万 token。按 prompt 长度计价:10 万 token 以内按低价,更长的 prompt(含缓存 token)按 5 倍价格计费。默认开启自适应思考,可用 effort 参数调节(默认 medium)。支持文本与图片输入及原生 prompt cache。
来源: official_x0.3 · 核验于 2026-10-12
缓存读 $0.003/M · 缓存写 $0.0375/M
| 档位 | 输入 | 缓存读 | 缓存写 | 输出 |
|---|---|---|---|---|
| Standard ≤100K | $0.03 | $0.003 | $0.0375 | $0.15 |
| Standard >100K | $0.15 | $0.015 | $0.1875 | $0.75 |
API 调用时用任一 ID 都可以。
anthropic/claude-haiku-5.5claude-haiku-5-5把 ONEHOP_KEY 占位符替换为你的 API Key。 创建 →
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.onehop.ai/anthropic",
api_key="<ONEHOP_KEY>",
)
message = client.messages.create(
model="anthropic/claude-haiku-5.5",
max_tokens=1024,
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)