Released as part of the NOESIS Professional Multilingual Dubbing Automation Platform
(framework: DHCF-FNO — Deterministic Hybrid Control Framework for Frozen Neural Operators)
DeepSeek-V4.1-Flash-1017
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.
Table with columns: Benchmark, DS-V4.1-Flash-1017, DS-V4.1-Flash, K3, GLM-5.3, GPT-5.6 Sol, Opus 5| 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 |
† 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:
Table with columns: Parameter, Value| 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},}
DeepSeek-V4.1-Flash-1017 GGUF
GGUF quants of deepseek-ai/DeepSeek-V4.1-Flash-1017.
Table with columns: Folder, Size, Files, Notes| Folder | Size | Files | Notes |
|---|
Q4_K_M | 414 GiB | 10 | The routed experts are already about 4-bit, so this saves less than usual. |
Q2_K | 246 GiB | 10 | Smallest usable size. |
These are plain quants with no imatrix. Each folder holds a split GGUF. Point llama.cpp at the -00001-of- file and it loads the rest.
Running
Mainline llama.cpp doesn't support DeepSeek V4.1 yet.
These files were made with the branch from ggml-org/llama.cpp#28696 at commit 2076412, and they need that branch or a build that includes it.
git clone https://github.com/vcruz305/llama.cpp && cd llama.cppgit checkout 2076412598e99127ea2554467b2b7530856895d3cmake -B build && cmake --build build -j
The two engram tables are large and read a few rows per token. Keeping them on the CPU works well, for example -ot "engram_embd.weight=CPU". The PR has a tested command line.
Text only for now. The llama.cpp branch can't convert the vision tower yet.
Acknowledgements
Huge thanks to Hugging Face for generously sponsoring the compute used for this project 🤗
x.com/realmrfakename
If you have any questions, please raise an issue or
contact us at service@deepseek.com.