新帳號 免費註冊,送 10 次呼叫,最高 $1,免綁卡。

DeepSeek V4 Pro

發布於 2026-04-24

chat程式碼推理工具呼叫提示詞快取

DeepSeek V4 Pro 是開源 DeepSeek-V4 系列的旗艦:一款混合專家(MoE)模型,總參數 1.6T、啟用 49B,在超過 32T token 的語料上預訓練。

輸入
文字 $1.32/M
輸出
文字 $3.96/M
快取讀取
$0.132/M
上下文
1M
相較 GPT-4o
便宜約 74%

Benchmark 成績

高於平均5 / 10
DeepSeek V4 Pro 其他有成績的模型 其他模型平均 ★ 沒有模型分數更高
SWE-Bench Pro
59%
CoWorkBench max
66.3%
Humanity's Last Exam no tools
37.7%
MCP-Mark
57.1%

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

價格在同類中的位置

價格在 68 個同類模型中的位置

輸入$1.32/M
$0.1 · Dola Seed 2.0 Mini GPT-5.4 Pro · $30
輸出$3.96/M
$0.275 · DeepSeek V4 Flash GPT-5.4 Pro · $180
快取讀取$0.132/M
$0.01 · Claude Haiku 5.5 GPT-5.4 Pro · $15

這條線標出這個模型的價格,在 Synthorai 的同類模型裡落在什麼位置;兩端分別是最便宜和最貴的模型。這裡列的是基礎價,批次、區域和快取寫入的折扣請見價格頁。

規格與限制

Token

上下文視窗(供應商規格) 1,000,000
最大輸出(供應商規格) 393,216

提示詞快取

快取方式 自動
存活時間 無固定 TTL(長期未使用即自動清理)

思考

供應商參數 thinking.type + reasoning_effort
可接受的值 thinking.type enabled · disabled; reasoning_effort high · max (low and medium map to high, xhigh maps to max)
預設值 enabled,reasoning_effort 為 high;部分複雜的智慧體請求會自動設為 max 請求未指定時生效
可關閉 支援
思考行為 思考軌跡透過 reasoning_content 回傳;在模型呼叫工具的輪次中,它必須在之後的每一輪都回傳,其他情況下則會被忽略。思考模式還會靜默忽略 temperature、top_p、presence_penalty 和 frequency_penalty。DeepSeek 公布的是其自家 API 的預設值;託管該模型的其他平臺會記載不同的預設值,因此請以你被路由到的平臺為準。
參數 reasoning_effort
參數值 minimal · low · medium · high 這是閘道的參數,實際以上方的供應商對應為準

模型

模態 文字 → 文字
參數量 總參數 1.6T · 啟用 49B MoE
授權條款 MIT
  • 1.6T 總參數 / 49B 啟用的 MoE 旗艦,1M 上下文,思考與非思考雙模式
  • 在 1M 上下文下,混合稀疏注意力相比 V3.2 把單 token FLOPs 降到 27%、KV 快取降到 10%

依據 DeepSeek 官方文件 ↗

一段提示詞,經閘道實測

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

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

是否照指令做(剛好三句,數得出來)、語氣是否貼合對象(寫給 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. 檢查 修正後通過測試

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

修正是否真的正確(跑得起來)、說明的資訊密度,以及在範圍明確的任務上的 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

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

是否遵守 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 個禁用詞

DeepSeek V4 Pro 沒有可評分的回答 · no answer text within 16,384 tokens (all of it went to thinking)

模型沒有回傳任何回答文字,token 額度全都用在隱藏的思考上了。

輸出 8193 tok (+8192 思考) 延遲 106.2 s

是否遵守限制(字數上限、禁用詞清單、只能有一句問句)、文字風格的特徵,以及長度控制。

30 秒上手 DeepSeek V4 Pro

相容 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="deepseek-v4-pro",
    messages=[{"role": "user", "content": "Summarize this diff"}],
    reasoning_effort="medium",
)
print(resp.choices[0].message.content)

關於 DeepSeek V4 Pro

  • 它支援 1M token 上下文視窗以及思考/非思考雙模式,DeepSeek 強調它出色的智慧體編碼、廣博的世界知識,以及在數學、STEM 與程式設計上的推理能力。
  • 模型卡列出了背後的組成:把 Compressed Sparse Attention 與 Heavily Compressed Attention 搭配的混合注意力堆疊、Manifold-Constrained Hyper-Connections,以及 Muon 最佳化器,其中 MoE 專家權重以 FP4 保存,其餘多數參數以 FP8 保存。
  • 新的稀疏注意力設計把長上下文推理的 FLOPs 與 KV 快取降到 DeepSeek-V3.2 的一小部分。
  • 思考是一個請求參數,而不是另一個模型名稱:thinking 物件負責開關,reasoning_effort 設定用來選擇文件化的 Non-think、Think High 與 Think Max 行為,思維鏈則與答案並列回傳在 reasoning_content 中。
  • DeepSeek 的指南還加了一條值得寫進程式碼的規則:凡是模型呼叫過工具的輪次,該輪的 reasoning_content 必須在後續輪次傳回。
  • 函式呼叫與 JSON 輸出在開啟思考時同樣可用,輸出可達 384K token,前綴快取為自動。
  • 權重以 MIT License 公開釋出。
  • 在 Synthorai 上,DeepSeek V4 Pro 透過 OpenAI 相容的 chat completions 端點提供。

常見問題

DeepSeek V4 Pro API 可以免費試用嗎?

可以,新帳號有 10 次試用呼叫和最高 $1 的免費額度,免綁卡。以輸入價 $1.32/M 計算,光是這筆額度就夠你對 DeepSeek V4 Pro 發出約 94 次請求,每次約 8K token。

DeepSeek V4 Pro 最擅長什麼?

1.6T 參數 MoE,啟用 49B、預訓練語料超過 32T token、1M 上下文,思考雙模式。完整介紹請見「關於」一節,內容取自供應商官方的發布說明。

DeepSeek V4 Pro 的價格是多少?

在 Synthorai 上,DeepSeek V4 Pro 的輸入價是每百萬 token $1.32,輸出價是每百萬 token $3.96。這就是供應商官網價,平台不加價。快取命中的輸入 token 以 $0.132/M 計費。

DeepSeek V4 Pro 的上下文長度是多少?

DeepSeek V4 Pro 的上下文長度(上下文視窗)是 1M token。單次回覆最多輸出 393,216 個 token。

DeepSeek V4 Pro 支援提示詞快取(prompt caching)嗎?

支援,而且全自動:由 DeepSeek 處理的提示詞會自動快取,不用改程式碼。快取命中的輸入 token 以 $0.132/M 計費(未命中為 $1.32/M)(TTL 無固定 TTL(長期未使用即自動清理))。 提示詞快取指南 →

如何開通 DeepSeek V4 Pro?

把現有 OpenAI SDK 的 base_url 指向 "https://synthorai.io/v1",model 設為 "deepseek-v4-pro" 就可以了。一把 API 金鑰就能呼叫閘道上的所有模型。

DeepSeek V4 Pro 是開源的嗎?

是,權重以 MIT 授權釋出(官方儲存庫連結見「關於」一節)。不想自己準備 GPU 的話,這裡的託管版本按用量計費,不必自己架設基礎設施。 執行開放權重模型 →

相關模型

比較

本頁每一個數值都摘錄自供應商自己的文件(連結見上方),並附上查核日期。價格是放在整個目錄裡比較;各家供應商定義不一樣的規格,只說明差異,不畫成圖表比較。這裡沒有任何數據是我們自己量測的,也不做評分。

取得 API 金鑰 算算你的成本 →