Written by Jakub Rusinowski · Last updated August 15, 2026
Not at Q4_K_M — that needs 9.4 GB and the AMD Radeon RX 9060 XT 8GB has 8 GB. Drop to Q2_K and it fits in 6.6 GB, with up to 8K of context.
| Model | StarCoder 2 15B |
| Parameters | 15B |
| Quantization | Q4_K_M |
| VRAM needed | 9.4 GB |
| AMD Radeon RX 9060 XT 8GB VRAM | 8 GB |
| Verdict | Runs at a lower quant |
| Fits at | Q2_K (6.6 GB) |
| Max context | 8K |
Quantize to Q2_K. That is the cheapest fix — it costs some quality but no money.
Running StarCoder 2 15B on this card:
StarCoder 2 15B needs ~9 GB but this GPU has 8 GB. Rent a RTX 4090 (24 GB)-class GPU by the hour instead of buying one:
Affiliate links — we may earn a commission if you sign up, at no extra cost to you.
Cloud rates verified 2026-07 — estimates, and marketplace prices vary. Buying price is GPU MSRP only, not a full PC.
All StarCoder 2 sizes on the AMD Radeon RX 9060 XT 8GB | VRAM calculator for StarCoder 2 15B | AMD Radeon RX 9060 XT 8GB GPU page | Check your hardware