Context
16K
Input
Free (open)
Key Specifications
🏆
Arena Rank
Not disclosed
📐
Context Window
16K
📥
Input Price
per 1M tokens
Free (open)
📤
Output Price
per 1M tokens
Free (open)
🧠
Parameters
15B
🔓
Open Source
Yes
Best For
Code completioncode generationdevelopment
About StarCoder2 15B
StarCoder2 15B is a code-focused large language model developed by the BigCode project in collaboration with Hugging Face. Trained on The Stack v2, one of the largest and most ethically sourced code datasets, it supports over 600 programming languages. At 15 billion parameters with a 16K context window, it delivers strong code completion and generation performance while being fully open-source and transparently trained on permissively licensed data.
Built byHugging Face↗
Pricing per 1M tokens
Input Tokens
Free (open)
Output Tokens
Free (open)
Compare StarCoder2 15B
See how StarCoder2 15B stacks up against other leading AI models
Other Hugging Face Models
Other Top Models
Frequently Asked Questions
What is StarCoder2 15B?▾
StarCoder2 15B is a code-focused large language model developed by the BigCode project in collaboration with Hugging Face. Trained on The Stack v2, one of the largest and most ethically sourced code datasets, it supports over 600 programming languages. At 15 billion parameters with a 16K context window, it delivers strong code completion and generation performance while being fully open-source and transparently trained on permissively licensed data.
How much does StarCoder2 15B cost?▾
StarCoder2 15B costs Free (open) per 1 million input tokens and Free (open) per 1 million output tokens. Pricing is based on token usage, making it cost-effective for both small and large-scale applications.
What is StarCoder2 15B's context window?▾
StarCoder2 15B has a context window of 16K tokens. This determines how much text the model can process in a single request — larger context windows allow the model to handle longer documents, maintain more conversation history, and reason over bigger codebases.
Is StarCoder2 15B open source?▾
Yes, StarCoder2 15B is open source. This means the model weights are publicly available, allowing developers and organizations to download, fine-tune, and self-host the model on their own infrastructure. Open-source models offer greater flexibility and data privacy control.
What is StarCoder2 15B best for?▾
StarCoder2 15B is best suited for: Code completion, code generation, development. These use cases leverage the model's specific strengths in terms of capability, speed, and cost-effectiveness within Hugging Face's model lineup.