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 →- Epoch Capabilities Index66.6
- MMLU36.6%
- GSM8K21.6%
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
- StarCoder 2 3B vs DeepSeek Coder 6.7B
- StarCoder 2 3B vs StarCoder 2 7B
- StarCoder 2 3B vs OpenELM-3B
- StarCoder 2 3B vs Stable Code 3B
- StarCoder 2 3B vs LLaMA-7B
- StarCoder 2 3B vs Granite 3.0 2B
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| DeepSeek Coder 6.7Bopen | DeepSeek | Nov 2023 | 6.7B | — | — | — | 67.5 |
| StarCoder 2 7Bopen | NVIDIA | Feb 2024 | 7B | — | — | — | 72.4 |
| OpenELM-3Bopen | Apple | May 2024 | 3B | — | — | — | — |
| Stable Code 3Bopen | Stability AI | Jan 2024 | 2.8B | — | — | — | — |
| LLaMA-7Bopen | Meta | Feb 2023 | 6.7B | — | — | — | 77.3 |
| Granite 3.0 2Bopen | IBM | Oct 2024 | 2.6B | — | — | — | — |
| MiniCPM-3-4Bopen | Zhipu AI (Z.ai) | Jun 2024 | 4B | — | — | — | — |
| MiniCPM-2.4Bopen | Zhipu AI (Z.ai) | Jun 2024 | 2.4B | — | — | — | — |
More models from NVIDIA
All NVIDIA models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Nemotron 3 Ultraopen | Jun 2026 | 561B (55B act.) | 1M | Free | Free |
| Nemotron-4 15B | Feb 2024 | 15B | — | — | — |
| StarCoder 2 15Bopen | Feb 2024 | 15B | — | — | — |
| Nemotron 3 Super 120B A12Bopen | Mar 2026 | 124B (12B act.) | 256K | $0.075 | $0.4 |
| Nemotron 3.5 Lightning 30B A3Bopen | Aug 2026 | 32B (3B act.) | 1M | Free | Free |
| Nemotron 3.5 Super VLopen | Oct 2026 | 124B (12B act.) | 1M | Free | Free |
| Nemotron 3 Nano 30B A3Bopen | Dec 2025 | 32B (3B act.) | 256K | $0.06 | $0.24 |
| StarCoder 2 7Bopen | Feb 2024 | 7B | — | — | — |
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.