Model comparison

granite-4.0-h-3b-ar vs Qwen3-4B

At Q4_K_M, granite-4.0-h-3b-ar is the smaller download — 2,058,170,400 bytes against 2,497,280,256. At long context the gap widens: granite-4.0-h-3b-ar's KV cache at 32K is 18.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

granite-4.0-h-3b-arQwen3-4B
Parameters3.4B4.0B
Architecturegranitehybridqwen3
Layers4036
Native context131,07240,960
Mixture of expertsnono
Quantizations published3629
Smallest quantization0.76 GiB1.01 GiB
Q4_K_M1.92 GiB2.33 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
Contextgranite-4.0-h-3b-arQwen3-4BRatio
4,0960.03 GiB0.56 GiB17.96×
8,1920.06 GiB1.13 GiB17.98×
16,3840.13 GiB2.25 GiB17.99×
32,7680.25 GiB4.50 GiB18.00×
65,5360.50 GiB9.00 GiB18.00×
131,0721.00 GiB18.00 GiB18.00×
granite-4.0-h-3b-ar vs Qwen3-4B — size, memory and hardware fit — ossmodeldb