Model comparison

granite-4.0-h-tiny-base vs Qwen3-4B

At Q4_K_M, Qwen3-4B is the smaller download — 2,497,280,256 bytes against 4,230,969,888. At long context the gap widens: granite-4.0-h-tiny-base'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-tiny-baseQwen3-4B
Parameters6.9B4.0B
Architecturegranitehybridqwen3
Layers4036
Native context131,07240,960
Mixture of expertsyes, 64 expertsno
Quantizations published1529
Smallest quantization2.41 GiB1.01 GiB
Q4_K_M3.94 GiB2.33 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
Contextgranite-4.0-h-tiny-baseQwen3-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-tiny-base vs Qwen3-4B — size, memory and hardware fit — ossmodeldb