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

Claude Sonnet 5 vs DeepSeek V4 Pro

vs

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

どちらも 1,000,000 トークンのコンテキストウィンドウを持ち、チャット・コード・推論・ツールを備えるため、違いはモダリティとコストです。claude-sonnet-5 はテキストに加えて画像入力を受け付け思考能力を公開し、deepseek-v4-pro はテキスト専用ですが出力は最大 393216 トークンで、Sonnet の 128000 を上回ります。料金表では deepseek-v4-pro が全面的に安く、入力 $1.32 対 $2、出力 $3.96 対 $10(約 2.5 分の 1)、キャッシュ読み取り $0.132 対 $0.2 です。画像や切り替え可能な思考が必要なら claude-sonnet-5 を、支出を抑えた長文生成なら deepseek-v4-pro を選びます。

ベンチマーク

平均超え上回るモデルなしClaude Sonnet 54 / 221 / 22DeepSeek V4 Pro5 / 100 / 10
Claude Sonnet 5 DeepSeek V4 Pro 測定された他モデル 他モデルの平均 ★ これを上回るモデルなし
SWE-Bench Pro
N/A
59%
BioMysteryBench hard
34.1%
N/A
OSWorld 2.0 Partial score, batch tool enabled
42.6%
N/A
Finance Agent v2
53.9%
N/A
Harvey Lab-AA
90.1%
N/A
Humanity's Last Exam no tools
N/A
37.7%
AutomationBench
10.7%
N/A
LVBench
68.5%
N/A

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

料金

Claude Sonnet 5 DeepSeek V4 Pro Δ
入力 / 100 万トークン $2 $1.32 1.5×
出力 / 100 万トークン $10 $3.96 2.5×
キャッシュ読み取り / 100 万トークン $0.2 $0.132 1.5×
キャッシュ書き込み 1.25x (5m) / 2x (1h) 追加料金なし -

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

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

対応機能

Claude Sonnet 5 DeepSeek V4 Pro
ツール呼び出し あり あり
思考の制御 設定可能 設定可能
構造化出力 あり あり
プロンプトキャッシュ 明示(プレフィックスを自分で指定) 自動(暗黙的)
キャッシュ保持時間 5m default, 1h option no fixed TTL (evicted when unused)
キャッシュ対象の最小プレフィックス 1024 トークン 公表なし

仕様

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

"enabled" returns 400

thinking.type
  • enabled
  • disabled
reasoning_effort
  • high
  • max (low and medium map to high, xhigh maps to max)
デフォルト

thinking on (adaptive)

effort
  • high

enabled, with reasoning_effort high

some complex agent requests are automatically set to max

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

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

DeepSeek V4 Pro 合格 · 3 sentences

Enabling reasoning causes the model to generate a lengthy internal chain‑of‑thought before it delivers a visible answer, and we are billed for every one of those hidden reasoning tokens just as we are for the final output. In most interactions, the volume of these unseen tokens at least equals the visible response, effectively doubling the total tokens consumed per query. That doubled token consumption translates directly into a doubled per‑query cost, which is why our overall LLM bill doubled.

出力 641 tok (+545 思考) レイテンシ 11.5 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

DeepSeek V4 Pro 合格 · 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 ``` **Explanation:** The bug stems from initializing `cur = 0` and only incrementing it when two adjacent elements match, which counts the number of *additional* equal elements rather than the actual run length (which is `cur + 1`). As a result, the returned `best` is always one less than the true longest run—most obviously returning 0 for a single-element list instead of 1. […]

出力 2418 tok (+2131 思考) レイテンシ 35.6 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

DeepSeek V4 Pro 合格 · 5/5 fields, guidance null

{ "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": 412, "growth_pct": "eleven and change", "guidance": null }

出力 1204 tok (+1153 思考) レイテンシ 19.9 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

DeepSeek V4 Pro 採点できる回答なし · no answer text within 16,384 tokens (all of it went to thinking)

モデルは回答テキストを返しませんでした。トークンの上限を、表示されない思考ですべて使い切ったためです。

出力 8193 tok (+8192 思考) レイテンシ 106.2 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="deepseek-v4-pro",  # この行のコメントを外し、上の行をコメントアウト
    messages=[{"role": "user", "content": "Summarize this diff"}],
    reasoning_effort="medium",
)
print(resp.choices[0].message.content)

API キーを取得 →

よくある質問

Claude Sonnet 5 と DeepSeek V4 Pro ではどちらが安いですか?

入力 / 100 万トークンは DeepSeek V4 Pro のほうが安くなります($1.32 対 $2、1.5 倍の差)。ほかの行では逆になることもあります。料金の全体は上の表に掲載しており、実際のコストは利用の内訳によって変わります。

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

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

Claude Sonnet 5 と DeepSeek V4 Pro はプロンプトキャッシュに対応していますか?

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

関連する比較

当社の実測レポートより