Model comparison

granite-3.1-1b-a400m-instruct vs Qwen3-4B

At Q4_K_M, granite-3.1-1b-a400m-instruct is the smaller download — 821,847,360 bytes against 2,497,280,256. At long context the gap widens: granite-3.1-1b-a400m-instruct's KV cache at 32K is 3.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

granite-3.1-1b-a400m-instructQwen3-4B
Parameters1.3B4.0B
Architecturegranitemoeqwen3
Layers2436
Native context131,07240,960
Mixture of expertsyes, 32 expertsno
Quantizations published2029
Smallest quantization0.48 GiB1.01 GiB
Q4_K_M0.77 GiB2.33 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
Contextgranite-3.1-1b-a400m-instructQwen3-4BRatio
4,0960.19 GiB0.56 GiB3.00×
8,1920.38 GiB1.13 GiB3.00×
16,3840.75 GiB2.25 GiB3.00×
32,7681.50 GiB4.50 GiB3.00×
65,5363.00 GiB9.00 GiB3.00×
131,0726.00 GiB18.00 GiB3.00×