Claude Opus 5 是 Anthropic 面向複雜智慧體編碼與企業工作的模型,其遷移指南稱它相比 Claude Opus 4.8 在深度推理、智慧體與長程任務以及測試時算力擴展上是一次階躍式提升。
- 輸入
- 文字 圖像 $5/M
- 輸出
- 文字 $25/M
- 快取讀取
- $0.5/M
- 上下文
- 1M
- 知識截止
- 2026-05
Benchmark 成績
供應商公布: Alibaba (Qwen) Anthropic ByteDance DeepSeek Google MiniMax Moonshot OpenAI Tencent Z.ai
價格在同類中的位置
價格在 70 個同類模型中的位置
這條線標出這個模型的價格,在 Synthorai 的同類模型裡落在什麼位置;兩端分別是最便宜和最貴的模型。這裡列的是基礎價,批次、區域和快取寫入的折扣請見價格頁。
規格與限制
Token
| 上下文視窗(供應商規格) | 1,000,000 |
|---|---|
| 最大輸出(供應商規格) | 128,000 |
| 知識截止 | 2026-05 |
提示詞快取
| 快取方式 | 顯式(需主動開啟) |
|---|---|
| 最小前綴 | 512 供應商預設 1,024 |
| 存活時間 | 預設 5 分鐘,可選 1 小時 |
| 寫入成本 | 1.25x (5m) / 2x (1h) |
思考
| 供應商參數 | thinking.type + output_config.effort |
|---|---|
| 可接受的值 | thinking.type adaptive · disabled; effort low · medium · high · xhigh · max |
| 預設值 | 思考開啟;effort 為 high(Claude API 與 Claude Code) 請求未指定時生效 |
| 可關閉 | 支援 |
| 思考行為 | 只有在 effort 為 high 或更低時才接受關閉思考,搭配 xhigh 或 max 使用 thinking {"type": "disabled"} 會回傳 400 錯誤;display 預設為 omitted,因此除非把 display 設為 summarized,否則回傳的 thinking 區塊中 thinking 欄位為空。 |
| 參數 | reasoning_effort |
| 參數值 | minimal · low · medium · high 這是閘道的參數,實際以上方的供應商對應為準 |
模型
| 模態 | 文字 + 圖像 → 文字 |
|---|
- 1M 上下文既是預設值也是上限,沒有更小的上下文變體
- 可快取提示詞的最小長度降至 512 token
- 高解析度影像輸入,長邊最高 2576 px
- 搭配 output-300k-2026-03-24 beta header 時,Message Batches API 上最高 300k 輸出 token
- 會話中途變更工具為 beta
- fast mode 僅在 Claude API 上以研究預覽形式提供
一段提示詞,經閘道實測
Claude Opus 5 通過 · 3 sentences
When reasoning is enabled, the model generates a hidden chain of "thinking" tokens before it writes the visible answer, and those internal tokens are billed at the output rate even though no one ever sees them — commonly 3–10x more tokens than the response itself. Because output tokens are priced several times higher than input tokens, that added volume hits us at our most expensive rate, which is why the bill roughly doubled while our request count stayed flat. The spend is controllable: we can cap the reasoning budget per call, route only genuinely hard requests to reasoning mode and cheaper models for the rest, and track cost per successfully completed task rather than cost per token, since a single correct answer usually beats three cheap retries plus human cleanup.
輸出 529 tok 延遲 9.0 s
是否照指令做(剛好三句,數得出來)、語氣是否貼合對象(寫給 CFO 看),以及下方 token 計量顯示出的隱藏思考計費落差。
Claude Opus 5 通過 · 8/8 cases
## Fixed version ```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 else: cur = 1 if cur > best: best = cur return best ``` ## The bug The counters were tracking the wrong quantity: `cur` counted *matching adjacent pairs* rather than *elements in the current run*, and both counters started at `0` instead of `1`. Since a run of length *n* contains only *n − 1* adjacent equal pairs, every result came back one too small — `[1, 1]` returned 1, `[3, 3, 3]` returned 2 — and a single-element list returned 0 because the loop body never executed and `best` kept its initial value of `0`. […]
輸出 1094 tok 延遲 16.1 s
修正是否真的正確(跑得起來)、說明的資訊密度,以及在範圍明確的任務上的 token 效率。
Claude Opus 5 通過 · 5/5 fields, guidance "Withheld pending Q4 close"
```json { "company": "Meridian Robotics", "quarter": "Q3", "revenue_usd_m": 412, "growth_pct": 11, "guidance": "Withheld pending Q4 close" } ``` Notes on judgment calls: - **quarter**: "September quarter" is labeled Q3 because the text refers to an upcoming "Q4 close," implying a calendar-aligned fiscal year. No fiscal year is given. - **revenue_usd_m**: 412 is stated as constant-currency and hedged ("call it"), so it's approximate; the currency is not explicitly stated as USD. - **growth_pct**: "up eleven and change" means slightly more than 11, so 11 is a floor rather than an exact figure.
輸出 539 tok 延遲 7.6 s
是否遵守 schema(不自創欄位)、面對幻覺誘因的表現(題目明確不給 guidance),以及結構化輸出路徑的差異。
Claude Opus 5 通過 · 123 words, 0 banned, 1 question
**Cross-Provider Prompt Caching** We're introducing Cross-Provider Prompt Caching in the API Gateway. Repeated system prompts, long documents, and few-shot examples are stored once at the gateway layer and reused across OpenAI, Anthropic, Google, and self-hosted models. Instead of paying full input token costs on every request, your application sends a cache reference, and the gateway rehydrates the context before forwarding it downstream. Why does that matter? Teams running high-volume agents and retrieval pipelines typically see input token spend fall 40 to 70 percent, with median latency dropping by several hundred milliseconds. Caches are scoped per project, encrypted at rest, and invalidated automatically when a prompt template changes. Enable it with a single header, and see the docs for TTL tuning and per-route controls.
輸出 1593 tok 延遲 19.1 s
是否遵守限制(字數上限、禁用詞清單、只能有一句問句)、文字風格的特徵,以及長度控制。
30 秒上手 Claude Opus 5
相容 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-5",
messages=[{"role": "user", "content": "Summarize this diff"}],
reasoning_effort="medium",
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "claude-opus-5",
messages: [{ role: "user", content: "Summarize this diff" }],
reasoning_effort: "medium",
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-5",
"messages": [{"role": "user", "content": "Hello"}],
"reasoning_effort": "medium"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "claude-opus-5",
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
ReasoningEffort: openai.ReasoningEffortMedium,
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
import com.openai.models.ReasoningEffort;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("claude-opus-5")
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));關於 Claude Opus 5
- Anthropic 自己的選型建議是從這裡起步,把 Claude Fable 5 留給需要最高可用能力的工作負載。
- 它是按 Opus 4.8 定價(每百萬輸入 token $5、每百萬輸出 token $25)的直接替換式升級,預設保留 1M token 上下文視窗且不需要 beta 標頭,並提供 128K 最大輸出、自適應思考、提示詞快取、批次處理、Files API、PDF 支援與視覺能力,同時有兩項文件化的缺口:網頁抓取(web fetch)工具不可用,Priority Tier 不受支援。
- 有兩處變更會在遷移時絆住人。
- 思考預設開啟,因此一個省略 thinking 欄位的請求現在會推理,而此前不會,且 max_tokens 仍然同時限制思考與回答。
- 另外,思考只能在力度 high 或更低時關閉,因為把停用的思考與 xhigh 或 max 搭配會回傳 400。
- 力度從 low 到 max,預設為 high;提示詞快取從 512 token 前綴起算,而不是 1,024;fast mode 以研究預覽的形式提供;可靠知識截止為 2026 年 5 月。
- 面向網路安全的安全分類器可以拒絕請求,Anthropic 還指出這款模型會在未經提示的情況下自我驗證,因此從舊 prompt 沿用下來的驗證指令現在會導致過度驗證。
- Synthorai 透過其 OpenAI 相容 chat 端點提供 Claude Opus 5。
常見問題
Claude Opus 5 API 可以免費試用嗎?
可以,新帳號有 10 次試用呼叫和最高 $1 的免費額度,免綁卡。以輸入價 $5/M 計算,光是這筆額度就夠你對 Claude Opus 5 發出約 24 次請求,每次約 8K token。
Claude Opus 5 最擅長什麼?
為複雜智慧體編碼與企業工作打造、深度推理與長程任務相對 Opus 4.8 的階躍提升、思考預設開啟,僅在力度 high 或更低時可關閉。完整介紹請見「關於」一節,內容取自供應商官方的發布說明。
Claude Opus 5 的價格是多少?
在 Synthorai 上,Claude Opus 5 的輸入價是每百萬 token $5,輸出價是每百萬 token $25。這就是供應商官網價,平台不加價。快取命中的輸入 token 以 $0.5/M 計費。
Claude Opus 5 的上下文長度是多少?
Claude Opus 5 的上下文長度(上下文視窗)是 1M token。單次回覆最多輸出 128,000 個 token。
Claude Opus 5 支援提示詞快取(prompt caching)嗎?
支援,需主動開啟:以 cache_control 中斷點標記穩定前綴。快取命中的輸入 token 以 $0.5/M 計費(未命中為 $5/M);提示詞要有 512 個 token 以上的穩定前綴,才能命中快取(TTL 預設 5 分鐘,可選 1 小時)。 提示詞快取指南 →
如何開通 Claude Opus 5?
把現有 OpenAI SDK 的 base_url 指向 "https://synthorai.io/v1",model 設為 "claude-opus-5" 就可以了。一把 API 金鑰就能呼叫閘道上的所有模型。
Claude Opus 5 的知識截止日期是什麼時候?
Claude Opus 5 的知識截止日期為 2026-05,依據供應商官方文件(查核日期:2026-07-28)。
相關模型
比較
本頁每一個數值都摘錄自供應商自己的文件(連結見上方),並附上查核日期。價格是放在整個目錄裡比較;各家供應商定義不一樣的規格,只說明差異,不畫成圖表比較。這裡沒有任何數據是我們自己量測的,也不做評分。