StarCoder
by IBM · May 9, 2023
StarCoder is an open-weight code model from IBM, released May 9, 2023. It has 16B parameters.
- Provider
- IBM
- Released
- May 9, 2023
- Type
- Code model
- Parameters
- 16B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- Open (restricted)
- Knowledge cutoff
- —
- Status
- Historical
- Training compute
- 8.5e+22 FLOP
- Training data
- 203.8B tokens/words
About StarCoder
"The BigCode community, an open-scientific collaboration working on the responsible development of Large Language Models for Code (Code LLMs), introduces StarCoder and StarCoderBase: 15.5B parameter models with 8K context length, infilling capabilities and fast large-batch inference enabled by multi-query attention. StarCoderBase is trained on 1 trillion tokens sourced from The Stack, a large collection of permissively licensed GitHub repositories with inspection tools and an opt-out process. We fine-tuned StarCoderBase on 35B Python tokens, resulting in the creation of StarCoder.
How to run StarCoder
StarCoder 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 16B parameters it needs roughly 9 GB of memory at 4-bit quantization.
StarCoder vs alternatives
- StarCoder vs LLaMA-13B
- StarCoder vs FunSearch
- StarCoder vs WizardCoder-15.5B
- StarCoder vs Code Llama-13B
- StarCoder vs CodeT5+
- StarCoder vs CodeGen2
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| LLaMA-13Bopen | Meta | Feb 2023 | 13B | — | — | — | 85.2 |
| FunSearchopen | Google DeepMind | Dec 2023 | 15B | — | — | — | — |
| WizardCoder-15.5Bopen | Microsoft | Jun 2023 | 16B | — | — | — | — |
| Code Llama-13Bopen | Meta | Aug 2023 | 13B | — | — | — | — |
| CodeT5+open | Salesforce | May 2023 | 16B | — | — | — | — |
| CodeGen2open | Salesforce | May 2023 | 16B | — | — | — | — |
| MOSS-Moon-003open | Fudan University | Apr 2023 | 16B | — | — | — | — |
| NexusRaven-V2open | Nexusflow | Dec 2023 | 13B | — | — | — | — |
More models from IBM
All IBM models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Granite 4.2 8Bopen | Aug 2026 | 8.8B | 128K | $0.06 | $0.15 |
| granite-embedding-small-english-r2open | Jul 2025 | 48M | — | — | — |
| granite-4.1-3bopen | Apr 2026 | 3.4B | — | — | — |
| granite-embedding-97m-multilingual-r2open | Apr 2026 | 97M | — | — | — |
| granite-speech-4.1-2b-naropen | Mar 2026 | 2.3B | — | — | — |
| Granite-4.0-H-Smallopen | Oct 2025 | 32B | 128K | $0.064 | $0.265 |
| granite-embedding-311m-multilingual-r2open | Apr 2026 | 312M | — | — | — |
| granite-vision-4.1-4bopen | Apr 2026 | 4B | — | — | — |
Frequently asked questions
Who made StarCoder?
StarCoder was developed by IBM (United States of America,United States of America,United States of America,Canada,United States of America,United States of America,Germany,Germany,United Kingdom,United States of America,Singapore,Israel,Australia,Australia,Australia,Canada,United States of America,Canada,United States of America,Germany,United States of America,United States of America,Sweden,Germany,United States of America,United States of America,United States of America,India,India,Netherlands,Spain,United States of America,Israel,United Kingdom,United States of America,United States of America,Germany). It was released on May 9, 2023.
Is StarCoder open source?
Yes. StarCoder's weights are publicly available, so you can download and run it yourself.
How many parameters does StarCoder have?
StarCoder has 16B parameters.
Sources: epoch · paper. Last updated 2026-11-22.