Model comparison

granite-4.0-micro-base vs Qwen3-4B

At Q4_K_M, granite-4.0-micro-base is the smaller download — 2,099,496,064 bytes against 2,497,280,256. At long context the gap widens: granite-4.0-micro-base's KV cache at 32K is 1.8× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

granite-4.0-micro-baseQwen3-4B
Parameters3.4B4.0B
Architecturegraniteqwen3
Layers4036
Native context131,07240,960
Mixture of expertsnono
Quantizations published1529
Smallest quantization1.28 GiB1.01 GiB
Q4_K_M1.96 GiB2.33 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
Contextgranite-4.0-micro-baseQwen3-4BRatio
4,0960.31 GiB0.56 GiB1.80×
8,1920.63 GiB1.13 GiB1.80×
16,3841.25 GiB2.25 GiB1.80×
32,7682.50 GiB4.50 GiB1.80×
65,5365.00 GiB9.00 GiB1.80×
131,07210.00 GiB18.00 GiB1.80×
granite-4.0-micro-base vs Qwen3-4B — size, memory and hardware fit — ossmodeldb