Starcoder2 15B vs Starcoder2 3B

Side-by-side comparison of VRAM requirements, quantization, context length, and hardware compatibility.

Starcoder2 15B

BigCode · 16.0B

ChatCode
Starcoder2 3B

BigCode · 3.0B

ChatCode

Specifications

Starcoder2 15BStarcoder2 3B
Parameters16.0B3.0B
Context16K16K
ArchitectureStarcoder2ForCausalLMStarcoder2ForCausalLM
Licensebigcode-openrail-mbigcode-openrail-m
Downloads8.4K130.9K
ReleasedJun 2024

VRAM by Quantization: Starcoder2 15B vs Starcoder2 3B

QuantizationBitsStarcoder2 15B VRAMStarcoder2 3B VRAM
Q2_K3.407.3 GB1.6 GB
Q3_K_M3.908.3 GB1.8 GB
Q3_K_S3.507.5 GB1.7 GB
Q4_04.008.4 GB1.9 GB
Q4_K_M4.8010.0 GB2.2 GB
Q5_K_M5.7011.8 GB2.5 GB
Q6_K6.6013.6 GB2.9 GB
Q8_08.0016.4 GB3.4 GB

Verdict

Starcoder2 3B needs less VRAM at Q4_K_M (2.2 GB vs 10.0 GB), so it fits on smaller GPUs. Starcoder2 3B is the more widely downloaded of the two.

Frequently Asked Questions

Which needs less VRAM, Starcoder2 15B or Starcoder2 3B?

At Q4_K_M, Starcoder2 15B needs 10.0 GB and Starcoder2 3B needs 2.2 GB, so Starcoder2 3B is the lighter option to run locally.

Which has a longer context window, Starcoder2 15B or Starcoder2 3B?

Starcoder2 15B supports 16,384 tokens and Starcoder2 3B supports 16,384 tokens.

What is the difference between Starcoder2 15B and Starcoder2 3B?

Starcoder2 15B is a 16.0B model from BigCode (StarCoder family), while Starcoder2 3B is a 3.0B model from BigCode (StarCoder family). Compare their VRAM requirements above to see which fits your GPU or Mac.