Model comparison

DeepSeek-Coder-V2-Instruct-0724 vs DeepSeek-V4-Flash

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: DeepSeek-V4-Flash's KV cache at 32K is 33.5× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

DeepSeek-Coder-V2-Instruct-0724DeepSeek-V4-Flash
Parameters236B291B
Architecturedeepseek2deepseek4
Layers6043
Native context163,8401,048,576
Mixture of expertsyes, 160 expertsyes, 256 experts
Quantizations published4412
Smallest quantization44.14 GiB76.87 GiB
Q4_K_M132.67 GiB
Licenceothermit

KV cache by context

the term that decides long-context viability
ContextDeepSeek-Coder-V2-Instruct-0724DeepSeek-V4-FlashRatio
4,0960.26 GiB0.06 GiB4.19×
8,1920.53 GiB0.06 GiB8.37×
16,3841.05 GiB0.06 GiB16.74×
32,7682.11 GiB0.06 GiB33.49×
65,5364.22 GiB0.06 GiB66.98×
131,0728.44 GiB0.06 GiB133.95×