Model comparison

Qwen3.5-4B vs medgemma-4b-it

At Q4_K_M, medgemma-4b-it is the smaller download — 2,489,893,664 bytes against 2,707,513,696. At long context the gap widens: medgemma-4b-it's KV cache at 32K is 1.3× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

Qwen3.5-4Bmedgemma-4b-it
Parameters4.7B4.3B
Architectureqwen35gemma3
Layers3234
Native context262,144131,072
Mixture of expertsnono
Quantizations published5746
Smallest quantization1.42 GiB1.10 GiB
Q4_K_M2.52 GiB2.32 GiB
Licenceapache-2.0other

KV cache by context

the term that decides long-context viability
ContextQwen3.5-4Bmedgemma-4b-itRatio
4,0960.13 GiB0.25 GiB1.98×
8,1920.25 GiB0.33 GiB1.30×
16,3840.50 GiB0.48 GiB1.04×
32,7681.00 GiB0.79 GiB1.26×
65,5362.00 GiB1.42 GiB1.41×
131,0724.00 GiB2.67 GiB1.50×