Model comparison

gemma-4-26B-A4B-it vs medgemma-27b-it

At Q4_K_M, medgemma-27b-it is the smaller download — 16,546,689,536 bytes against 16,796,017,248. At long context the gap widens: gemma-4-26B-A4B-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

gemma-4-26B-A4B-itmedgemma-27b-it
Parameters26.5B28.8B
Architecturegemma4gemma3
Layers3062
Native context262,144131,072
Mixture of expertsyes, 128 expertsno
Quantizations published4668
Smallest quantization8.99 GiB5.83 GiB
Q4_K_M15.64 GiB15.41 GiB
Licenceapache-2.0other

KV cache by context

the term that decides long-context viability
Contextgemma-4-26B-A4B-itmedgemma-27b-itRatio
4,0960.45 GiB0.92 GiB2.05×
8,1920.61 GiB1.23 GiB2.04×
16,3840.92 GiB1.86 GiB2.03×
32,7681.54 GiB3.11 GiB2.02×
65,5362.79 GiB5.61 GiB2.01×
131,0725.29 GiB10.61 GiB2.00×