返回模型列表

DeepSeek V4 Flash

deepseekdeepseek/deepseek-v4-flash

供应商自营与 TheRouter 服务形态的差异

供应商自己运营时

DeepSeek 官方服务以 deepseek-v4-flash 暴露 V4-Flash,支持 OpenAI 格式、Anthropic 格式与 Responses API;Hugging Face 同时发布开源权重供自部署。

在 TheRouter 上

TheRouter 在 OpenAI 兼容的 /v1 接口下以 deepseek/deepseek-v4-flash 提供同一文本模型。价格、上下文长度、输出上限与支持参数来自实时模型注册表,不在本策展页重复维护。

API 使用指南

Chat 调用

标准 OpenAI 兼容 chat 端点。添加 reasoning_effort 与 thinking extra_body 即可启用思维链。

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4-flash",
    "messages": [{"role":"user","content":"Explain quantum computing in simple terms"}],
    "reasoning_effort": "high",
    "extra_body": {"thinking": {"type": "enabled"}}
  }'

思考 / 推理模式

V4-Flash 支持显式思考,reasoning_content 单独输出。困难 agent 任务请使用 high 或 max 强度。

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4-flash",
    "messages": [{"role":"user","content":"Solve this step by step: ..."}],
    "reasoning_effort": "max",
    "extra_body": {"thinking": {"type": "enabled"}}
  }'

工具调用

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4-flash",
    "messages": [{"role":"user","content":"What's the weather in SF?"}],
    "tools": [{"type":"function","function":{"name":"get_weather","parameters":{...}}}],
    "tool_choice": "auto"
  }'

相关新闻

指南

事实档案 — 本页每条断言可在此回溯来源
来源URL采集于
发布日期(预览版)api-docs.deepseek.com ↗2026-05-25已核实
架构api-docs.deepseek.com ↗2026-05-25已核实
上下文窗口api-docs.deepseek.com ↗2026-05-25已核实
最大输出长度api-docs.deepseek.com ↗2026-05-25已核实
推理模式api-docs.deepseek.com ↗2026-05-25已核实
许可——代码huggingface.co ↗2026-05-25已核实
许可——权重huggingface.co ↗2026-05-25已核实
开源权重huggingface.co ↗2026-05-25已核实
训练 token 量huggingface.co ↗2026-08-12已核实
Terminal Bench 2.0huggingface.co ↗2026-08-12已核实
LiveCodeBench Pass@1huggingface.co ↗2026-08-12已核实
MMLU-Prohuggingface.co ↗2026-08-12已核实
GPQA Diamondhuggingface.co ↗2026-08-12已核实
SWE-bench Verifiedhuggingface.co ↗2026-08-12已核实
Codeforces rating (Max)huggingface.co ↗2026-08-12已核实
DeepSeek 发布 V4 预览版——开源权重前沿定价下的 100 万 token 上下文api-docs.deepseek.com ↗2026-05-25已核实
V4-Flash 与 V4-Pro 在真实 agent 工作负载上差距如何?codersera.com ↗2026-05-25待核实
V4-Flash 是否支持与 V4-Pro 相同的思考模式 API?api-docs.deepseek.com ↗2026-05-25待核实
2026 年 7 月的 V4-Flash API 更新改变了什么?api-docs.deepseek.com ↗2026-08-12待核实
帮助与联系