// RUN โ€” FITS

Can the NVIDIA GeForce RTX 4090 run StarCoder 2 15B?

Yes โ€” here's how fast and up to what context, with real measured numbers.

StarCoder 2 15B on the NVIDIA GeForce RTX 4090

QuantFits?Max contextSpeedBeyond context
FP16 no โ€” โ€” โ€”
Q8 yes 21k 49.1-58.5 t/s ~1.9-2.3 (slow)
Q4 yes 46k 87.6-104.4 t/s ~3.5-4.1 (slow)

Estimate (memory-bound). Beyond "max context" the KV cache spills to system RAM offload (depends on your system RAM) and speed drops to the "beyond" figure.

FAQ

Can the NVIDIA GeForce RTX 4090 run StarCoder 2 15B?โ–ถ

Yes. At Q4 it generates ~87.6-104.4 tok/s and fits up to 46k context; beyond that it spills to system RAM offload (depends on your system RAM) and slows to ~3.5-4.1 tok/s.

How much context fits?โ–ถ

At Q4, up to about 46k tokens stay in fast memory; longer context spills to system RAM offload (depends on your system RAM) and throughput collapses.