Model comparison

CodeLlama-34b-instruct-hf vs Qwen3.6-27B

At Q4_K_M, Qwen3.6-27B is the smaller download — 16,547,397,888 bytes against 20,219,900,064. At long context the gap widens: Qwen3.6-27B's KV cache at 32K is 3.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

CodeLlama-34b-instruct-hfQwen3.6-27B
Parameters33.7B27.8B
Architecturellamaqwen35
Layers4864
Native context16,384262,144
Mixture of expertsnono
Quantizations published1240
Smallest quantization13.23 GiB8.74 GiB
Q4_K_M18.83 GiB15.41 GiB
Licencellama2apache-2.0

KV cache by context

the term that decides long-context viability
ContextCodeLlama-34b-instruct-hfQwen3.6-27BRatio
4,0960.75 GiB0.25 GiB3.00×
8,1921.50 GiB0.50 GiB3.00×
16,3843.00 GiB1.00 GiB3.00×
32,7686.00 GiB2.00 GiB3.00×
65,53612.00 GiB4.00 GiB3.00×
131,07224.00 GiB8.00 GiB3.00×