Opus 4.7 is the next generation of Anthropic's Opus family, built for long-running, asynchronous agents. Building on the coding and agentic strengths of Opus 4.6, it delivers stronger performance on complex, multi-step tasks and more reliable agentic execution across extended workflows. It is especially effective for asynchronous agent pipelines where tasks unfold over time - large codebases, multi-stage debugging, and end-to-end project orchestration.
1M 上下文窗口
128K 最大输出 token
发布日期: 2026-04-16
支持的协议:openaianthropic
可用供应商:Bedrock
能力:视觉函数调用推理提示缓存PDF 输入
定价
| 类型 | 价格 |
|---|---|
| 输入 Token | $5/M |
| 输出 Token | $25/M |
| 缓存读取 | $0.5/M |
| 缓存写入(5 分钟) | $6.25/M |
| 缓存写入(1 小时) | $10/M |
| 网络搜索 | $0.015/R |
代码示例
import anthropicclient = anthropic.Anthropic(base_url="https://api.ofox.ai/anthropic",api_key="YOUR_OFOX_API_KEY",)message = client.messages.create(model="anthropic/claude-opus-4.7",max_tokens=1024,messages=[{"role": "user", "content": "Hello!"}],)print(message.content[0].text)
相关模型
常见问题
Anthropic: Claude Opus 4.7 在 Ofox.ai 上的价格为输入 $5/M/百万 Token,输出 $25/M/百万 Token。按量计费,无月费。
Anthropic: Claude Opus 4.7 支持 1M Token 的上下文窗口,最大输出 128K Token,可处理大型文档并维持长对话。
只需将 base URL 设置为 https://api.ofox.ai/v1,并使用你的 Ofox API Key。API 兼容 OpenAI 格式——只需更改 base URL 和 API Key 即可。
Anthropic: Claude Opus 4.7 支持以下能力:视觉, 函数调用, 推理, 提示缓存, PDF 输入。通过 Ofox.ai 统一 API 访问所有功能。

