Ollama library

Starcoder 2 3B

Ollama library·3B·Transformer·16K ctx·2026-08

Model sizeHardware requirementActual fit

Starcoder 2 3B needs ~2.9–4.4 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

4.4
8
Q8_0 · Est. ~14 tok/sComfortable

12 GB

RTX 4070 · 3060 12G

4.4
12
Q8_0 · Est. ~25 tok/sComfortable

16 GB

RTX 4080 · M-series 16G

4.4
16
Q8_0 · Est. ~39 tok/sComfortable

24 GB

RTX 4090 · 3090

4.4
24
Q8_0 · Est. ~60 tok/sComfortable

48 GB

A6000 · 2×24G

4.4
48
Q8_0 · Est. ~60 tok/sComfortable

02  — Quantizations

QuantFile sizeEst. VRAM
Q4_K_M1.7 GB2.9 GB
Q5_K_M2 GB3.2 GB
Q8_03.2 GB4.4 GB

03  — Runtimes & use

llama.cpp · Ollama · LM Studio

General · Coding · Fast

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.