Model comparison
gemma-4-12B-it-qat-q4_0-unquantized vs Mellum2-12B-A2.5B-Instruct
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
| gemma-4-12B-it-qat-q4_0-unquantized | Mellum2-12B-A2.5B-Instruct | |
|---|---|---|
| Parameters | 12.0B | 12.1B |
| Architecture | gemma4 | mellum |
| Layers | 48 | 28 |
| Native context | 262,144 | 131,072 |
| Mixture of experts | no | yes, 64 experts |
| Quantizations published | 2 | 2 |
| Smallest quantization | 6.50 GiB | 7.52 GiB |
| Q4_K_M | — | 7.52 GiB |
| Licence | apache-2.0 | apache-2.0 |
KV cache by context
the term that decides long-context viability
| Context | gemma-4-12B-it-qat-q4_0-unquantized | Mellum2-12B-A2.5B-Instruct | Ratio |
|---|---|---|---|
| 4,096 | 0.72 GiB | 0.12 GiB | 6.18× |
| 8,192 | 0.97 GiB | 0.17 GiB | 5.67× |
| 16,384 | 1.47 GiB | 0.28 GiB | 5.24× |
| 32,768 | 2.47 GiB | 0.50 GiB | 4.95× |
| 65,536 | 4.47 GiB | 0.94 GiB | 4.77× |
| 131,072 | 8.47 GiB | 1.81 GiB | 4.67× |