The bigcode/starcoder model is a 15.5 billion parameter language model developed by BigCode, a project focused on the open and responsible development of large language models for code. It is designed to assist developers with a wide range of coding tasks, including code generation, completion, and infilling.
The bigcode/starcoder model is intended for use in scenarios where developers need assistance with coding tasks, such as:
The model supports over 80 programming languages, including popular ones like Python, Java, JavaScript, C++, and Go. It also supports multiple natural languages, with English being the predominant language used in the training data.
The bigcode/starcoder model is based on the GPT-2 architecture, with a few key modifications:
The model was trained on The Stack (v1.2) dataset, which contains source code from GitHub. The dataset includes code from over 80 programming languages and spans a wide range of domains, from web development to machine learning. The total size of the training data is 1 trillion tokens.
The bigcode/starcoder model has been evaluated on several benchmarks and has achieved state-of-the-art results in many cases:
BigCode has focused on raising the bar for data governance and has been transparent about the data used to train the model. An opt-out process was provided for source code developers who did not want their code included in the dataset.
The bigcode/starcoder model is licensed under the BigCode OpenRAIL-M v1 license agreement, which allows for both commercial and non-commercial use of the model.
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
StarCoder (16B) This page |
StarCoder (16B) is priced at input $0.315 / 1M, output $0.315 / 1M.
Yes, StarCoder (16B) can stream responses as they are generated.
Yes, StarCoder (16B) supports both function calling and structured outputs.
StarCoder (16B) was built by BigCode.