Model comparison

Mellum2-12B-A2.5B-Instruct vs gemma-4-12B-it-qat-q4_0-unquantized

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: Mellum2-12B-A2.5B-Instruct's KV cache at 32K is 4.9× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

Mellum2-12B-A2.5B-Instructgemma-4-12B-it-qat-q4_0-unquantized
Parameters12.1B12.0B
Architecturemellumgemma4
Layers2848
Native context131,072262,144
Mixture of expertsyes, 64 expertsno
Quantizations published22
Smallest quantization7.52 GiB6.50 GiB
Q4_K_M7.52 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
ContextMellum2-12B-A2.5B-Instructgemma-4-12B-it-qat-q4_0-unquantizedRatio
4,0960.12 GiB0.72 GiB6.18×
8,1920.17 GiB0.97 GiB5.67×
16,3840.28 GiB1.47 GiB5.24×
32,7680.50 GiB2.47 GiB4.95×
65,5360.94 GiB4.47 GiB4.77×
131,0721.81 GiB8.47 GiB4.67×