Model comparison

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

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-V4-FlashDeepSeek-Coder-V2-Instruct-0724
Parameters291B236B
Architecturedeepseek4deepseek2
Layers4360
Native context1,048,576163,840
Mixture of expertsyes, 256 expertsyes, 160 experts
Quantizations published1244
Smallest quantization76.87 GiB44.14 GiB
Q4_K_M132.67 GiB
Licencemitother

KV cache by context

the term that decides long-context viability
ContextDeepSeek-V4-FlashDeepSeek-Coder-V2-Instruct-0724Ratio
4,0960.06 GiB0.26 GiB4.19×
8,1920.06 GiB0.53 GiB8.37×
16,3840.06 GiB1.05 GiB16.74×
32,7680.06 GiB2.11 GiB33.49×
65,5360.06 GiB4.22 GiB66.98×
131,0720.06 GiB8.44 GiB133.95×