Skip to content
Artificial intelligence

DeepSeek-V4.1-Flash: an open-weights giant for pennies. Architecture, performance, pricing and self-hosting

DeepSeek-V4.1-Flash is the most interesting open model of September 2026. By DeepSeek's numbers, it matches Claude Opus 5 on agentic coding, costs a fraction as much, and you can download the weights and run them yourself under the MIT license. It is not enough for the hardest general agentic tasks, though, and the hosted API runs in China.

DeepSeek-V4.1-Flash article cover: 552 billion parameters, a 1 million token context window and $0.30 per million input tokens at peak

DeepSeek released V4.1-Flash on September 10, 2026 and published the weights the same day, with no preview stage. (Mungomash)

Five things you need to know

  1. Huge but frugal. 552 billion parameters in a MoE architecture, of which only 8 billion are active when processing input and 16 billion when generating.
  2. A new architecture. It is DeepSeek's first model to use a causal encoder-decoder, which cuts the KV cache to roughly a quarter of V4-Flash's.
  3. One million tokens of context with native text and image input.
  4. An extremely cheap API. $0.30 per million input tokens at peak, half that off-peak; it was the only September model to cut both input and output prices.
  5. Open weights under MIT. Unrestricted commercial use and self-hosting are possible, but on serious hardware.

Sources: Hugging Face: DeepSeek, Capital and Compute, MindStudio

01DeepSeek in 2026: where V4.1-Flash comes from

DeepSeek is a private company from Hangzhou, China, and a subsidiary of the investment fund High-Flyer Capital Management. It released its first model, DeepSeek-Coder, on November 2, 2023, and V4.1-Flash is its 23rd release. (Mungomash)

The last few months of the V4 line

DateEvent
September 14, 2026Planned redirect of all V4-Pro requests to V4.1-Flash; the decision was reversed and V4-Pro stays in service
September 10, 2026DeepSeek-V4.1-Flash released with open weights; older Flash models retired from the direct API
August 13, 2026DeepSeek V4-Pro-0813 update and a price increase for V4-Pro and V4-Flash (effective August 16)
Sources: DeepSeek: August 13 news, DeepSeek: September 10 news, DeepSeek: changelog, Capital and Compute

Why DeepSeek is focused on the KV cache

Agents run longer and with huge inputs, so tasks are increasingly “input heavy.” According to DeepSeek's technical report, the main obstacle to cheaper inference today is compute-heavy input processing (prefill) and large KV caches, which strain HBM memory, SSDs and bandwidth. V4.1-Flash is designed to attack exactly that bottleneck. (Hugging Face Papers)

DeepSeek describes the model as a new starting point for further scaling of the architecture, pre-training and post-training. (arXiv)

02Architecture deep dive

V4.1-Flash combines MoE with a new causal encoder-decoder and five tricks to shrink the KV cache. The result is 890 bytes of KV cache per token, roughly a quarter of V4-Flash and 437x less than the original DeepSeek V1. (Hugging Face: DeepSeek)

1. Mixture-of-Experts: 552 billion, but only a fraction at work

Each MoE layer has 1 shared and 384 routed experts; 6 routed experts are activated per token. The router picks only a small, relevant part of the network for each token. (Hugging Face: DeepSeek) For performance planning, the active parameter count therefore matters more than the total. (MindStudio)

2. Causal encoder-decoder (CED)

The network has 40 layers: a 20-layer causal encoder followed by a 20-layer decoder. The decoder's global KV cache is not computed from each of its layers separately; it is projected from the encoder's final states. As a result, the model activates only 8 billion parameters when processing input and 16 billion when generating, which mainly makes agentic tasks with long inputs cheaper. (Hugging Face: DeepSeek)

3. Compressed Sparse Attention 2 (CSA2)

Each attention layer has one fixed mode out of three: Full, Reindex or Reuse. Layers share the main KV and indexer keys and reuse sparse attention indices. In the decoder, a hierarchical sparse indexer also limits deeper layers to candidates picked by the first Full layer, so indexing cost does not grow with context length. The first two encoder layers use sliding window attention (SWA). (Hugging Face: DeepSeek, arXiv)

