BigCode

StarCoder2 3B

Code completion model trained on The Stack v2. 600+ languages.

3B parametersstarcoderbigcode-openrail-m16K context2.4GB - 3.8GB VRAM

Check Your Hardware

See which quantizations of StarCoder2 3B your hardware can run.

Quantization Options

QuantizationBitsFile SizeVRAM NeededRAM NeededQuality
Q4_K_M4.51.9 GB2.4 GB3.5 GB
85%
Q8_083.2 GB3.8 GB5 GB
98%

See It In Action

Real model outputs generated via RunThisModel.com — watch responses stream in real time.

Llama 3.3 70B responding...

Outputs generated by real AI models via RunThisModel.com. Generation speed shown is from cloud inference. Local speeds vary by hardware — check your device.

Frequently Asked Questions

How much VRAM do I need to run StarCoder2 3B?

StarCoder2 3B requires 2.4GB VRAM minimum with Q4_K_M quantization. For full precision, you need 3.8GB VRAM.

What is the best quantization for StarCoder2 3B?

Q4_K_M offers the best balance of quality and VRAM usage. Q8_0 is near-lossless if you have enough VRAM.