Model comparison

Mistral-7B-Instruct-v0.2-code-ft vs gemma-4-12B-it-qat-q4_0-unquantized

These two publish different quantization sets; the table below has the exact sizes.

From the file· summed bytes, KV per layer

Side by side

Mistral-7B-Instruct-v0.2-code-ftgemma-4-12B-it-qat-q4_0-unquantized
Parameters7.2B12.0B
Architecturellamagemma4
Layers3248
Native context32,768262,144
Mixture of expertsnono
Quantizations published122
Smallest quantization2.87 GiB6.50 GiB
Q4_K_M4.07 GiB
Licencecc-by-nc-nd-4.0apache-2.0

KV cache by context

the term that decides long-context viability
ContextMistral-7B-Instruct-v0.2-code-ftgemma-4-12B-it-qat-q4_0-unquantizedRatio
4,0960.72 GiB
8,1920.97 GiB
16,3841.47 GiB
32,7682.47 GiB
65,5364.47 GiB
131,0728.47 GiB