News

日本語 · English · 中文

DeepSeek Releases V4.1-Flash Under MIT License — Of 552B, Only 8B to 16B Operate for Reasoning; KV Cache Reduced to One-Quarter

DeepSeek released DeepSeek-V4.1-Flash on September 10, 2026. Although it has a scale of 552B, only 8B parameters are active for input processing and 16B for generation per token. It adopts a separated encoder and decoder architecture, reducing the KV cache to approximately one-quarter of the previous version. It can handle images directly and supports a context window of up to 1 million tokens. The license is MIT.

DeepSeek released DeepSeek-V4.1-Flash on September 10, 2026. The weights are hosted on Hugging Face, and the license is MIT.

Large scale, but only part of it runs

The key point of this model is not its size, but the amount that actually runs.

Total scale552B
Amount that runs when reading input8B
Amount that runs when generating text16B
Context lengthUp to 1 million tokens

Using a Mixture of Experts (MoE) architecture, it has 384 experts per layer, selecting and using only 6 per token. Since not all experts are activated every time, costs are kept low relative to the scale.

Changed structure: separating encoder and decoder

The change from the previous version is a new architecture called Causal Encoder-Decoder (CED). Of the 40 layers, the first 20 layers serve as the encoder and the latter 20 as the decoder. The KV cache used by the decoder is created only once from the encoder’s final layer.

Previously, each layer of the decoder maintained its own KV cache. By eliminating this, efficiency is improved for use cases with long inputs—such as reading large amounts of data before performing tasks, i.e., agent-like applications.

Additionally, Compressed Sparse Attention 2 (CSA2) reduces the KV cache capacity to about one-fourth that of the previous version V4-Flash. Since KV cache consumes the most memory, reducing it to a quarter is significant. The KV cache is stored in FP4 (E2M1).

Reading images directly

It integrates a vision encoder (DeepSeek-ViT) and a two-layer MLP, allowing images and text to be handled by the same model. This is not an add-on but is built into the architecture from the start.

The vision-related benchmark scores are as follows:

BenchmarkValue
DocVQA95.6
RefCOCO-avg86.0
CVBench77.9
MMMU-Pro56.5

Strengths and weaknesses

⚠️ The published comparison table is extensive, clearly showing both strengths and weaknesses. Listing only favorable numbers would misrepresent the actual performance, so both are provided here.

Areas where it excels

BenchmarkV4.1-FlashComparison
Codeforces (rating)3471V4-Pro 3348 / V4-Flash 3289
Terminal-Bench 2.190.6Opus-5.0 89.1 / GPT-5.6 Sol 88.8
DeepSWE v1.174.2Opus-5.0 74.0 / GPT-5.6 Sol 73.0
CyberGym88.1GPT-5.6 Sol 84.5
AutomationBench54.8Opus-5.0 50.3
HLE (with tools)63.9Opus-5.0 63.6

Areas where it lags behind

BenchmarkV4.1-FlashLeader
HLE (without tools)36.8Opus-5.0 56.3
Terminal-Bench 4.031.2Opus-5.0 51.8
Terminal-Bench 3.030.0Opus-5.0 43.3
ProgramBench20.3Opus-5.0 37.0
NL2Repo-Bench64.0Opus-5.0 75.3

⚠️ Terminal-Bench leads at version 2.1 but lags significantly behind at versions 3.0 and 4.0. The difficulty varies by version despite the same name; stating "leading in Terminal-Bench" without specifying the version causes misunderstanding.

Points to note in practice

  • Inference effort can be specified continuously as an integer from 1 to 100, allowing adjustment of cost and accuracy
  • Recommended settings are temperature 1.0, top_p 0.95 or 1.0, and max_tokens of 256K or higher
  • ⚠️ This release does not include a Jinja-formatted chat template. A Python reference implementation is available in the encoding folder, which should be used
  • It can be run on vLLM, SGLang, Transformers, and Docker Model Runner

How to interpret

This is a model designed to alter cost structures through its architecture. While the 552B figure is eye-catching, only 8B–16B actually runs, and the KV cache is reduced to one-fourth. The difference becomes more pronounced in use cases requiring large-scale document reading.

On the other hand, there are gaps in purely difficult tasks without tools (HLE 36.8 vs. 56.3) and on newer versions of Terminal-Bench. I believe the key takeaway is that it is a strong contender when selected for appropriate use cases. Since the weights are publicly available under the MIT license, local verification is also a practical advantage.

This article was translated from the Japanese original. 日本語で読む

← Latest articles