Anthropic: Claude Haiku 4.5
anthropic/claude-haiku-4.5- 模态
- text+image+file->text
- 输入 / 输出价格
- $1 / $5
- 上下文
- 200K
- 上架
- 2025年10月15日
- 知识截止
- —
每百万
Claude Haiku 4.5 is Anthropic’s fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger Claude models. Matching Claude Sonnet 4’s performance...
视觉工具调用推理结构化输出长上下文
支持的参数
include_reasoning返回推理
是否在响应里带上推理摘要。
max_completion_tokens补全上限
与 max_tokens 类似,部分新模型改用这个字段限制输出长度。
max_tokens输出上限
最多生成多少 token。达到上限会截断。
reasoning推理
打开或配置模型的推理过程。具体字段因模型而异。
response_format响应格式
例如 json_object 或 json_schema,用于约束输出形状。
stop停止词
生成到这些字符串时停止。可以是字符串或字符串数组。
structured_outputs结构化输出
按 JSON Schema 生成可解析的结构。
temperature温度
采样温度。越低越稳定,越高越发散。常见范围 0 到 2。
tool_choice工具选择
控制是否调用工具:auto、none,或指定某个函数。
tools工具
传入函数工具定义,模型可以返回 tool_calls。
top_kTop-K
只从概率最高的 K 个 token 里采样。
top_p核采样
只在累计概率达到 top_p 的 token 里采样。