新人 免费注册,送 10 次调用,最高 $1,免绑卡。

Claude Opus 4.6

发布于 2026-02-05

chat代码推理工具调用图像理解提示词缓存

Claude Opus 4.6 把 Opus 产品线扩展到了长上下文工作:相比 Opus 4.5,它把上下文窗口从 200K 增至 1M token,最大输出翻倍到 128K token,并在扩展思考之外引入自适应思考,而定价保持每百万 token $5/$25 不变。

输入
文本 图像 $5/M
输出
文本 $25/M
缓存读取
$0.5/M
上下文
1M
知识截止
2025-05

Benchmark 成绩

高于同侪均值无人分数更高15 / 222 / 22
Claude Opus 4.6 其他被测模型 同侪均值 无人分数更高
SWE-Bench Pro
57.3%
Structural Biology
30.9%
ScreenSpot-Pro
49.5%
GDPval-AA Elo · 1314-1753
1619
GPQA Diamond
90%
MCP-Mark
56.7%
BabyVision
12.6%

厂商公布: Alibaba (Qwen) Anthropic ByteDance DeepSeek Google MiniMax Moonshot OpenAI Tencent Z.ai

价格在同类中的位置

价格在 60 个同类模型中的位置

输入$5/M
$0.05 · Qwen3 VL Flash GPT-5.4 Pro · $30
输出$25/M
$0.275 · DeepSeek V4 Flash GPT-5.4 Pro · $180
缓存读取$0.5/M
$0.0028 · DeepSeek V4 Flash GPT-5.4 Pro · $15

这条线显示该模型的价格,在 Synthorai 上同类模型里处于什么位置。两端标出了最便宜和最贵的那个。这里是基础价,批量、区域和缓存写入的折扣见价格页。

规格与限制

Token

上下文窗口(厂商规格) 1,000,000
最大输出(厂商规格) 128,000
知识截止 2025-05
训练数据截至 2025-08 知识截止 2025-05

提示词缓存

缓存方式 显式(需开启)
最低前缀 4,096 厂商默认 1,024
存活时间 默认 5 分钟,可选 1 小时
写入成本 1.25x (5m) / 2x (1h)

思考

厂商参数 thinking.type + output_config.effort (budget_tokens still accepted, deprecated)
可选值 thinking.type adaptive · enabled (deprecated) · disabled; effort low · medium · high · max (no xhigh)
默认值 思考关闭;effort 为 high 请求未指定时生效
可关闭 支持
思考行为 自适应思考会在工具调用之间自动交错,无需 beta 请求头,而在该模型上手动的 "enabled" 模式完全没有交错思考;早先轮次的思考块会保留在上下文中并按输入计费
参数 reasoning_effort
取值 minimal · low · medium · high 网关侧参数面——以上方厂商映射为准

模型

模态 文本 + 图像 → 文本
  • 首个推荐使用自适应思考的 Opus
  • 不支持 assistant 预填充
  • 1M 上下文自 2026-03-13 起 GA
  • fast mode 已于 2026-06-29 移除

依据 Anthropic 官方文档 ↗

单个 Prompt —— 通过网关实测

提示词 Explain to a CFO, in exactly three sentences, why our LLM bill doubled after we enabled reasoning. 检查 恰好 3 句

Claude Opus 4.6 通过 · 3 sentences

When reasoning is enabled, the model generates extensive internal chain-of-thought tokens that are produced—and billed—before the user-visible answer even begins, often multiplying total token consumption by 5–10× per request. Because our pricing is strictly per-token for both input and output, those hidden "thinking" tokens hit the invoice just as hard as the final response, even though end users never see them. To bring costs back in line, we can tune the reasoning effort parameter, cache common prompts, and route only genuinely complex queries to the reasoning model while handling routine tasks with a lighter, cheaper one.

输出 132 tok 延迟 6.3 s

指令遵循(恰好三句,可数)、受众适配(面向 CFO 的语气),以及下方 token 计量所暴露的隐藏思考计费缺口。

提示词 This function is supposed to return the longest run of consecutive equal items, but callers report it is off by one on single-element inputs and misses runs that end at the last index. Fix it and explain the bug in one paragraph. 检查 修复通过测试

Claude Opus 4.6 通过 · 8/8 cases

```python def longest_run(xs): if not xs: return 0 best = 1 cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 best = max(best, cur) else: cur = 1 return best ``` The original code had two related bugs stemming from the fact that it counted additional consecutive elements (starting from 0) rather than the total length of a run (starting from 1): first, `best` and `cur` were initialized to 0 instead of 1, which meant a single-element list (where the loop never executes) returned 0 instead of the correct answer 1; second, when a mismatch was found, `cur` was reset to 0 instead of 1 (failing to count the current element as the start of a new run), which meant that if the longest run occurred at the very end of the list, the comparison `best = max(best, cur)` on the next matching step would be w […]

输出 277 tok 延迟 7.0 s

修复是否真的正确(可运行)、解释的信息密度,以及在一个边界明确的任务上的 token 效率。

