新規 無料登録で、呼び出し 10 回分(最大 $1)をお試しいただけます。カード登録は不要です。

Claude Sonnet 5 vs Qwen3.8 Max

vs

どんなときに、どちらを選ぶか

この 2 つは料金表が近く——100万入力トークンあたりどちらも $2、コンテキストウィンドウもほぼ同じ(claude-sonnet-5 が 1,000,000、qwen3.8-max が 983,616)、最大出力も同等(128,000 対 131,072 トークン)——なので違いは主に出力価格と制御です。出力の多いワークロードには qwen3.8-max を選んでください。100万トークンあたり $6 の出力は claude-sonnet-5 の $10 より約 1.7 分の 1 です。切り替えて無効化できる明示的な思考能力と、$0.2 対 $0.25 とわずかに安いキャッシュ読み取りが欲しいなら claude-sonnet-5 です。

ベンチマーク

平均超え上回るモデルなしClaude Sonnet 54 / 211 / 21Qwen3.8 Max31 / 408 / 40
Claude Sonnet 5 Qwen3.8 Max 測定された他モデル 他モデルの平均 ★ これを上回るモデルなし
DeepSWE 1.1
53.8%
56.6%
BioMysteryBench hard
34.1%
N/A
OSWorld 2.0 Partial score, batch tool enabled
42.6%
N/A
Cybergym
N/A
78.5%
HealthBench
N/A
これを上回るモデルなし 60.2%
Finance Agent v2
53.9%
N/A
Harvey Lab-AA
90.1%
N/A
GPQA Diamond
N/A
92.6%
Agents' Last Exam Pass
これを上回るモデルなし 33.3%
27%
LVBench
68.5%
N/A

ベンダー公表値: Alibaba (Qwen) Anthropic ByteDance DeepSeek Google MiniMax Moonshot OpenAI Tencent Z.ai

料金

Claude Sonnet 5 Qwen3.8 Max Δ
入力 / 100 万トークン $2 $2 =
出力 / 100 万トークン $10 $6 1.7×
キャッシュ読み取り / 100 万トークン $0.2 $0.25 0.8×
キャッシュ書き込み 1.25x (5m) / 2x (1h) 1.25x -

ビルド時点の現行カタログの料金です。最新の料金表は各モデルのページに掲載しています。

両モデルの位置:100 万トークンあたりの入力料金(この課金単位のチャットモデル全 76 件、対数スケール)

対応機能

Claude Sonnet 5 Qwen3.8 Max
ツール呼び出し あり あり
思考の制御 設定可能 あり(ベンダーは調整用パラメータを公表していない)
構造化出力 あり あり
プロンプトキャッシュ 明示(プレフィックスを自分で指定) 自動 + 明示
キャッシュ保持時間 5m default, 1h option explicit: 5m, reset on hit
キャッシュ対象の最小プレフィックス 1024 トークン 1024 トークン

仕様

Claude Sonnet 5 Qwen3.8 Max
入力モダリティ テキスト 画像 テキスト 画像
出力モダリティ テキスト テキスト
リリース 2026-06-30 2026-08-03
知識カットオフ 2026-01 -
コンテキストウィンドウ 1M 984K
最大出力 128K 131K
思考パラメータ
  • thinking.type "adaptive"
  • output_config.effort
-
指定可能な値
thinking.type
  • adaptive
  • disabled
effort
  • low
  • medium
  • high
  • xhigh
  • max

"enabled" returns 400

-
デフォルト

thinking on (adaptive)

effort
  • high
-

仕様は各ベンダーのドキュメントから転記しています。ベンダーが公表していない項目は、推測で埋めずに省いています。 出典の一覧: Claude Sonnet 5 · Qwen3.8 Max

1 つのプロンプトを両モデルで実行(ゲートウェイ経由で測定)

プロンプト Explain to a CFO, in exactly three sentences, why our LLM bill doubled after we enabled reasoning. チェック ちょうど 3 文

Claude Sonnet 5 合格 · 3 sentences

Reasoning mode works by having the model generate extended internal "thinking" steps before producing its final answer, and since we're billed on total tokens, that hidden reasoning text adds significantly to what we pay for—even though you never see it in the output. This is different from simply getting longer visible responses; the model is essentially "showing its work" behind the scenes, and complex prompts can trigger thousands of extra reasoning tokens per request. The upside is improved accuracy on complex tasks, but if we want to control costs, we should selectively enable reasoning only for queries that truly need it, rather than applying it universally.

出力 194 tok レイテンシ 4.3 s

Qwen3.8 Max 合格 · 3 sentences

Enabling reasoning makes the model produce additional hidden steps before responding, and those tokens are billable. It also tends to lengthen each interaction because the model works through more possibilities before settling on an answer. Therefore, the bill doubled mainly due to higher compute and token usage per request, not necessarily because the number of requests doubled.

出力 378 tok (+305 思考) レイテンシ 8.6 s

指示への忠実さ(ちょうど 3 文という、数えて確かめられる条件)、読み手に合わせた書き分け(CFO 向けの語り口)、そして下のトークンメーターに表れる、表示されない思考への課金の差。

プロンプト 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 Sonnet 5 合格 · 8/8 cases

