Starcoder2 15B vs Starcoder2 7B

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

Starcoder2 15B

BigCode · 16.0B

ChatCode
Starcoder2 7B

BigCode · 7.2B

ChatCode

Specifications

Starcoder2 15BStarcoder2 7B
Parameters16.0B7.2B
Context16K16K
ArchitectureStarcoder2ForCausalLMStarcoder2ForCausalLM
Licensebigcode-openrail-mbigcode-openrail-m
Downloads8.4K19.8K
ReleasedJun 2024Jun 2024

VRAM by Quantization: Starcoder2 15B vs Starcoder2 7B

QuantizationBitsStarcoder2 15B VRAMStarcoder2 7B VRAM
Q2_K3.403.5 GB
Q3_K_M3.903.9 GB
Q3_K_S3.503.6 GB
Q4_04.004.0 GB
Q4_K_M4.804.7 GB
Q5_K_M5.705.5 GB
Q6_K6.606.3 GB
Q8_08.007.6 GB

Verdict

Starcoder2 7B is the more widely downloaded of the two.

Frequently Asked Questions

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

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

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

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