开源项目 Hugging Face Models 2026-10-17T12:02 正文 ok 379 words

DeepSeek 发布 V4.1 Flash 1017 更新:提升推理、编程与 Agent 任务表现

英文标题:🤗 deepseek-ai/DeepSeek-V4.1-Flash-1017

DeepSeek-V4.1-Flash-1017 是 V4.1 Flash 的小版本更新,支持图像与文本输入、文本输出,模型规模为 763B。官方称,新版本在推理、编程、Agent 任务及视觉基准测试中表现提升,同时缩短任务执行时间和输出长度。Terminal-Bench 4.0 得分从 31.2 升至 42.3,DeepSWE v1.1 得分从 74.2 升至 77.0。开发者可使用配套的 Python 参考实现或 deepseek-recipe 工具处理提示词编码,并按 MIT 许可证使用模型权重。
打开原文相关 1.6 · 机会 2
media4.5 KB media3.6 KB media10.4 KB media6.0 KB media1.3 KB media1.3 KB media1.8 KB media1.3 KB media412.4 KB

中文

DeepSeek-V4.1-Flash-1017


技术报告 👁️

简介

DeepSeek-V4.1-Flash-1017 是 DeepSeek-V4.1-Flash 的一次小版本更新,在推理、编程、Agent 任务和视觉基准测试中均取得显著提升。与此同时,该模型缩短了任务执行时间和输出长度,使用户能够以更快的速度和更低的成本完成任务,并在多种 Agent 执行框架中推进性能与成本的帕累托前沿。

基准测试 DS-V4.1-Flash-1017 DS-V4.1-Flash K3 GLM-5.3 GPT-5.6 Sol Opus 5
HLE(不使用工具) 42.6 (44.0†) 36.8 (39.1†) 43.5 42.0† 44.5 56.3
Terminal-Bench 4.0 42.3 31.2 12.6 37.9 39.9 51.8
DeepSWE v1.1 77.0 74.2 67.5 66.9 73.0 74.0
ProgramBench 29.1 20.3 17.5 19.0 23.0 37.0
NL2Repo-Bench 68.2 65.4 58.0 58.0 56.8 75.3
Automation-Bench v1.0.6 60.5 54.8 46.7 48.8 45.8 50.3
Agents’ Last Exam 35.4 31.8 27.6 28.5 26.7 28.6
Apex Bench v1.1 72.1 64.6 47.8 56.6 54.3 65.8
Chartography(使用工具) 83.0 78.9 68.1 — 79.9 84.0
BabyVision(使用工具) 92.5 89.6 85.7 — 88.9 94.1
ZeroBench-main(使用工具) 51.0 49.0 41.0 — 53.0 52.0

† 表示 HLE 的纯文本子集。Terminal-Bench 4.0 使用 Claude Code 执行框架,DeepSWE v1.1 使用 Mini-SWE-V2 执行框架。

提示词编码

本次发布不包含 Jinja 格式的聊天模板。encoding 文件夹包含一个自包含的 Python 参考实现(encoding.py),以及针对多轮对话、工具调用、思考模式、数值型推理强度、对话中途的系统消息和交错图像内容的测试用例。

针对生产环境,我们还发布了 deepseek-recipe。这是一组带有 Python 绑定的 Rust 库,作为持续维护、支持协议处理的工具包提供相同的提示词格式。它可以将 Messages、Chat Completions 和 Responses API 请求转换为 Conversation 格式,将其编码为 DeepSeek V4 和 V4.1 提示词或 token ID,并将模型输出解析回完整响应或流式响应,涵盖思考、工具调用、图像和生成设置。模型推理、工具执行和 HTTP 传输则由调用方负责。

最简推理

有关权重转换和在本地运行推理的说明,请参阅 inference 文件夹。

推荐采样参数:

参数 值
temperature 1.0
top_p 1.0
context_window 1M tokens
max_tokens ≥ 256K

许可证

本仓库和模型权重采用 MIT 许可证。

引用

bibtex @misc{deepseekai2026deepseekv41flash, title={DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression}, author={DeepSeek-AI}, year={2026}, }

联系方式

如有任何问题,请提交 issue,或通过 service@deepseek.com 联系我们。

English / 原文

DeepSeek-V4.1-Flash-1017


Technical Report 👁️

Introduction

DeepSeek-V4.1-Flash-1017 is a minor update to DeepSeek-V4.1-Flash, delivering substantial improvements across reasoning, coding, agentic tasks, and visual benchmarks. Alongside these gains, the model reduces task execution time and output length, enabling users to complete tasks faster and at lower cost and advancing the performance–cost Pareto frontier across multiple agent harnesses.

Benchmark DS-V4.1-Flash-1017 DS-V4.1-Flash K3 GLM-5.3 GPT-5.6 Sol Opus 5
HLE w/o tools 42.6 (44.0†) 36.8 (39.1†) 43.5 42.0† 44.5 56.3
Terminal-Bench 4.0 42.3 31.2 12.6 37.9 39.9 51.8
DeepSWE v1.1 77.0 74.2 67.5 66.9 73.0 74.0
ProgramBench 29.1 20.3 17.5 19.0 23.0 37.0
NL2Repo-Bench 68.2 65.4 58.0 58.0 56.8 75.3
Automation-Bench v1.0.6 60.5 54.8 46.7 48.8 45.8 50.3
Agents’ Last Exam 35.4 31.8 27.6 28.5 26.7 28.6
Apex Bench v1.1 72.1 64.6 47.8 56.6 54.3 65.8
Chartography (w/tools) 83.0 78.9 68.1 — 79.9 84.0
BabyVision (w/tools) 92.5 89.6 85.7 — 88.9 94.1
ZeroBench-main (w/tools) 51.0 49.0 41.0 — 53.0 52.0

† denotes the text-only subset of HLE. We use the Claude Code harness for Terminal-Bench 4.0 and the Mini-SWE-V2 harness for DeepSWE v1.1.

Prompt Encoding

This release does not include a Jinja-format chat template. The encoding folder contains a self-contained Python reference implementation (encoding.py) with test cases for multi-turn conversations, tool calling, thinking mode, numeric reasoning effort, mid-conversation system messages, and interleaved image content.

For production use, we additionally release deepseek-recipe, a set of Rust libraries with Python bindings that provides the same prompt format as a maintained, protocol-aware toolkit. It converts Messages, Chat Completions, and Responses API requests into the Conversation format, encodes them into DeepSeek V4 and V4.1 prompts or token IDs, and parses model output back into complete or streamed responses — covering thinking, tool calls, images, and generation settings. Model inference, tool execution, and HTTP transport are left to the caller.

Minimal Inference

Please refer to the inference folder for instructions on weight conversion and running inference locally.

Recommended sampling parameters:

Parameter Value
temperature 1.0
top_p 1.0
context_window 1M tokens
max_tokens ≥ 256K

License

This repository and the model weights are licensed under the MIT License.

Citation

@misc{deepseekai2026deepseekv41flash,
      title={DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression},
      author={DeepSeek-AI},
      year={2026},
}

Contact

If you have any questions, please raise an issue or contact us at service@deepseek.com.