V4-Flash / V4-Pro 上线;旧别名现指向 V4
DeepSeek-V4 家族成为默认。deepseek-chat 与 deepseek-reasoner 别名现解析至 V4-Flash 的非思考/思考模式。V3.1 仍可使用,但新项目不再推荐。
DeepSeek V3.1 is a hybrid model supporting both thinking and non-thinking modes. Features enhanced tool calling capabilities for agent-based tasks. Thinking mode maintains answer quality comparable to DeepSeek-R1 with improved response times.
DeepSeek-V3.1 于 2025 年 8 月 21 日发布,是 DeepSeek 首款混合推理模型:同一个 checkpoint 可通过 API 端点或聊天界面的 DeepThink 开关,在非思考模式(deepseek-chat)与思考模式(deepseek-reasoner)之间切换。它继承 V3 的 671B 总参数 / 37B 激活 MoE 主干,额外进行了 840B token 的长上下文续训,并更新了 tokenizer 与 chat template。工程上的核心亮点是:V3.1-Think 的质量与 DeepSeek-R1-0528 相当或更优,而响应速度明显更快。
对 TheRouter 路由层用户来说,价值显而易见:同一个 model ID 即可同时承载快速对话与深度推理负载,无需维护独立的 R1 路由逻辑。工具调用与多步 agent 任务经过针对性后训,SWE-bench Verified 达到 66.0、SWE-bench Multilingual 54.5、Terminal-bench 31.3,较 R1-0528 有显著提升。代码采用 MIT 许可、权重采用宽松许可,SGLang、vLLM、LMDeploy 等推理栈已支持,意味着自托管路径在工程上真实可行。
| 类型 | 费率 |
|---|---|
| 输入 | $0.6264 每百万 Tokens |
| 输出 | $1.81 每百万 Tokens |
| 发布日期 | 2025-08-21api-docs.deepseek.com ↗ | 已核实 |
| 架构 | 671B 总参数 / 37B 激活的 MoE;在 V3 基础上进行 840B token 长上下文续训;新 tokenizer 与 chat templateapi-docs.deepseek.com ↗ | 已核实 |
| 上下文窗口 | 128K tokensapi-docs.deepseek.com ↗ | 已核实 |
| 混合模式 | deepseek-chat → 非思考模式;deepseek-reasoner → 思考模式(通过 API 或 UI DeepThink 按钮切换)api-docs.deepseek.com ↗ | 已核实 |
| 许可——代码 | MIThuggingface.co ↗ | 已核实 |
| 许可——权重 | DeepSeek Model License(允许商用)huggingface.co ↗ | 已核实 |
| 支持的推理后端 | SGLang、vLLM、LMDeploy、TensorRT-LLM、LightLLM、DeepSeek-Infer;支持 FP8 与 BF16;NVIDIA 与 AMD GPU;通过 MindIE 支持华为昇腾huggingface.co ↗ | 已核实 |
| 后继版本 | DeepSeek-V3.2(2025 年 12 月)→ V3.2-Speciale(临时)→ V4-Flash / V4-Pro(2026 年 4 月) | 已核实 |
| Benchmark | Distribution | Score | Source |
|---|---|---|---|
SWE-bench Verified Pass@1;较 R1-0528(44.6%)大幅提升 | 66.0% | api-docs.deepseek.com ↗ | |
SWE-bench Multilingual | 54.5% | api-docs.deepseek.com ↗ | |
Terminal-bench | 31.3% | api-docs.deepseek.com ↗ | |
Aider 超过 Claude 3.5 Sonnet(70.6%) | 71.6% | localllm.in ↗ | |
AIME 2025 Pass@1;较 R1-0528(70.0)提升 17.5 | 87.5% | api-docs.deepseek.com ↗ | |
GPQA Diamond | 74.9% | localllm.in ↗ | |
MMLU-Redux | 91.8% | localllm.in ↗ |
所有新集成都应使用下方示例中的全球端点 api.therouter.ai;旧中国加速端点已下线。
curl https://api.therouter.ai/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{
"model": "deepseek/deepseek-v3.1",
"messages": [
{"role": "user", "content": "Summarize the key points from this input."}
]
}'通过 deepseek-chat 别名或直接 model id 进行标准非思考对话。
curl -X POST https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek/deepseek-v3.1","messages":[{"role":"user","content":"Hello"}]}'DeepSeek-V4 家族成为默认。deepseek-chat 与 deepseek-reasoner 别名现解析至 V4-Flash 的非思考/思考模式。V3.1 仍可使用,但新项目不再推荐。
deepseek-chat 与 deepseek-reasoner 均升级至 V3.2(非思考/思考)。V3.1-Terminus 是短暂的中间版本,聚焦语言一致性与 agent 修复。
DeepSeek 首款混合模型。单一 checkpoint 支持思考与非思考两种模式。在 agent 基准上显著提升(SWE-bench Verified 66.0),思考速度快于 R1-0528。
model='deepseek-chat' 为非思考模式,model='deepseek-reasoner' 为思考模式。在网页 UI 中切换 DeepThink 按钮。底层权重相同,仅推理模板不同。
不推荐。V4-Flash / V4-Pro 已于 2026 年 4 月上线,是当前默认。V3.1 仍可用于兼容性,但新集成应以 V4 为目标,除非有特定理由留在 V3.1。
可以。权重已在 Hugging Face 以宽松许可发布。支持的推理引擎包括 SGLang、vLLM、LMDeploy、TensorRT-LLM、LightLLM。自托管可完全掌控数据驻留与成本。
| 来源 | 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 | 已核实 |
| 许可——代码 | huggingface.co ↗ | 2026-05-25 | 已核实 |
| 许可——权重 | huggingface.co ↗ | 2026-05-25 | 已核实 |
| 支持的推理后端 | huggingface.co ↗ | 2026-05-25 | 已核实 |
| 后继版本 | — | — | 已核实 |
| SWE-bench Verified | api-docs.deepseek.com ↗ | 2026-05-25 | 已核实 |
| SWE-bench Multilingual | api-docs.deepseek.com ↗ | 2026-05-25 | 已核实 |
| Terminal-bench | api-docs.deepseek.com ↗ | 2026-05-25 | 已核实 |
| Aider | localllm.in ↗ | 2026-05-25 | 待核实 |
| AIME 2025 | api-docs.deepseek.com ↗ | 2026-05-25 | 已核实 |
| GPQA Diamond | localllm.in ↗ | 2026-05-25 | 待核实 |
| MMLU-Redux | localllm.in ↗ | 2026-05-25 | 待核实 |
| V4-Flash / V4-Pro 上线;旧别名现指向 V4 | api-docs.deepseek.com ↗ | 2026-05-25 | 已核实 |
| V3.2 取代 V3.1 成为默认端点模型 | api-docs.deepseek.com ↗ | 2026-05-25 | 已核实 |
| DeepSeek-V3.1:混合思考模型发布 | api-docs.deepseek.com ↗ | 2026-05-25 | 已核实 |
| 如何在思考模式与非思考模式之间切换? | api-docs.deepseek.com ↗ | 2026-05-25 | 待核实 |
| 新项目还推荐使用 V3.1 吗? | api-docs.deepseek.com ↗ | 2026-05-25 | 待核实 |
| 可以自托管 V3.1 吗? | huggingface.co ↗ | 2026-05-25 | 待核实 |