Model comparison

SmolLM2-135M-Instruct vs gemma-3-270m-it

At Q4_K_M, SmolLM2-135M-Instruct is the smaller download — 105,454,144 bytes against 253,115,168. At long context the gap widens: gemma-3-270m-it's KV cache at 32K is 6.5× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

SmolLM2-135M-Instructgemma-3-270m-it
Parameters135M268M
Architecturellamagemma3
Layers3018
Native context8,19232,768
Mixture of expertsnono
Quantizations published4139
Smallest quantization0.08 GiB0.17 GiB
Q4_K_M0.10 GiB0.24 GiB
Licenceapache-2.0gemma

KV cache by context

the term that decides long-context viability
ContextSmolLM2-135M-Instructgemma-3-270m-itRatio
4,0960.09 GiB0.03 GiB3.33×
8,1920.18 GiB0.04 GiB4.62×
16,3840.35 GiB0.06 GiB5.71×
32,7680.70 GiB0.11 GiB6.49×
65,5361.41 GiB0.20 GiB6.96×
131,0722.81 GiB0.39 GiB7.22×
SmolLM2-135M-Instruct vs gemma-3-270m-it — size, memory and hardware fit — ossmodeldb