Model comparison

Qwen3-Coder-30B-A3B-Instruct vs CodeLlama-13b-Instruct-hf

At Q4_K_M, CodeLlama-13b-Instruct-hf is the smaller download — 7,866,070,016 bytes against 18,556,689,568. At long context the gap widens: Qwen3-Coder-30B-A3B-Instruct's KV cache at 32K is 8.3× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

Qwen3-Coder-30B-A3B-InstructCodeLlama-13b-Instruct-hf
Parameters30.5B13.0B
Architectureqwen3moellama
Layers4840
Native context262,14416,384
Mixture of expertsyes, 128 expertsno
Quantizations published4624
Smallest quantization7.46 GiB5.06 GiB
Q4_K_M17.28 GiB7.33 GiB
Licenceapache-2.0llama2

KV cache by context

the term that decides long-context viability
ContextQwen3-Coder-30B-A3B-InstructCodeLlama-13b-Instruct-hfRatio
4,0960.38 GiB3.13 GiB8.33×
8,1920.75 GiB6.25 GiB8.33×
16,3841.50 GiB12.50 GiB8.33×
32,7683.00 GiB25.00 GiB8.33×
65,5366.00 GiB50.00 GiB8.33×
131,07212.00 GiB100.00 GiB8.33×