Model comparison

SmolVLM-Instruct vs Llama-3.1-8B-Instruct

At Q4_K_M, SmolVLM-Instruct is the smaller download — 1,112,242,368 bytes against 4,920,739,168. At long context the gap widens: Llama-3.1-8B-Instruct's KV cache at 32K is 1.5× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

SmolVLM-InstructLlama-3.1-8B-Instruct
Parameters2.2B8.0B
Architecturellamallama
Layers2432
Native context16,384131,072
Mixture of expertsnono
Quantizations published345
Smallest quantization1.04 GiB2.02 GiB
Q4_K_M1.04 GiB4.58 GiB
Licenceapache-2.0llama3.1

KV cache by context

the term that decides long-context viability
ContextSmolVLM-InstructLlama-3.1-8B-InstructRatio
4,0960.75 GiB0.50 GiB1.50×
8,1921.50 GiB1.00 GiB1.50×
16,3843.00 GiB2.00 GiB1.50×
32,7686.00 GiB4.00 GiB1.50×
65,53612.00 GiB8.00 GiB1.50×
131,07224.00 GiB16.00 GiB1.50×