## The Bug The function has two related off-by-one issues rooted in the same cause: `cur` and `best` are initialized to `0` instead of `1`, treating run lengths as the number of *matches* between adjacent elements rather than the number of *elements* in the run. This means a single-element input never enters the loop (since `range(1, 1)` is empty) and returns `0` instead of the correct answer of `1`. It also means that for any input, the run length is undercounted by exactly one — a run of 3 equal elements only produces 2 "match" increments, so `best` ends up as 2 instead of 3. The claim that it "misses runs that end at the last index" is actually a symptom of this same undercount: the logic does update `best` correctly on every iteration (including the last), but because it's counting matches instead of elements, the final reported value is always one less than the true longest run. […]

出力 536 tok レイテンシ 7.1 s

Qwen3.8 Max 合格 · 8/8 cases

```python def longest_run(xs): if not xs: return 0 best = cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 else: cur = 1 best = max(best, cur) return best ``` The bug is that the original code starts `best` and `cur` at `0`, so it counts adjacent equal *transitions* rather than the number of items in the run. A run of length `n` has only `n - 1` equal-neighbor transitions, so single-element inputs return `0`, and runs that reach the end are undercounted by one. Initializing the current run to `1` for the first element, resetting it to `1` on a break, and updating `best` from that count fixes the off-by-one.

出力 1616 tok (+1411 思考) レイテンシ 34.7 s

修正が本当に正しいか(実行して確かめられる)、説明の密度、範囲の限られたタスクでのトークン効率。

プロンプト 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、スキーマに完全一致

Claude Sonnet 5 合格 · 5/5 fields, guidance null

```json { "company": "Meridian Robotics", "quarter": "Q3", "revenue_usd_m": 412, "growth_pct": 11.5, "guidance": null } ```

出力 348 tok レイテンシ 5.3 s

Qwen3.8 Max 合格 · 5/5 fields, guidance null

{ "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": 412, "growth_pct": 11, "guidance": null }

出力 1199 tok (+1141 思考) レイテンシ 24.4 s

スキーマの遵守(存在しないフィールドを作らない)、ハルシネーションを誘う条件への耐性(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 Sonnet 5 合格 · 123 words, 0 banned, 1 question

## Introducing Cross-Provider Prompt Caching We're rolling out a new caching layer for our API gateway that works across every major LLM provider you connect through it. Instead of resending identical prompts and paying full price each time, the gateway recognizes repeated requests and serves cached responses in milliseconds—regardless of whether you're routing to OpenAI, Anthropic, or Google. What does this mean for your bill and your latency? Both drop, often significantly, especially for teams running high-volume, repetitive workloads like customer support bots or batch content generation. The cache is configurable per route, with adjustable TTLs and invalidation rules, so you stay in control of freshness versus cost. Available now for all Pro and Enterprise plans. Check your dashboard to enable it today.

出力 259 tok レイテンシ 4.8 s

Qwen3.8 Max 合格 · 120 words, 0 banned, 1 question

Today, our API gateway adds prompt caching across major model providers. It stores prompts and responses in one fast cache layer. Teams can lower token spend, reduce latency, and repeat reliable answers. The feature supports OpenAI, Anthropic, Google, and Mistral through one configuration. You can set retention rules, scope access, and invalidate entries quickly. How does your team maintain consistent results during provider outages? Approved cached responses keep applications stable while fallback routes recover. The dashboard shows hit rates, savings, latency, and provider usage. Engineers receive audit trails for every cached prompt, enabling safer testing. Product managers can compare cost trends before and after cache adoption. Start with a small route, then safely expand caching to production traffic right now.

出力 2744 tok (+2591 思考) レイテンシ 46.3 s

制約の遵守(語数の上限、禁止語リスト、疑問文はひとつだけ)、文体の癖、長さの制御。

1 行の変更で切り替え

以下のどのタブにも両方のモデル ID が入っています。書き換えるのはハイライトされた 2 行だけで、エンドポイント、キー、リクエスト形式はすべて同じです。

from openai import OpenAI

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

resp = client.chat.completions.create(
    model="claude-sonnet-5",
    # model="qwen3.8-max",  # この行のコメントを外し、上の行をコメントアウト
    messages=[{"role": "user", "content": "Summarize this diff"}],
    reasoning_effort="medium",
)
print(resp.choices[0].message.content)

API キーを取得 →

よくある質問

Claude Sonnet 5 と Qwen3.8 Max ではどちらが安いですか?

入力 / 100 万トークンはどちらも同じ($2)なので、価格は決め手になりません。以下の仕様と対応機能を見比べてください。

Claude Sonnet 5 と Qwen3.8 Max の A/B テストは、実装を 2 つ用意せずにできますか?

はい。どちらも同じ OpenAI 互換エンドポイントから 1 つの API キーで利用できます。切り替えはモデル名の文字列を 1 行変えるだけなので、トラフィックの一部をそれぞれに振り分けて、請求額を直接比較できます。

Claude Sonnet 5 と Qwen3.8 Max はプロンプトキャッシュに対応していますか?

はい。どちらのモデルも、キャッシュ読み取りは通常の入力単価より安く課金されます。そのため、同じプレフィックスを繰り返し使うワークロードでは、定価から見込まれるよりコストが下がります。キャッシュ読み取りの正確な単価は、上の料金表に掲載しています。

関連する比較

当社の実測レポートより