Starcoder vs Starcoder2 3B

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

Starcoder

BigCode · 15.8B

ChatCode
Starcoder2 3B

BigCode · 3.0B

ChatCode

Specifications

StarcoderStarcoder2 3B
Parameters15.8B3.0B
Context16K
ArchitectureStarcoder2ForCausalLM
Licensebigcode-openrail-mbigcode-openrail-m
Downloads25.4K130.9K
ReleasedOct 2024

VRAM by Quantization: Starcoder vs Starcoder2 3B

QuantizationBitsStarcoder VRAMStarcoder2 3B VRAM
Q2_K3.407.4 GB1.6 GB
Q3_K_M3.908.5 GB1.8 GB
Q3_K_S3.507.6 GB1.7 GB
Q4_04.008.7 GB1.9 GB
Q4_K_M4.8010.4 GB2.2 GB
Q5_K_M5.7012.4 GB2.5 GB
Q6_K6.6014.4 GB2.9 GB
Q8_08.0017.4 GB3.4 GB

Verdict

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

Frequently Asked Questions

Which needs less VRAM, Starcoder or Starcoder2 3B?

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

What is the difference between Starcoder and Starcoder2 3B?

Starcoder is a 15.8B 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.