Skip to content
llmmodels
Code modelOpen weightsHistorical

StarCoder 2 3B

by NVIDIA · Feb 29, 2024

StarCoder 2 3B is an open-weight code model from NVIDIA, released Feb 29, 2024. It has 3B parameters. It scores 66.6 on the Epoch Capabilities Index.

Provider
NVIDIA
Released
Feb 29, 2024
Type
Code model
Parameters
3B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
Open (restricted)
Knowledge cutoff
—
Status
Historical
Training compute
5.9e+22 FLOP
Training data
622.1B tokens/words

About StarCoder 2 3B

The BigCode project, an open-scientific collaboration focused on the responsible development of Large Language Models for Code (Code LLMs), introduces StarCoder2. In partnership with Software Heritage (SWH), we build The Stack v2 on top of the digital commons of their source code archive. Alongside the SWH repositories spanning 619 programming languages, we carefully select other high-quality data sources, such as GitHub pull requests, Kaggle notebooks, and code documentation. This results in a training set that is 4x larger than the first StarCoder dataset.

StarCoder 2 3B benchmarks

All benchmarks →

Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.

How to run StarCoder 2 3B

StarCoder 2 3B is an open-weight model. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 3B parameters it needs roughly 2 GB of memory at 4-bit quantization.

StarCoder 2 3B vs alternatives

Alternatives to StarCoder 2 3B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
DeepSeek Coder 6.7BopenDeepSeekNov 20236.7B———67.5
StarCoder 2 7BopenNVIDIAFeb 20247B———72.4
OpenELM-3BopenAppleMay 20243B————
Stable Code 3BopenStability AIJan 20242.8B————
LLaMA-7BopenMetaFeb 20236.7B———77.3
Granite 3.0 2BopenIBMOct 20242.6B————
MiniCPM-3-4BopenZhipu AI (Z.ai)Jun 20244B————
MiniCPM-2.4BopenZhipu AI (Z.ai)Jun 20242.4B————

More models from NVIDIA

All NVIDIA models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Nemotron 3 UltraopenJun 2026561B (55B act.)1MFreeFree
Nemotron-4 15BFeb 202415B———
StarCoder 2 15BopenFeb 202415B———
Nemotron 3 Super 120B A12BopenMar 2026124B (12B act.)256K$0.075$0.4
Nemotron 3.5 Lightning 30B A3BopenAug 202632B (3B act.)1MFreeFree
Nemotron 3.5 Super VLopenOct 2026124B (12B act.)1MFreeFree
Nemotron 3 Nano 30B A3BopenDec 202532B (3B act.)256K$0.06$0.24
StarCoder 2 7BopenFeb 20247B———

Frequently asked questions

Who made StarCoder 2 3B?

StarCoder 2 3B was developed by NVIDIA (United States of America,United States of America,United States of America). It was released on Feb 29, 2024.

Is StarCoder 2 3B open source?

Yes. StarCoder 2 3B's weights are publicly available, so you can download and run it yourself.

How many parameters does StarCoder 2 3B have?

StarCoder 2 3B has 3B parameters.

How does StarCoder 2 3B perform on benchmarks?

StarCoder 2 3B scores 36.6% on MMLU and 21.6% on GSM8K.

Sources: epoch · paper. Last updated 2026-11-22.