Claude Opus 4.7
Officialanthropic/claude-opus-4.7
Anthropic flagship for complex coding (Claude Code), long-form analysis, and multi-step agent workflows. Native prompt caching cuts cost on repeated context. Pick it when output quality is the only thing that matters.
定价
来源: anthropic_x0.20 · 核验于 2026-08-06
缓存读 $0.1/M · 缓存写 $1.25/M
本币价按固定汇率折算(1 美元 = 6.8 CNY),汇率更新于 2026-08-02,仅供参考;计费始终以美元结算。
成本估算
支持协议
- OpenAI Chat CompletionsStatus: 不支持—
- OpenAI ResponsesStatus: 不支持—
- Anthropic MessagesStatus: 可用: 支持流式https://api.routemux.com/anthropic
- Google Vertex AIStatus: 不支持—
- OpenAI ImagesStatus: 不支持—
- OpenAI SoraStatus: 不支持—
调用 ID
API 调用时用任一 ID 都可以。
anthropic/claude-opus-4.7claude-opus-4-7可用模型 ID
请求里的 model 可以直接使用这些名字。
动手试一下
把 ROUTEMUX_KEY 占位符替换为你的 API Key。 创建 →
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.routemux.com/anthropic",
api_key="<ROUTEMUX_KEY>",
)
message = client.messages.create(
model="anthropic/claude-opus-4.7",
max_tokens=1024,
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)同族其他变体
Anthropic Claude Opus 5 — current-generation Opus for agentic coding and long-horizon work.
$1/M↓ · $5/M↑
Anthropic Claude Opus 4.6 — previous-gen Opus, same price as 4.7/4.8.
$1/M↓ · $5/M↑
Anthropic Claude Opus 4.8 — current flagship, top reasoning & coding.
$1/M↓ · $5/M↑
常见问题
›Claude Opus 4.7 是什么?
Anthropic Claude Opus 4.7 — top-tier reasoning, coding, agentic work.
›Claude Opus 4.7 的上下文窗口有多大?
Claude Opus 4.7 支持最多 200K tokens 的上下文窗口,单次最多输出 8K tokens。
›Claude Opus 4.7 的 API 价格是多少?
通过 RouteMux 调用 Claude Opus 4.7:输入 $1、输出 $5(USD / 1M tokens),低于官方定价。
›如何通过 API 调用 Claude Opus 4.7?
Claude Opus 4.7 兼容 OpenAI 接口:把 base URL 换成 RouteMux、model 填 anthropic/claude-opus-4.7 即可,无需改代码。
›Claude Opus 4.7 支持哪些输入输出模态?
Claude Opus 4.7 的输入模态:text, image;输出模态:text。