返回模型列表

Claude Opus 4

anthropicanthropic/claude-opus-4

API 使用指南

Chat 调用

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-opus-4","messages":[{"role":"user","content":"Hello"}]}'

扩展思考

通过 reasoning 参数启用扩展思考。Opus 4 支持最高 64 k thinking token。

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-opus-4","messages":[{"role":"user","content":"Solve step by step"}],"reasoning":{"effort":"high"}}'

近期动态

事实档案 — 本页每条断言可在此回溯来源
来源URL采集于
发布日期www.anthropic.com ↗2026-06-10已核实
Anthropic API 模型 IDplatform.claude.com ↗2026-06-10已核实
AWS Bedrock 模型 IDplatform.claude.com ↗2026-06-10已核实
Vertex AI 模型 IDplatform.claude.com ↗2026-06-10已核实
上下文窗口platform.claude.com ↗2026-06-10已核实
最大输出 tokenplatform.claude.com ↗2026-06-10已核实
推理模式www.anthropic.com ↗2026-06-10已核实
训练数据截止——未知
许可——已核实
生命周期状态platform.claude.com ↗2026-06-10已核实
SWE-bench Verifiedwww.anthropic.com ↗2026-06-10已核实
Terminal-benchwww.anthropic.com ↗2026-06-10已核实
GPQA Diamondwww.anthropic.com ↗2026-06-10已核实
MMMLUwww.anthropic.com ↗2026-06-10已核实
Claude Opus 4 在 TheRouter 上仍然可用吗?platform.claude.com ↗2026-06-10待核实
Claude Opus 4 与同期发布的 Sonnet 4 相比如何?www.anthropic.com ↗2026-06-10待核实
帮助与联系