Model comparison

Magistral-Small-2509-Vision vs gemma-4-12B-it

At Q4_K_M, gemma-4-12B-it is the smaller download — 7,121,861,440 bytes against 12,621,946,560. At long context the gap widens: gemma-4-12B-it'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

Magistral-Small-2509-Visiongemma-4-12B-it
Parameters24.0B12.0B
Architecturellamagemma4
Layers4048
Native context131,072262,144
Mixture of expertsnono
Quantizations published1659
Smallest quantization8.09 GiB3.92 GiB
Q4_K_M11.76 GiB6.63 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
ContextMagistral-Small-2509-Visiongemma-4-12B-itRatio
4,0960.63 GiB0.72 GiB1.15×
8,1921.25 GiB0.97 GiB1.29×
16,3842.50 GiB1.47 GiB1.70×
32,7685.00 GiB2.47 GiB2.03×
65,53610.00 GiB4.47 GiB2.24×
131,07220.00 GiB8.47 GiB2.36×
Magistral-Small-2509-Vision vs gemma-4-12B-it — size, memory and hardware fit — ossmodeldb