Skip to content

DeepSeek

DeepSeek-V4.1-Flash-1017

A 748B model by DeepSeek that uses tools such as web search, can think before answering and reads images.

Tools Thinking Vision
Downloads
1,033,822 downloads last month
Likes
438 likes
Uploaded
Uploaded 17 Oct 2026

Get it in Zero1LLM

Then open Explore in the app and search for:

Parameters
763,205,315,794 (763B)
Context length
1,048,576 tokens
Architecture
deepseek41
Task
image-text-to-text
Licence
mit
Released
17 Oct 2026
Last updated
10 Nov 2026

This is unsloth's upload of deepseek-ai/DeepSeek-V4.1-Flash-1017.

Tools

Uses tools, so web search and the browser work best with it.

Thinking

Can think step by step before it answers.

Vision

Reads images: photos, screenshots, scanned pages.

Each version is the same model stored at a different precision: smaller files use less memory and lose a little quality.

Model class
DeepseekV41ForCausalLM
Model type
deepseek_v41_text
Layers
40
Hidden size
5120
Attention heads
64
Key/value heads
1
Experts
384 (6 used per token)
Vocabulary
129,280
Context length
1,048,576 tokens
Sliding window
128 tokens
Weights
bfloat16
Vision encoder
Included (vision_config)

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.

BenchmarkDS-V4.1-Flash-1017DS-V4.1-FlashK3GLM-5.3GPT-5.6 SolOpus 5
HLE w/o tools42.6 (44.0†)36.8 (39.1†)43.542.0†44.556.3
Terminal-Bench 4.042.331.212.637.939.951.8
DeepSWE v1.177.074.267.566.973.074.0
ProgramBench29.120.317.519.023.037.0
NL2Repo-Bench68.265.458.058.056.875.3
Automation-Bench v1.0.660.554.846.748.845.850.3
Agents’ Last Exam35.431.827.628.526.728.6
Apex Bench v1.172.164.647.856.654.365.8
Chartography (w/tools)83.078.968.1—79.984.0
BabyVision (w/tools)92.589.685.7—88.994.1
ZeroBench-main (w/tools)51.049.041.0—53.052.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:

ParameterValue
temperature1.0
top_p1.0
context_window1M 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.

More from DeepSeek

On Hugging Face

Everything on this page comes from these pages and is refreshed every few hours; Hugging Face always has the latest.