返回模型列表
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"
}'所属专题
相关新闻
指南
- 指南Flash 模型三方对决:DeepSeek V4.1 Flash vs Qwen3.8 Flash vs GLM-5.3 Flash
- 指南通过 OpenAI 兼容 API 使用 Kimi K3 和 DeepSeek V4.1 Flash:TheRouter 集成指南
- 指南DeepSeek V4.1 Flash API 完整指南:552B MoE 架构、原生视觉与低成本路由
- 指南DeepSeek V4 Pro 9 月 14 日下线:迁移至 V4.1 Flash 完整指南
- 指南DeepSeek V4-Pro + Codex:Responses API 编码智能体接入指南
- 指南Assistants 关停之后:OpenAI Responses API 迁移模式与架构指南
事实档案 — 本页每条断言可在此回溯来源
| 来源 | 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.0 | huggingface.co ↗ | 2026-08-12 | 已核实 |
| LiveCodeBench Pass@1 | huggingface.co ↗ | 2026-08-12 | 已核实 |
| MMLU-Pro | huggingface.co ↗ | 2026-08-12 | 已核实 |
| GPQA Diamond | huggingface.co ↗ | 2026-08-12 | 已核实 |
| SWE-bench Verified | huggingface.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 | 待核实 |