Model comparison

MiniCPM-V-4 vs gemma-4-E4B-it-qat-q4_0-unquantized

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: gemma-4-E4B-it-qat-q4_0-unquantized's KV cache at 32K is 2.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

MiniCPM-V-4gemma-4-E4B-it-qat-q4_0-unquantized
Parameters4.1B7.9B
Architecturellamagemma4
Layers3242
Native context32,768131,072
Mixture of expertsnono
Quantizations published101
Smallest quantization1.94 GiB4.80 GiB
Q4_K_M2.04 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
ContextMiniCPM-V-4gemma-4-E4B-it-qat-q4_0-unquantizedRatio
4,0960.13 GiB0.12 GiB1.02×
8,1920.25 GiB0.18 GiB1.41×
16,3840.50 GiB0.29 GiB1.74×
32,7681.00 GiB0.51 GiB1.98×
65,5362.00 GiB0.94 GiB2.12×
131,0724.00 GiB1.82 GiB2.20×