Model comparison
starcoder2-7b vs Qwen3-8B
At Q4_K_M, starcoder2-7b is the smaller download — 4,402,887,488 bytes against 5,027,783,488.
From the file· summed bytes, KV per layer
Side by side
| starcoder2-7b | Qwen3-8B | |
|---|---|---|
| Parameters | 7.2B | 8.2B |
| Architecture | starcoder2 | qwen3 |
| Layers | 32 | 36 |
| Native context | 16,384 | 40,960 |
| Mixture of experts | no | no |
| Quantizations published | 12 | 51 |
| Smallest quantization | 2.54 GiB | 2.12 GiB |
| Q4_K_M | 4.10 GiB | 4.68 GiB |
| Licence | bigcode-openrail-m | apache-2.0 |
KV cache by context
the term that decides long-context viability
| Context | starcoder2-7b | Qwen3-8B | Ratio |
|---|---|---|---|
| 4,096 | — | 0.56 GiB | — |
| 8,192 | — | 1.13 GiB | — |
| 16,384 | — | 2.25 GiB | — |
| 32,768 | — | 4.50 GiB | — |
| 65,536 | — | 9.00 GiB | — |
| 131,072 | — | 18.00 GiB | — |