提示词 Extract a JSON object with fields {company, quarter, revenue_usd_m, growth_pct, guidance} from this text. Use null for anything not stated; add no other fields. 检查 合法 JSON,schema 精确

Claude Opus 4.6 通过 · 5/5 fields, guidance "withheld pending the Q4 close"

```json { "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": 412, "growth_pct": 11, "guidance": "withheld pending the Q4 close" } ```

输出 73 tok 延迟 2.6 s

schema 服从度(不臆造字段)、幻觉压力(guidance 明确被暂缓给出),以及结构化输出路径的差异。

提示词 Write a 120-word product announcement for an API gateway feature that caches prompts across providers. Forbidden words: "seamless", "unlock", "game-changer", "revolutionize", "empower". Exactly one sentence must be a question. 检查 120 词,0 个禁用词

Claude Opus 4.6 通过 · 118 words, 0 banned, 1 question

**Introducing Cross-Provider Prompt Caching** Why pay for the same computation twice? Our new API gateway feature intelligently caches prompt responses across multiple LLM providers, reducing latency by up to 60% and cutting costs significantly for repeated or similar queries. When your application sends a prompt that matches a cached response—regardless of whether it originally came from OpenAI, Anthropic, or Cohere—the gateway serves the stored result instantly. You maintain full control over cache duration, invalidation rules, and provider-specific overrides through a simple configuration dashboard. The feature supports both exact and semantic matching, letting teams optimize for speed or flexibility based on their use case. Available today on all Pro and Enterprise plans with no additional setup required.

输出 163 tok 延迟 6.1 s

约束服从度(字数预算、禁用词表、唯一的那句问句)、文风指纹,以及长度控制。

30 秒用上 Claude Opus 4.6

OpenAI 兼容:换掉 base_url,SDK 不用改。POST /v1/chat/completions

from openai import OpenAI

client = OpenAI(
    base_url="https://synthorai.io/v1",
    api_key="sk-syn-...",
)

resp = client.chat.completions.create(
    model="claude-opus-4-6",
    messages=[{"role": "user", "content": "Summarize this diff"}],
    reasoning_effort="medium",
)
print(resp.choices[0].message.content)

关于 Claude Opus 4.6

  • Anthropic 发布时称它为面向复杂智能体任务与长程工作的最智能模型,一个月后 1M 窗口从 beta 转为正式发布并按标准价计费。
  • 它支持视觉输入、工具调用和提示词缓存,Batch API 还为该模型提供扩展至 300K 输出的 beta。
  • 压缩(compaction)也是在这一版本首次以 beta 形式发布的,让长时间的智能体会话有办法在窗口耗尽后继续工作。
  • 两种思考模式都被接受,扩展思考现已弃用但仍可用,两种类型都不会被拒绝;effort 覆盖 low 到 max,不含 xhigh,默认 high。
  • 有两种行为会让迁移出错:从这一代起不再支持预填充助手消息,而 fast-mode 研究预览已于 2026 年 6 月移除,此后相关请求只是以标准速度和标准费率运行,而不是报错。
  • 提示词缓存要求 4,096 token 的最小前缀。
  • 它现已被列为位于 Opus 4.7 和 4.8 之后的旧版模型。
  • Synthorai 让任何 OpenAI 兼容客户端都能调用 Claude Opus 4.6。

常见问题

Claude Opus 4.6 API 可以免费试用吗?

可以。新账号可获得 10 次试用调用和最高 $1 的免费额度,无需绑卡。按输入 $5/M 计算,仅这笔额度就足够对 Claude Opus 4.6 发起约 24 次 ~8K token 的请求。

Claude Opus 4.6 最擅长什么?

上下文窗口从 200K 增至 1M、最大输出翻倍至 128K token、批量 300K 输出扩展 beta。完整能力请见「关于」部分,内容取自厂商官方发布说明。

Claude Opus 4.6 的价格是多少?

在 Synthorai 上,Claude Opus 4.6 输入 $5/百万 token、输出 $25/百万 token,即厂商牌价,无平台加价。缓存命中的输入 token 按 $0.5/M 计费。

Claude Opus 4.6 支持提示词缓存(prompt caching)吗?

支持,需主动开启:用 cache_control 断点标记稳定前缀。缓存命中的输入 token 按 $0.5/M 计费(未命中 $5/M);提示词需有 4,096 token 以上的稳定前缀才能命中缓存(TTL 默认 5 分钟,可选 1 小时)。 提示词缓存指南 →

如何开通 Claude Opus 4.6?

把现有 OpenAI SDK 的 base_url 指向 "https://synthorai.io/v1",model 设为 "claude-opus-4-6" 即可。一把 API key 通用网关上的全部模型。

Claude Opus 4.6 的知识截止日期是什么时候?

Claude Opus 4.6 的知识截止日期为 2025-05,依据厂商官方文档(数据核验于 2026-07-09)。

相关模型

对比

本页每个值都转录自厂商自己的文档(链接见上),并带有核对日期。价格在全目录范围内比较;各厂商定义不同的规格值,只说明差异而不作图表对比。此处没有任何由我们测量的数据,也不做评分。

获取 API 密钥 算算你的成本 →