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

DeepSeek V4 Flash

發布於 2026-04-24

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

DeepSeek V4 Flash 是開源 DeepSeek-V4 系列中快速、經濟的成員:一款混合專家(MoE)模型,總參數 284B、啟用 13B,與其更大的同門一樣在超過 32T token 的語料上預訓練。

輸入
文字 $0.138/M
輸出
文字 $0.275/M
快取讀取
$0.0028/M
上下文
1M
相較 GPT-4o
便宜約 97%

Benchmark 成績

高於同儕均值僅 2 項可比
DeepSeek V4 Flash 其他被測模型 同儕均值 無人分數更高
SWE-Bench Pro max
52.6%
GPQA Diamond max
88.1%
APEX-Agents high
19.1%

廠商公布: Alibaba (Qwen) DeepSeek Google

價格在同類中的位置

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

輸入$0.138/M
$0.05 · Qwen3 VL Flash GPT-5.4 Pro · $30
輸出$0.275/M
$0.275 · DeepSeek V4 Flash GPT-5.4 Pro · $180
快取讀取$0.0028/M
$0.0028 · DeepSeek V4 Flash 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 閘道側參數面——以上方廠商映射為準

模型

模態 文字 → 文字
參數量 總參數 284B · 啟用 13B MoE
授權條款 MIT
  • 284B 總參數 / 13B 啟用的 MoE,1M 上下文,思考與非思考雙模式
  • 混合稀疏注意力,FP4+FP8 混合精度
  • V4 系列中快速、經濟的變體

依據 DeepSeek 官方文件 ↗

單一提示詞 — 經由閘道測量

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

DeepSeek V4 Flash 通過 · 3 sentences

When reasoning is enabled, the model generates additional "chain-of-thought" tokens internally before producing the final answer, effectively doubling the total token count per request. Since our billing is based on tokens processed, this directly doubled your usage. Additionally, reasoning often requires more expensive model tiers or higher compute resources, further amplifying the cost increase.

輸出 154 tok (+85 思考) 延遲 3.1 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 Flash 通過 · 8/8 cases

The bug is that the function counts the number of consecutive equal **pairs** (i.e., `cur` increments for each `i` where `xs[i] == xs[i-1]`), but it should return the **length** of the longest run. For a run of length `L`, the number of pairs is `L-1`, so the result is always one less than the correct value. This causes the function to return 0 for a single‑element list (expected 1) and to undercount runs that end at the last index (e.g., `[1,1]` returns 1 instead of 2). Additionally, runs of length 1 that are not part of any pair (such as a single element at the end of a list) are never considered because `best` is only updated when a pair is found. […]

輸出 2494 tok (+2227 思考) 延遲 19.4 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 Flash 通過 · 5/5 fields, guidance null

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

輸出 1101 tok (+1054 思考) 延遲 10.2 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 Flash 通過 · 119 words, 0 banned, 1 question

We're thrilled to introduce Prompt Cache, a new feature for our API Gateway that stores prompt responses from any provider. When a user submits a prompt you've already processed, the system returns the cached result instantly—eliminating redundant API calls and reducing latency. This works across OpenAI, Anthropic, Google, and more, with automatic cache invalidation based on your rules. What does this mean for your budget? Fewer API calls directly lower your monthly spend. Additionally, response times drop by up to 80% for cached prompts, improving user experience. Developers can configure cache duration per provider, set TTLs, and bypass cache when needed. The feature is available now in your gateway dashboard. Start saving time and money with Prompt Cache.

輸出 2039 tok (+1887 思考) 延遲 15.6 s

約束服從度(字數預算、禁用詞表、唯一的那句問句)、文風指紋,以及長度控制。

30 秒用上 DeepSeek V4 Flash

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-flash",
    messages=[{"role": "user", "content": "Summarize this diff"}],
)
print(resp.choices[0].message.content)

關於 DeepSeek V4 Flash

  • 它標配該系列的 1M token 上下文視窗,輸出最高 384K token,並支援非思考與思考模式,包括更高的推理力度設定。
  • DeepSeek 強調其混合稀疏注意力創新相比 DeepSeek-V3.2 大幅削減了長上下文推理的算力與 KV 快取成本,推理表現接近 V4 Pro,而價格與延遲更低;釋出說明進一步指出,在簡單的智慧體任務上 Flash 的表現與 Pro 相當,這也是在兩者之間取捨時該讀的那一句:知識密集與高難度的智慧體工作交給 Pro,一切大量高頻的工作交給 Flash。
  • 它同時也是兩者中併發能力較高的一款。
  • 在整合上兩者的機制完全相同:同樣的 thinking 物件與 reasoning_effort 分級、同樣以 reasoning_content 欄位回傳思維鏈、同樣要求在呼叫過工具的輪次把該欄位傳回、同樣支援 128 個函式的工具呼叫、JSON 輸出與自動前綴快取,以及同樣的 FP4/FP8 混合精度封裝。
  • 權重以 MIT 授權釋出,並發布在 DeepSeek 自家的模型平台上。
  • Synthorai 透過其 OpenAI 相容端點提供 DeepSeek V4 Flash,用戶端無需任何改動。

常見問題

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

可以,新帳號可獲得 10 次試用呼叫和最高 $1 的免費額度,無需信用卡。以輸入 $0.138/M 計算,光是這筆額度就足以對 DeepSeek V4 Flash 發出約 905 次 ~8K token 的請求。

DeepSeek V4 Flash 最擅長什麼?

284B 參數 MoE,啟用 13B、混合稀疏注意力削減長上下文成本、MIT 許可權重,1M token 上下文。完整能力請見「關於」一節,內容取自廠商官方發布說明。

DeepSeek V4 Flash 的價格是多少?

在 Synthorai 上,DeepSeek V4 Flash 輸入 $0.138/百萬 token、輸出 $0.275/百萬 token,即廠商牌價,無平台加價。快取命中的輸入 token 以 $0.0028/M 計費。

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

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

如何開通 DeepSeek V4 Flash?

把現有 OpenAI SDK 的 base_url 指向 "https://synthorai.io/v1",model 設為 "deepseek-v4-flash" 即可。一組 API key 通用閘道上的所有模型。

DeepSeek V4 Flash 是開源的嗎?

是,權重以 MIT 授權 發布。也可以省下 GPU:這裡的託管版本按用量計費,無需自建基礎設施。 執行開放權重模型 →

相關模型

對比

本頁每個值都轉錄自廠商自己的文件(連結見上),並帶有核對日期。價格在全目錄範圍內比較;各廠商定義不同的規格值,只說明差異而不作圖表對比。此處沒有任何由我們測量的資料,也不做評分。

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