Skip to content
llmmodels
Code modelOpen weightsHistorical

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

Alternatives to StarCoder
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
LLaMA-13BopenMetaFeb 202313B———85.2
FunSearchopenGoogle DeepMindDec 202315B————
WizardCoder-15.5BopenMicrosoftJun 202316B————
Code Llama-13BopenMetaAug 202313B————
CodeT5+openSalesforceMay 202316B————
CodeGen2openSalesforceMay 202316B————
MOSS-Moon-003openFudan UniversityApr 202316B————
NexusRaven-V2openNexusflowDec 202313B————

More models from IBM

All IBM models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Granite 4.2 8BopenAug 20268.8B128K$0.06$0.15
granite-embedding-small-english-r2openJul 202548M———
granite-4.1-3bopenApr 20263.4B———
granite-embedding-97m-multilingual-r2openApr 202697M———
granite-speech-4.1-2b-naropenMar 20262.3B———
Granite-4.0-H-SmallopenOct 202532B128K$0.064$0.265
granite-embedding-311m-multilingual-r2openApr 2026312M———
granite-vision-4.1-4bopenApr 20264B———

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.