Model comparison

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

At Q4_K_M, medgemma-27b-text-it is the smaller download — 16,546,404,416 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

medgemma-27b-text-itgemma-4-26B-A4B-it
Parameters27.0B26.5B
Architecturegemma3gemma4
Layers6230
Native context131,072262,144
Mixture of expertsnoyes, 128 experts
Quantizations published2446
Smallest quantization6.06 GiB8.99 GiB
Q4_K_M15.41 GiB15.64 GiB
Licenceotherapache-2.0

KV cache by context

the term that decides long-context viability
Contextmedgemma-27b-text-itgemma-4-26B-A4B-itRatio
4,0960.92 GiB0.45 GiB2.05×
8,1921.23 GiB0.61 GiB2.04×
16,3841.86 GiB0.92 GiB2.03×
32,7683.11 GiB1.54 GiB2.02×
65,5365.61 GiB2.79 GiB2.01×
131,07210.61 GiB5.29 GiB2.00×