Model comparison

granite-4.1-3b vs Llama-3.1-8B-Instruct

At Q4_K_M, granite-4.1-3b is the smaller download — 2,099,501,664 bytes against 4,920,739,168. At long context the gap widens: granite-4.1-3b's KV cache at 32K is 1.6× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

granite-4.1-3bLlama-3.1-8B-Instruct
Parameters3.4B8.0B
Architecturegranitellama
Layers4032
Native context131,072131,072
Mixture of expertsnono
Quantizations published3045
Smallest quantization1.20 GiB2.02 GiB
Q4_K_M1.96 GiB4.58 GiB
Licenceapache-2.0llama3.1

KV cache by context

the term that decides long-context viability
Contextgranite-4.1-3bLlama-3.1-8B-InstructRatio
4,0960.31 GiB0.50 GiB1.60×
8,1920.63 GiB1.00 GiB1.60×
16,3841.25 GiB2.00 GiB1.60×
32,7682.50 GiB4.00 GiB1.60×
65,5365.00 GiB8.00 GiB1.60×
131,07210.00 GiB16.00 GiB1.60×