4. FP4 KV cache

The main KV cache is stored in the 4-bit E2M1 format with one E4M3 scaling factor per 16 channels. Together with CSA2, that gives the 890 bytes per token mentioned above. (Hugging Face: DeepSeek)

5. SWA Bounded Replay

Missing sliding window states are not reconstructed from disk but by replaying only the most recent tokens. Persistent KV cache (on SSD or in host memory) drops to roughly an eighth of V4-Flash's. (Hugging Face Papers)

Other components

  • Single-Pass mHC: modified residual stream mixing with a fast Mega-mHC kernel.
  • Engram: a conditional memory with 196 billion parameters that the model accesses sparsely per token.
  • DSpark: speculative decoding with semi-autoregressive drafting and confidence-based verification.

Source: Hugging Face: DeepSeek

Training

The model was pre-trained on a 45 trillion token multimodal corpus and went through extensive post-training for text and multimodal agentic scenarios. (Hugging Face Papers)

03Specifications

SpecValue
DeveloperDeepSeek (Hangzhou, China)
ReleaseSeptember 10, 2026 (weights the same day)
TypeMultimodal MoE Transformer, causal encoder-decoder
Total parameters552B (backbone) + 196B Engram
Active parameters8B (prefill), 16B (decoding)
Experts1 shared + 384 routed, 6 active per token
Layers40 (20 encoder + 20 decoder)
Context1 million tokens
KV cache890 bytes/token (FP4)
Input / outputText and images / text
Vocabulary129,280 tokens
Pre-training45 trillion tokens
API IDdeepseek-flash
Hugging Facedeepseek-ai/DeepSeek-V4.1-Flash
LicenseMIT
Sources: Hugging Face: DeepSeek, NVIDIA, Mungomash, NVFP4 conversion

04Benchmarks and independent testing

V4.1-Flash excels at terminal tasks, long coding work and finding vulnerabilities, but falls well behind the frontier on the general agentic Terminal-Bench 4.0.

Results according to DeepSeek

BenchmarkAreaResult
Codeforces (rating)Coding3471
DeepSWE v1.1Coding74.2%
NL2Repo-BenchCoding64.0 (DeepSeek changelog: 65.4)
ProgramBench (Almost@1)Coding20.3%
Terminal-Bench 2.1Terminal90.6%
Terminal-Bench 3.0Terminal30.0%
Terminal-Bench 4.0Terminal31.2%
GPQA DiamondMath and science90.9%
MathArena ApexMath and science65.6%
HLE with toolsMath and science63.9%
AutomationBenchAgents54.8%
Agent's Last ExamAgents31.8%
ZeroBench-main with tools (Pass@5)Multimodal49.0%
CyberGymCybersecurity88.1%
SEC-Bench ProCybersecurity62.8%
ExploitGymCybersecurity15.3%
Source: NVIDIA model card. Measured with reasoning_effort=100, temperature 1.0 and top_p 0.95; the results come from DeepSeek, and NVIDIA did not verify them independently.

Where it leads and where it loses

BenchmarkV4.1-FlashGPT-5.6 SolClaude Opus 5
DeepSWE v1.174.2%73.0%74.0%
Terminal-Bench 3.030.0%34.4%43.3%
Terminal-Bench 4.031.2%39.9%51.8%
CyberGym88.1%84.5%n/a
ExploitGym15.3%33.7%22.1%
Source: DeepSeek's comparison table in the Hugging Face model card, vendor figures. Claude Opus 5.5 replaced Claude Opus 5 on September 22, 2026.
Terminal-Bench 4.0: general agent
  • Claude Opus 551.8%
  • GPT-5.6 Sol39.9%
  • DeepSeek-V4.1-Flash31.2%

A weaker spot for V4.1-Flash. Source: DeepSeek's comparison table on Hugging Face

On CyberGym (88.1%) it beat every model that has a result in DeepSeek's table; Claude Opus 5 has no number there. (Hugging Face: DeepSeek) For comparison, the specialized Gemini 3.8 Flash Cyber scores 86.2% on the same test.

