返回模型列表
Claude Haiku 4.5
anthropicanthropic/claude-haiku-4.5
API 使用指南
Chat 调用
将 Haiku 4.5 作为支持、结对编程和高吞吐产品路径的快速 Claude 默认模型。
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"anthropic/claude-haiku-4.5","messages":[{"role":"user","content":"Summarize this pull request in five bullets."}]}'工具调用
Haiku 4.5 最有价值的定位,是大型 agent 系统中便宜、快速、可用工具的 worker。
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"anthropic/claude-haiku-4.5","messages":[{"role":"user","content":"Check whether the deploy is healthy."}],"tools":[{"type":"function","function":{"name":"get_deploy_status","description":"Return service deploy health","parameters":{"type":"object","properties":{"service":{"type":"string"}},"required":["service"]}}}]}'事实档案 — 本页每条断言可在此回溯来源
| 来源 | URL | 采集于 | |
|---|---|---|---|
| 发布日期 | www.anthropic.com ↗ | 2026-06-03 | 已核实 |
| Anthropic 模型 id | platform.claude.com ↗ | 2026-06-03 | 已核实 |
| 上下文窗口 | platform.claude.com ↗ | 2026-06-03 | 已核实 |
| 最大输出 | platform.claude.com ↗ | 2026-06-03 | 已核实 |
| 训练数据截止 | platform.claude.com ↗ | 2026-06-03 | 已核实 |
| 可靠知识截止 | platform.claude.com ↗ | 2026-06-03 | 已核实 |
| 推理控制 | platform.claude.com ↗ | 2026-06-03 | 已核实 |
| 部署平台 | www.anthropic.com ↗ | 2026-06-03 | 已核实 |
| 许可 | www.anthropic.com ↗ | 2026-06-03 | 已核实 |
| Relative coding performance vs Claude Sonnet 4 | www.anthropic.com ↗ | 2026-06-03 | 待核实 |
| Comparative latency | platform.claude.com ↗ | 2026-06-03 | 已核实 |
| Anthropic 发布 Claude Haiku 4.5 | anthropic.com/news ↗ | 2026-06-03 | 已核实 |
| 什么时候应该选择 Haiku 4.5 而不是 Sonnet 4.6? | www.anthropic.com ↗ | 2026-06-03 | 待核实 |
| Haiku 4.5 通过 TheRouter 支持视觉和工具吗? | platform.claude.com ↗ | 2026-06-03 | 待核实 |