Model comparison

DeepSeek-R1 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 34.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

DeepSeek-R1DeepSeek-V4-Flash
Parameters685B291B
Architecturedeepseek2deepseek4
Layers6143
Native context163,8401,048,576
Mixture of expertsyes, 256 expertsyes, 256 experts
Quantizations published3812
Smallest quantization124.38 GiB76.87 GiB
Q4_K_M376.65 GiB
Licencemitmit

KV cache by context

the term that decides long-context viability
ContextDeepSeek-R1DeepSeek-V4-FlashRatio
4,0960.27 GiB0.06 GiB4.26×
8,1920.54 GiB0.06 GiB8.51×
16,3841.07 GiB0.06 GiB17.02×
32,7682.14 GiB0.06 GiB34.05×
65,5364.29 GiB0.06 GiB68.09×
131,0728.58 GiB0.06 GiB136.19×