CyberGym: finding vulnerabilities
  • DeepSeek-V4.1-Flash88.1%
  • Gemini 3.8 Flash Cyber86.2%
  • GPT-5.6 Sol84.5%

Sources: Hugging Face, Gemini 3.8 Flash Cyber per Agentpedia

Hands-on tests

Independent testers ran into weaknesses outside the benchmarks. In a Rubik's cube simulation, the colors changed incorrectly during moves, and an attempt to copy an image in the style of Microsoft Paint produced a stylized but low-detail result. There is a gap between strong numbers and quality on creative and spatial tasks. (MindStudio)

05How it compares with the September 2026 models

V4.1-Flash is among the best at long coding work, and on price only Xiaomi's MiMo-V2.6-Pro, the only other open-weights model in the table, competes with it. On general agentic tasks it sits in the lower half.

ModelDeepSWE v1.1Terminal-Bench 4.0Price input / output ($ per 1M)Open weights
Meta Muse Spark 1.375.4%n/a1.25 / 4.25No
DeepSeek-V4.1-Flash74.2%31.2%0.30 / 1.20 (peak)Yes (MIT)
GPT-6 Astra74.1%57.9%10 / 50No
Gemini 3.8 Flash73.7%19.1%0.75 / 3.75 (through 2026)No
Xiaomi MiMo-V2.6-Pro71.9%34.9%0.435 / 0.87Yes (MIT)
Grok 4.771.0%37.6%2 / 6No
Claude Fable 5.167.4%55.8%10 / 50No
Sources: NVIDIA (DeepSeek), Capital and Compute (DeepSeek price), Xiaomi (MiMo), other models per our guides below. The numbers come from different vendors and environments, so the comparison is a rough guide.
DeepSWE v1.1: September models
  • Meta Muse Spark 1.375.4%
  • DeepSeek-V4.1-Flash74.2%
  • GPT-6 Astra74.1%
  • Gemini 3.8 Flash73.7%
  • Xiaomi MiMo-V2.6-Pro71.9%
  • Grok 4.771.0%
  • Claude Fable 5.167.4%

Vendor figures; each vendor measured DeepSWE differently, so treat this as a rough guide. Source for DeepSeek: Hugging Face

On Terminal-Bench 2.1, V4.1-Flash scores 90.6%, more than Gemini 3.8 Flash (89.4%), Xiaomi MiMo-V2.6-Pro (89.9%) and Muse Spark 1.3 (88.8%).

For more on the competitors, see our GPT-6 Astra guide, Claude Fable 5.1 guide, Gemini 3.8 Flash guide, Grok 4.7 guide, Muse Spark 1.3 deep dive and article on Xiaomi MiMo V2.6 Pro.

For all seven September models side by side, with pricing and benchmark charts, see our big comparison of September 2026 AI models.

06API pricing: peak, off-peak and a price cut

At peak, V4.1-Flash costs $0.30 per million input tokens and $1.20 per million output tokens; off-peak, exactly half. It was the only September model to cut both input and output prices; Claude Fable 5.1 cut only its cache read price. (Capital and Compute)

Per 1M tokensV4.1-Flash peakV4.1-Flash off-peakV4-Flash (previous) peak
Input$0.30$0.15$0.44
Output$1.20$0.60$1.32
Cache reads$0.006$0.003$0.014
Sources: DeepSeek: pricing, Capital and Compute. Peak hours are 1:00 to 4:00 and 6:00 to 10:00 UTC on weekdays, excluding Chinese public holidays.
Output price per 1M tokens
  • V4-Flash (previous), peak$1.32
  • V4.1-Flash, peak$1.20
  • V4.1-Flash, off-peak$0.60

Sources: DeepSeek: pricing, Capital and Compute

Compared with V4-Flash, that is a 32% cut on input, 9% on output and 57% on cache reads. (Capital and Compute) For perspective: GPT-6 Astra and Claude Fable 5.1 cost $10 per million input tokens, 33x more than V4.1-Flash at peak.

The V4-Pro retirement saga

