StarCoder2 15B
StarCoder2 15B is a legacy integration reference; keep it only while you identify a current replacement.
Use it for
- Teams maintaining an existing integration
- Workloads that can use a 8k context window
- Buyers comparing 3 tracked provider routes
Do not use it for
- New production launches
- Vision or document-understanding workloads
- Family
- StarCoder 2
- Released
- 2024-07-04
- Context
- 8k
- Parameters
- 15B
- Architecture
- Decoder Only
- Specialization
- general
- Openness
- Open source
- License
- Apache 2.0OSI-approvedCommercial use: permitted
- Weights
- Unknown
- Code
- Unknown
- Training
- Fine-tuned
Empowering responsible AI for efficient workflows
Cheapest of 3 routes · Fireworks AI
About
StarCoder2-15B is a sophisticated large language model, expertly crafted for code generation and understanding. Developed by the BigCode project, it features 15 billion parameters and is trained on The Stack v2, a vast dataset of over 4 trillion tokens from more than 600 programming languages. Its advanced transformer decoder architecture, equipped with a grouped-query and sliding window attention mechanism and a Fill-in-the-Middle training objective, allows a context window of 16,384 tokens. In addition to generating and completing code, the model excels in tasks like code summarization and retrieving relevant snippets through natural language queries. The training leveraged NVIDIA's NeMo framework and the Eos Supercomputer, while usage is governed by the BigCode Open RAIL-M license, supporting royalty-free and commercial use.
StarCoder2 15B is an open-source model in the StarCoder 2 family. The structured metadata tracks a 8k-token context window and structured outputs. This page tracks provider routes through Fireworks AI, DeepInfra, and NVIDIA NIM, with the cheapest tracked route listed at $0.2 input and $0.2 output per 1M tokens. Headline tracked benchmarks include HellaSwag 91.7, HumanEval 82.4, and Massive Multitask Language Understanding 79.8.
Top use-case fit: coding, agents, and build tasks
Coding
1 relevant benchmark in the decision map.
Classification
2 relevant benchmarks in the decision map.
JSON / Tool use
Included by capability and metadata signals in the decision map.
Provider price ladder
Compare all 3Compare API pricing across 3 providers for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| Fireworks AI | $0.200 | $0.200 | Provisioned |
| DeepInfra | $0.200 | $0.600 | Serverless |
| NVIDIA NIM | - | - | ProvisionedPartial |
Available via routers & gateways(2)
OpenRouter
HybridUnified hybrid gateway to 400+ models from 60+ providers via a single OpenAI-compatible API, with optional auto-routing that selects the best model per prompt.
NVIDIA LLM Router Blueprint
RouterNVIDIA's open-source AI blueprint for LLM routing that selects the optimal model per prompt via intent classification or neural auto-routing; being deprecated 2026-06-20.
Capabilities
Benchmark peer barsfor Coding
Benchmark scores(3)
| Benchmark | Score | Version | Evaluation | Source |
|---|---|---|---|---|
| HellaSwag | 91.7 | 10-shotObserved 2026-03-06 | — | research |
| HumanEval | 82.4 | pass@1Observed 2026-03-06 | — | Source |
| Massive Multitask Language Understanding | 79.8 | 5-shotObserved 2026-03-06 | — | research |
Migration checks
No linked migration route is available for this model yet.
Frequently asked questions
What is the context window of StarCoder2 15B?
StarCoder2 15B has a context window of 8k tokens.
How much does StarCoder2 15B cost?
StarCoder2 15B is available at $0.20/1M input tokens through Fireworks AI.
When was StarCoder2 15B released?
StarCoder2 15B was released on 2024-07-04.
Which providers offer StarCoder2 15B?
StarCoder2 15B is available from 3 providers: Fireworks AI, DeepInfra, NVIDIA NIM.
What benchmarks has StarCoder2 15B been tested on?
StarCoder2 15B has been evaluated on 3 benchmarks, including HellaSwag, HumanEval, Massive Multitask Language Understanding.
Empowering responsible AI for efficient workflows
Cheapest of 3 routes · Fireworks AI