Model comparison

stable-code-3b vs Llama-3.2-1B-Instruct

At Q4_K_M, Llama-3.2-1B-Instruct is the smaller download — 807,690,688 bytes against 1,708,595,200. At long context the gap widens: Llama-3.2-1B-Instruct's KV cache at 32K is 10.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

stable-code-3bLlama-3.2-1B-Instruct
Parameters2.8B1.2B
Architecturestablelmllama
Layers3216
Native context16,384131,072
Mixture of expertsnono
Quantizations published4839
Smallest quantization0.63 GiB0.39 GiB
Q4_K_M1.59 GiB0.75 GiB
Licenceother

KV cache by context

the term that decides long-context viability
Contextstable-code-3bLlama-3.2-1B-InstructRatio
4,0961.25 GiB0.13 GiB10.00×
8,1922.50 GiB0.25 GiB10.00×
16,3845.00 GiB0.50 GiB10.00×
32,76810.00 GiB1.00 GiB10.00×
65,53620.00 GiB2.00 GiB10.00×
131,07240.00 GiB4.00 GiB10.00×