Model comparison
Qwen3-8B vs Llama-3.1-8B-Instruct
At Q4_K_M, Llama-3.1-8B-Instruct is the smaller download — 4,920,739,168 bytes against 5,027,783,488.
From the file· summed bytes, KV per layer
Side by side
| Qwen3-8B | Llama-3.1-8B-Instruct | |
|---|---|---|
| Parameters | 8.2B | 8.0B |
| Architecture | qwen3 | llama |
| Layers | 36 | 32 |
| Native context | 40,960 | 131,072 |
| Mixture of experts | no | no |
| Quantizations published | 51 | 45 |
| Smallest quantization | 2.12 GiB | 2.02 GiB |
| Q4_K_M | 4.68 GiB | 4.58 GiB |
| Licence | apache-2.0 | llama3.1 |
KV cache by context
the term that decides long-context viability
| Context | Qwen3-8B | Llama-3.1-8B-Instruct | Ratio |
|---|---|---|---|
| 4,096 | 0.56 GiB | 0.50 GiB | 1.13× |
| 8,192 | 1.13 GiB | 1.00 GiB | 1.13× |
| 16,384 | 2.25 GiB | 2.00 GiB | 1.13× |
| 32,768 | 4.50 GiB | 4.00 GiB | 1.13× |
| 65,536 | 9.00 GiB | 8.00 GiB | 1.13× |
| 131,072 | 18.00 GiB | 16.00 GiB | 1.13× |