Model comparison

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

At Q4_K_M, Qwen3.8-27B is the smaller download — 16,810,714,336 bytes against 20,219,900,064. At long context the gap widens: Qwen3.8-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

Qwen3.8-27BCodeLlama-34b-instruct-hf
Parameters27.8B33.7B
Architectureqwen35llama
Layers6448
Native context262,14416,384
Mixture of expertsnono
Quantizations published2212
Smallest quantization8.39 GiB13.23 GiB
Q4_K_M15.66 GiB18.83 GiB
Licenceapache-2.0llama2

KV cache by context

the term that decides long-context viability
ContextQwen3.8-27BCodeLlama-34b-instruct-hfRatio
4,0960.25 GiB0.75 GiB3.00×
8,1920.50 GiB1.50 GiB3.00×
16,3841.00 GiB3.00 GiB3.00×
32,7682.00 GiB6.00 GiB3.00×
65,5364.00 GiB12.00 GiB3.00×
131,0728.00 GiB24.00 GiB3.00×