other
15B parameters
Commercial OK
Reviewed May 2026

StarCoder 2 15B

StarCoder 2 flagship. The largest BigCode coder; 16k context with strong fill-in-middle.

License: BigCode OpenRAIL-M·Released Feb 28, 2024·Context: 16,384 tokens

Overview

StarCoder 2 flagship. The largest BigCode coder; 16k context with strong fill-in-middle.

Family & lineage

How this model relates to others in its lineage. Family members share architecture and training-data roots; parent / children edges record direct distillation or fine-tune relationships.

Parent / base model
StarCoder 2 7B7B
Consumer
Family siblings (starcoder-2)
StarCoder 2 3B3B
Edge
StarCoder 2 7B7B
Consumer
StarCoder 2 15B15B
You are here

Strengths

  • Permissive license at 15B

Weaknesses

  • Qwen 2.5 Coder 14B/32B leads on most code benchmarks

Quantization variants

Each quantization trades model quality for file size and VRAM. Q4_K_M is the most popular starting point.

QuantizationFile sizeVRAM required
Q4_K_M9.0 GB14 GB

Get the model

HuggingFace

Original weights

huggingface.co/bigcode/starcoder2-15b

Source repository — direct quantization required.

Hardware that runs this

Cards with enough VRAM for at least one quantization of StarCoder 2 15B.

Compare alternatives

Models worth comparing

Same parameter band, plus what's one tier above and below — so you can decide what actually fits your hardware.

Frequently asked

What's the minimum VRAM to run StarCoder 2 15B?

14GB of VRAM is enough to run StarCoder 2 15B at the Q4_K_M quantization (file size 9.0 GB). Higher-quality quantizations need more.

Can I use StarCoder 2 15B commercially?

Yes — StarCoder 2 15B ships under the BigCode OpenRAIL-M, which permits commercial use. Always read the license text before deployment.

What's the context length of StarCoder 2 15B?

StarCoder 2 15B supports a context window of 16,384 tokens (about 16K).

Source: huggingface.co/bigcode/starcoder2-15b

Reviewed by RunLocalAI Editorial. See our editorial policy for how we research and verify model claims.

Related — keep moving

Before you buy

Verify StarCoder 2 15B runs on your specific hardware before committing money.