DeepSeek releases DeepSeek-V4.1-Flash-1017 under MIT License

DeepSeek releases DeepSeek-V4.1-Flash-1017 under MIT License

DeepSeek has put a new model, DeepSeek-V4.1-Flash-1017, on Hugging Face under its deepseek-ai organisation. The model card describes it as a minor update to DeepSeek-V4.1-Flash that delivers substantial improvements across reasoning, coding, agentic tasks and visual benchmarks.

The card also makes an efficiency claim. Alongside the gains, the model reduces task execution time and output length, which DeepSeek says lets users complete tasks faster and at lower cost. The card says this advances the performance-cost Pareto frontier across multiple agent harnesses. The benchmark notes that survive in the captured text say that a dagger marks the text-only subset of HLE, and that DeepSeek used the Claude Code harness for Terminal-Bench 4.0 and the Mini-SWE-V2 harness for DeepSWE v1.1. The benchmark figures themselves were not captured, so no numeric improvement is given.

The release handles prompt formatting differently from many open models. It does not include a Jinja-format chat template. Instead, an encoding folder holds 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, DeepSeek additionally releases 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.

For running the model locally, the card points to an inference folder with instructions on weight conversion and minimal inference. The Hugging Face page also lists ready-made usage snippets for Transformers (a pipeline with the image-text-to-text task, or AutoModelForCausalLM with device_map set to auto), vLLM, SGLang and Docker Model Runner. The repository and the model weights are licensed under the MIT License. The card's citation entry is titled "DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression", authored by DeepSeek-AI, year 2026, and questions go to service@deepseek.com or a repository issue.

Key facts

  • DeepSeek-V4.1-Flash-1017 is described by its model card as a minor update to DeepSeek-V4.1-Flash, with substantial improvements across reasoning, coding, agentic tasks and visual benchmarks.
  • The card says the model reduces task execution time and output length, so users can finish tasks faster and at lower cost, advancing the performance-cost Pareto frontier across multiple agent harnesses.
  • The repository and the model weights are licensed under the MIT License.
  • There is no Jinja-format chat template; a Python reference encoder (encoding.py) is included, plus deepseek-recipe, Rust libraries with Python bindings, for production prompt encoding and output parsing.
  • Benchmarks used the Claude Code harness for Terminal-Bench 4.0 and the Mini-SWE-V2 harness for DeepSWE v1.1; the captured text contains no benchmark scores.

Why it matters

DeepSeek is shipping another open-weights model under the permissive MIT License, and the card frames the release as both better and cheaper to run: stronger results across reasoning, coding, agentic tasks and visual benchmarks, with shorter task execution time and shorter output. The claim of moving the performance-cost Pareto frontier across multiple agent harnesses is aimed squarely at agent workloads. DeepSeek calls the release a minor update, so the framing is incremental rather than a new generation.

Who it affects

Developers who self-host open models or serve them through vLLM, SGLang, Transformers or Docker Model Runner can pick it up directly, since the page lists snippets for all four. Teams building agents or coding tools are the audience for the harness-based efficiency claims. Anyone writing their own serving stack is affected by the prompt-format change: with no Jinja chat template, they need the Python reference encoder or the deepseek-recipe libraries.

How to use it

The weights are on Hugging Face as deepseek-ai/DeepSeek-V4.1-Flash-1017. With Transformers, load it through a pipeline with the image-text-to-text task or with AutoModelForCausalLM and device_map set to auto. With vLLM, run pip install vllm and then vllm serve with the model name, which exposes an OpenAI-compatible API. SGLang offers a similar path through its launch_server command, on port 30000 in the example, and Docker Model Runner uses docker model run hf.co/deepseek-ai/DeepSeek-V4.1-Flash-1017. For prompt formatting, use encoding.py from the encoding folder, or deepseek-recipe for production, which converts Messages, Chat Completions and Responses API requests and parses the output back. The inference folder explains weight conversion for local runs. The MIT License covers the repository and the weights. The recommended sampling parameters section is empty in the captured text.

How solid is it

The only source is DeepSeek's own model card, so every performance claim is the publisher's and none has been independently checked; the captured text has no third-party reactions or independent evaluations. It also carries no benchmark scores or tables, so the size of the improvements is not stated. No release date is given beyond the citation year 2026, and the meaning of the 1017 suffix is not explained.

Risks and caveats

The card gives no parameter count, context length, architecture detail or API pricing, so cost and hardware needs cannot be judged from it. The citation title mentions KV cache compression, but the introduction does not explain any such mechanism. Because there is no Jinja chat template, tools that rely on one will not work out of the box, and the card leaves inference, tool execution and HTTP transport to the caller of deepseek-recipe. Claims of faster, cheaper task completion depend on the agent harness used, and the card names the Claude Code harness and the Mini-SWE-V2 harness for two benchmarks.

“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.”

— DeepSeek model card on Hugging Face