Anthropic: Claude Opus 5
Chatanthropic/claude-opus-5Claude Opus 5 is Anthropic's flagship model for demanding reasoning, coding, and long-horizon agentic work. It supports text, image, and file inputs with text output, with reasoning support and a 1M-token context window. It is particularly strong at end-to-end software tasks - implementing features, code review and bug finding, multi-stage debugging - as well as visual analysis of documents and diagrams, and coordinating multiple agents on complex deliverables. It maintains strong instruction-following and tool use across extended interactions, and remains efficient for latency-sensitive workloads.
上下文窗口
1M
最大输出 Token
128K
发布日期
2026-07-25
能力
视觉函数调用推理提示缓存网络搜索PDF 输入
可用供应商
AzureBedrock
支持的协议
openaianthropic
供应商
Bedrock
输入 Token
$5/M
输出 Token
$25/M
缓存读取
$0.5/M
缓存写入(5 分钟)
$6.25/M
缓存写入(1 小时)
$10/M
网络搜索
$0.015/R
接入协议
openai
/v1/chat/completions/v1/responsesanthropic
Azure
输入 Token
$5/M
输出 Token
$25/M
缓存读取
$0.5/M
缓存写入(5 分钟)
$6.25/M
缓存写入(1 小时)
$10/M
网络搜索
$0.015/R
接入协议
anthropic
代码示例
import anthropicclient = anthropic.Anthropic(base_url="https://api.ofox.io/anthropic",api_key="YOUR_OFOX_API_KEY",)message = client.messages.create(model="anthropic/claude-opus-5",max_tokens=1024,messages=[{"role": "user", "content": "Hello!"}],)print(message.content[0].text)
运行状态
相关模型
常见问题
Anthropic: Claude Opus 5 在 Ofox.ai 上的价格为输入 $5/M/百万 Token,输出 $25/M/百万 Token。按量计费,无月费。
Anthropic: Claude Opus 5 支持 1M Token 的上下文窗口,最大输出 128K Token,可处理大型文档并维持长对话。
只需将 base URL 设置为 https://api.ofox.io/v1,并使用你的 Ofox API Key。API 兼容 OpenAI 格式——只需更改 base URL 和 API Key 即可。
Anthropic: Claude Opus 5 支持以下能力:视觉, 函数调用, 推理, 提示缓存, 网络搜索, PDF 输入。通过 Ofox.ai 统一 API 访问所有功能。