deepseek-ai · text · mixture of experts

DeepSeek-V4-Flash

deepseek-ai/DeepSeek-V4-Flash

DeepSeek-V4-Flash at UD-IQ1_S is exactly 82,539,237,024 bytes (76.87 GiB / 82.54 GB) — an effective 4.177 bits per weight, not the nominal 1.

From the file· summed from 3 file(s)From the file· KV per layer
Parameters
158B
total, not active
Architecture
deepseek4-dspark
43 layers
Context
1,048,576
native (config.json)
License
mit

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
UD-IQ1_S3 shards76.87 GiB82,539,237,0244.177unsloth
UD-IQ1_M3 shards80.93 GiB86,901,313,1524.398unsloth
UD-IQ2_XXS3 shards84.62 GiB90,860,736,1284.598unsloth
UD-IQ2_M3 shards84.68 GiB90,926,927,4884.602unsloth
UD-IQ3_XXS4 shards95.93 GiB102,999,887,6165.213unsloth
UD-IQ3_S4 shards109.25 GiB117,310,852,8645.937unsloth
UD-Q3_K_M4 shards120.44 GiB129,319,997,2166.545unsloth
UD-IQ4_XS4 shards128.43 GiB137,903,959,8086.979unsloth
UD-IQ4_NL4 shards128.43 GiB137,903,959,8086.979unsloth
MXFP44 shards145.29 GiB156,004,658,4647.896bartowski

KV cache by context

unresolved

This model declares a 128-token sliding window, but we could not establish which layers use it. Its architecture publishes the layout as a per-layer array inside the model file rather than as a period in config.json, and we have not yet ingested that array.

A flat context × layers × heads figure would be substantially too high, so we are not showing one. This is tracked as a known gap rather than filled with a guess.

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts UD-IQ1_S at roughly 82.81 GiB. The real file is 76.87 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
43
Attention heads
64
KV heads
1
Head dim
512
Hidden size
4096
Vocab
129,280
Sliding window
128
SWA period
MLA
no
Experts
256
Experts per token
6
use_sliding_window

Questions people ask

How much VRAM does DeepSeek-V4-Flash need?
UD-IQ1_S is exactly 82,539,237,024 bytes (76.87 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
Is DeepSeek-V4-Flash a mixture-of-experts model?
Yes — 256 experts, 6 routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
Which quantization of DeepSeek-V4-Flash should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.