At launch, DeepSeek announced that from 4:00 UTC on September 14, every request to deepseek-v4-pro would be answered by V4.1-Flash. It later reversed the decision, and V4-Pro keeps running at its existing prices. (DeepSeek: changelog) The older V4-Flash and V4-Flash-Vision-Exp, however, were retired from the direct API and their names now redirect to V4.1-Flash, so check model IDs and prices with resellers separately.

Cost tip

Run batch and non-urgent jobs (overnight analysis, data generation) off-peak at half price, and keep a stable prompt prefix to benefit from the $0.006 cache price.

07Open weights in practice: self-hosting

You can download V4.1-Flash from Hugging Face (deepseek-ai/DeepSeek-V4.1-Flash) and run it commercially under the MIT license. “Open” does not mean “free,” though: you need either your own compute or a paid API. (MindStudio)

What drives the hardware requirements

  • Weight storage must cover all 552 billion parameters, even though only a fraction is used per token. The experts have to live somewhere fast enough: in VRAM, in RAM with offloading or on NVMe.
  • Active parameters (8B and 16B) determine compute and throughput per token; for speed planning they matter more than the total.
  • Quantization is a must for smaller hardware. DeepSeek has not published official minimum VRAM requirements.

Source: MindStudio

Community variants

VariantSize / deploymentNote
NVFP4 (NVIDIA)For vLLM and SGLang, tested on GB300Official NVIDIA quantization, since September 16, 2026
NVFP4 (s-zaizen)48 files, 527.3 GB in totalUnofficial conversion with NVIDIA Model Optimizer
EXL3 2.0 bpw (diffbot)358 GB, 2x RTX PRO 6000 Blackwell (96 GB each), vLLM512K token context, DSpark speculative decoding
GGUF (vcruz305)Q2_K 246 GiB, Q3_K_M 323 GiBOnly in a llama.cpp fork for now; official llama.cpp cannot run it yet
Sources: NVFP4 (NVIDIA), NVFP4 (s-zaizen), EXL3, GGUF

Realistic paths

  1. Rented cloud GPUs with DeepSeek's official inference code: the fastest start.
  2. A workstation with two professional GPUs and a heavily quantized version: for teams that want to keep data in-house.
  3. A third-party hosted API: no hardware of your own and no servers in China. NVIDIA's trial endpoint on build.nvidia.com is for testing only: its terms prohibit confidential and personal data, and usage is logged.

At launch, most local runs were on multi-GPU servers or in the cloud, not on gaming rigs. (MindStudio)

08Quick start with the API

DeepSeek's direct API uses the ID deepseek-flash and a 1 million token context. (Mungomash) The DeepSeek API is compatible with the OpenAI format, so you only need to change the base URL and model:

python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.deepseek.com",  # check the DeepSeek documentation
    api_key=os.environ["DEEPSEEK_API_KEY"],
)

response = client.chat.completions.create(
    model="deepseek-flash",
    messages=[
        {"role": "user", "content": "Go through this log and find the cause of the error."}
    ],
)

print(response.choices[0].message.content)

Check the base URL and reasoning parameters in the DeepSeek API documentation before you deploy. For self-hosting, use your own server's endpoint (vLLM and similar tools offer an OpenAI-compatible interface) and the model deepseek-ai/DeepSeek-V4.1-Flash.

09Data, jurisdiction and security

With DeepSeek, the data decision is simpler than with closed models: if you do not want to send data to China, you can host the model yourself.

Three ways to run it, from a data perspective

OptionWhere the data goesGood for
DeepSeek's direct APITo the infrastructure of a company based in ChinaPublic and non-sensitive data, prototypes
Third-party API (cloud provider)To that providerCompanies that want a different data processor without their own hardware; check the provider's terms
Self-hostingNowhere outside your infrastructureSensitive and regulated data

DeepSeek is based in Hangzhou, China. (Mungomash) Check the specific data processing terms of the direct API in DeepSeek's policies, and consult a lawyer for sensitive data; the table above only describes where the data physically ends up.

