Anthropic: Claude Opus 5
anthropic/claude-opus-5- 模态
- text+image+file->text
- 输入 / 输出价格
- $5 / $25
- 上下文
- 1M
- 上架
- 2026年7月24日
- 知识截止
- —
每百万
Claude Opus 5 is Anthropic’s flagship model for demanding reasoning, coding, and long-horizon agentic work. It is particularly strong at end-to-end software tasks, code review and bug finding, visual analysis...
视觉工具调用推理结构化输出百万上下文
支持的参数
include_reasoning返回推理
是否在响应里带上推理摘要。
max_completion_tokens补全上限
与 max_tokens 类似,部分新模型改用这个字段限制输出长度。
max_tokens输出上限
最多生成多少 token。达到上限会截断。
reasoning推理
打开或配置模型的推理过程。具体字段因模型而异。
reasoning_effort推理强度
调节推理花多少计算,常见取值 low、medium、high。
response_format响应格式
例如 json_object 或 json_schema,用于约束输出形状。
stop停止词
生成到这些字符串时停止。可以是字符串或字符串数组。
structured_outputs结构化输出
按 JSON Schema 生成可解析的结构。
tool_choice工具选择
控制是否调用工具:auto、none,或指定某个函数。
tools工具
传入函数工具定义,模型可以返回 tool_calls。
verbosity详略
提示模型回答更简略或更详细。