deepseek-ai · text · mixture of experts

DeepSeek-V3-0324

deepseek-ai/DeepSeek-V3-0324

DeepSeek-V3-0324 at Q4_K_M is exactly 404,430,188,000 bytes (376.65 GiB / 404.43 GB) — an effective 4.726 bits per weight, not the nominal 4. Its KV cache at 32K is 2.14 GiB.

From the file· summed from 9 file(s)From the file· KV per layer
Parameters
685B
total, not active
Architecture
deepseek2
61 layers
Context
163,840
native (config.json)
License
mit

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_S4 shards124.38 GiB133,555,673,7281.561bartowski
IQ1_M4 shards138.66 GiB148,882,857,1201.740bartowski
IQ2_XXS5 shards162.45 GiB174,428,162,8162.038bartowski
UD-IQ1_S4 shards172.46 GiB185,176,553,8562.164unsloth
UD-IQ1_S4 shards173.45 GiB186,238,759,5842.176unsloth
UD-IQ1_M4 shards182.96 GiB196,456,084,1282.296unsloth
IQ2_S6 shards183.47 GiB196,996,414,3042.302bartowski
UD-IQ1_M5 shards186.94 GiB200,725,717,5042.346unsloth
UD-IQ2_XXS5 shards201.13 GiB215,958,571,5202.524unsloth
IQ2_M6 shards202.50 GiB217,432,658,8162.541bartowski
UD-IQ2_XXS5 shards203.64 GiB218,652,340,9922.555unsloth
UD-IQ2_M5 shards212.09 GiB227,727,395,3282.661unsloth
Q2_K5 shards227.27 GiB244,028,344,3202.852unsloth
Q2_K5 shards227.62 GiB244,404,133,3762.856unsloth
Q2_K_L5 shards227.82 GiB244,621,323,7762.859unsloth
Q2_K_L7 shards228.11 GiB244,933,304,8642.862bartowski
IQ3_XXS7 shards240.22 GiB257,932,870,6243.014bartowski
UD-IQ3_XXS6 shards254.55 GiB273,316,569,7283.194unsloth
Q3_K_M7 shards297.28 GiB319,198,396,1283.730unsloth
Q3_K_M9 shards297.28 GiB319,198,396,6723.730bartowski
Q3_K_M7 shards297.58 GiB319,522,215,1683.734unsloth
IQ4_XS10 shards332.60 GiB357,128,681,2804.174bartowski
IQ4_XS8 shards332.90 GiB357,445,479,2004.177unsloth
IQ4_NL10 shards352.10 GiB378,065,940,3844.418bartowski
IQ4_NL8 shards352.34 GiB378,321,797,9844.421unsloth
Q4_010 shards353.00 GiB379,033,907,1044.430bartowski
Q4_K_S10 shards353.90 GiB380,001,873,8244.441bartowski
Q4_K_M9 shards376.65 GiB404,430,188,0004.726unsloth
Q4_K_M11 shards376.65 GiB404,430,188,5124.726bartowski
Q4_K_M9 shards376.89 GiB404,686,046,2084.729unsloth
Q4_111 shards391.10 GiB419,940,458,4644.908bartowski
Q5_K_S12 shards430.10 GiB461,814,976,7365.397bartowski
Q5_K_M10 shards442.75 GiB475,396,558,5285.556unsloth
Q5_K_M13 shards442.75 GiB475,396,559,0405.556bartowski
Q5_K_M10 shards442.93 GiB475,588,453,4725.558unsloth
Q6_K12 shards512.97 GiB550,798,327,2646.437unsloth
Q6_K15 shards512.97 GiB550,798,327,5846.437bartowski
Q6_K12 shards513.09 GiB550,922,261,4406.439unsloth
Q8_015 shards664.30 GiB713,286,514,7208.336unsloth
Q8_020 shards664.30 GiB713,286,515,2648.336bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.27 GiB19.06 GiB71.11×61 / 0 / 0
8,1920.54 GiB38.13 GiB71.11×61 / 0 / 0
16,3841.07 GiB76.25 GiB71.11×61 / 0 / 0
32,7682.14 GiB152.50 GiB71.11×61 / 0 / 0
65,5364.29 GiB305.00 GiB71.11×61 / 0 / 0
131,0728.58 GiB610.00 GiB71.11×61 / 0 / 0

This model uses multi-head latent attention. No V cache is allocated at all, and the K cache stores a 512-wide latent plus 64 rope dimensions — so reading num_key_value_heads from config.json and multiplying, as every calculator does, overstates the cache by well over an order of magnitude.

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 Q4_K_M at roughly 358.60 GiB. The real file is 376.65 GiB, because a quantization is a mixture and some tensors are always kept at higher precision. The larger discrepancy is the cache: this model allocates no value cache at all, so any formula reading num_key_value_heads overstates it by more than an order of magnitude.

Architecture

from config.json
Layers
61
Attention heads
128
KV heads
128
Head dim
192
Hidden size
7168
Vocab
129,280
Sliding window
none
SWA period
MLA
yes
Experts
256
Experts per token
8
use_sliding_window

Questions people ask

How much VRAM does DeepSeek-V3-0324 need?
Q4_K_M is exactly 404,430,188,000 bytes (376.65 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is DeepSeek-V3-0324's KV cache?
2.14 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Is DeepSeek-V3-0324 a mixture-of-experts model?
Yes — 256 experts, 8 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-V3-0324 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.