IBM
Granite Code 20B
IBM·20B·Granite·8K ctx·2026-08
Model size→Hardware requirement→Actual fit
Granite Code 20B needs ~13.2–24.1 GB of VRAM depending on quantization. The bar is what it needs; the marker is the card's VRAM. Speed figures below are planning estimates.
8 GB
RTX 4060 · 3060 Ti
13.28
Q4_K_M · Est. ~3 tok/sSlow · CPU offload
12 GB
RTX 4070 · 3060 12G
13.212
Q4_K_M · Est. ~5 tok/sSlow · CPU offload
16 GB
RTX 4080 · M-series 16G
13.216
Q4_K_M · Est. ~56 tok/sComfortable
24 GB
RTX 4090 · 3090
15.424
Q5_K_M · Est. ~70 tok/sComfortable
48 GB
A6000 · 2×24G
24.148
Q8_0 · Est. ~42 tok/sComfortable
02 — Quantizations
QuantFile sizeEst. VRAM
Q4_K_M12 GB13.2 GB
Q5_K_M14.2 GB15.4 GB
Q8_022.9 GB24.1 GB
03 — Runtimes & use
llama.cpp · Ollama · LM Studio
General · Coding
Memory and speed figures are planning estimates, not measured benchmarks. Memory includes a fixed allowance for KV cache and runtime overhead. Long-context prompts push VRAM use above the numbers shown here.