Model security

  • Strong at finding vulnerabilities: 88.1% on CyberGym, more than GPT-5.6 Sol (84.5%) and the specialized Gemini 3.8 Flash Cyber (86.2%).
  • Weaker at building exploits: 15.3% on ExploitGym versus 33.7% for GPT-5.6 Sol and 22.1% for Claude Opus 5.
  • Open weights mean no provider safeguards. Unlike Claude Fable or GPT-6 Astra, self-hosting has no central filter that would reroute risky requests. The operator is responsible for the usage rules.

Result sources: Hugging Face: DeepSeek, NVIDIA, our Gemini 3.8 Flash guide (Cyber)

10Decision guide

V4.1-Flash is the default choice when cost or control over data decides; for the hardest general agents, look elsewhere.

You needChoiceWhy
Cheap agentic coding at scaleV4.1-FlashDeepSWE 74.2% at $0.30 / $1.20
Self-hosting and data in-houseV4.1-FlashOpen weights under MIT
Long documents and agents with huge inputsV4.1-Flash1M tokens, small KV cache, cheap prefill
Finding vulnerabilities in codeV4.1-FlashCyberGym 88.1%
Stability for an older integrationV4-ProStays in service at the original prices
A general agent and computer useGPT-6 Astra or Claude Fable 5.1Terminal-Bench 4.0 around 56% to 58% vs 31%
Creative and spatial tasksClosed flagship modelsV4.1-Flash fell short in hands-on tests
Audio or video inputAnother modelV4.1-Flash only handles text and images
The recommendations are based on the numbers in this article; test the model on your own tasks before deploying it in production.

11DeepSeek-V4.1-Flash FAQ

What is DeepSeek-V4.1-Flash?

An open multimodal MoE model from China's DeepSeek with 552 billion parameters and a 1 million token context window, released on September 10, 2026 under the MIT license.

How many parameters does the model actually use?

8 billion when processing input and 16 billion when generating, out of 552 billion in total.

How much does the API cost?

At peak, $0.30 per million input tokens and $1.20 per million output tokens; off-peak, half that. Cache reads cost $0.006.

Can I use V4.1-Flash commercially?

Yes, the MIT license allows commercial use.

Can I run it on a single gaming GPU?

Not without major compromises. Even a quantized version needs hundreds of GB for the weights; multi-GPU servers or the cloud are realistic, and the community EXL3 version runs, for example, on two RTX PRO 6000 cards with 96 GB each.

Is it better than Claude or GPT?

On long coding work it matches them at a fraction of the price. On general agentic tasks (Terminal-Bench 4.0) it falls well behind.

12Verdict

DeepSeek-V4.1-Flash delivers top coding results for pennies, plus open weights under the MIT license. For cheap agentic coding, long inputs and companies that want to keep data in-house, it is one of the strongest candidates. Its closest open rival is Xiaomi MiMo V2.6 Pro, which has a higher overall Artificial Analysis score (46 vs 39 points) but trails on DeepSWE (71.9% vs 74.2%).

It is not enough for general agents, computer use and creative tasks, though, and the direct API leads to China. Want to deploy AI in your company and choose the right model? We can help as part of our AI implementation service.

13Sources

LISTIFY teamWebsites, apps and marketing from Prague since 2008

More articles

All articles →
Artificial intelligenceSeptember 27, 2026 · 13 min read

The AI Act Hasn’t Been Postponed. What Your Business Needs to Do Now

Artificial intelligenceSeptember 27, 2026 · 19 min read

Best AI models of September 2026: GPT-6 Astra, Claude Fable 5.1, Gemini, Grok, Muse, DeepSeek and MiMo compared

Artificial intelligenceSeptember 26, 2026 · 14 min read

GPT-6 Astra (ChatGPT 6): the technical guide to benchmarks, API, pricing and access

Share this page

By email

Got an idea? In 15 minutes, you'll know how to make it happen.

A short call, no sales pitch. We'll tell you what makes sense, what it will cost and how fast we can deliver it.

+420 771 166 199Mon to Fri, 8:30 a.m. to 4:00 p.m. (Prague time) · info@listify.cool

When should we call you?

Pick a day and a time window. We'll call you, and it takes about 15 minutes.

Day