Skip to content
← Models
Open weightsBigCode (ServiceNow/HF)/10 trustMetrics-checked
StarCoder2 3B logo

StarCoder2 3B

BigCode's 3B transparent code model — trained on The Stack v2 with full data provenance.

Visit official page →

About

StarCoder2-3B (February 2024) is the small member of BigCode's StarCoder2 family: trained on The Stack v2 (900B+ tokens with full provenance and opt-out honor), with transparent data governance — the project's signature virtue.

Licensed under BigCode OpenRAIL-M: not OSI open source — use restrictions apply (including the BigCode-specific use restrictions). 42.7k Hugging Face downloads. A 2024 3B model superseded by Qwen2.5-Coder-7B on quality, but the data-transparency story (every training file traceable, opt-outs respected) remains unmatched and matters for compliance-sensitive organizations. The 15B sibling is already in the catalog (starcoder2-15b).

Specs

Context window

16,384 tokens

Pricing

Free — open weights (BigCode OpenRAIL-M — use restrictions apply); review before commercial use.

Free quota

Free — download and run the weights yourself; verify OpenRAIL-M terms.

API access

Self-hosted (Transformers; Hugging Face checkpoints).

Weights

Open weights

Released

February 28, 2024

Benchmarks

Provider-claimed at release (2024): competitive HumanEval for 3B — treat as provider-claimed and dated. No current leaderboard presence.

Provider-reported unless a source says otherwise. Benchmarks are marketing-adjacent by nature — treat them as directional.

Use cases

codecodingresearchreproducibilityprototyping

Trust score — 6/10

/10 trustMetrics-checked

Scored 6/10 (metrics tier). The data-transparency story (The Stack v2 provenance, opt-outs honored) is unmatched and valuable for compliance-sensitive orgs. Docked four points: (1) BigCode OpenRAIL-M is not open source; (2) 2024-era 3B, superseded on quality; (3) benchmark claims are dated provider reports; (4) 16K context. Choose for provenance, not performance.

How the trust score is built

Full methodology →
Adoption · stars/downloads, log-scaled vs peers
7.0/10
Maintenance · recency, releases, issue load
4.0/10
Openness · license + docs
5.3/10
Manual review · sanity read + red-flag check
6.0/10
  • · HF downloads 42,735 (peer-normalized)
  • · released 958 days ago
  • · manual review: data transparency unmatched; 2024-era 3B superseded on quality; license: BigCode OpenRAIL-M — not OSI; use restrictions apply

More in the starcoder2 family

Sources