Stable Code Models by Stability AI
Details
About
The Stable Code LLM family by Stability AI is tailored for enhancing developer productivity, offering robust solutions for coding tasks. Originating from the BigCode open-source project, these models undergo extensive fine-tuning by Stability AI to refine their performance. The lineup includes various models, such as Stable Code Alpha and Stable Code 3B, each equipped with features like instruction tuning and long-context handling for up to 16,000 tokens. Renowned for their efficiency, these models perform on par with larger models like CodeLLaMA 7B while maintaining the ability to run offline on standard laptops. Supporting multiple programming languages and incorporating advanced features like Fill in the Middle (FIM) and rotary position embeddings (RoPE), the Stable Code models are well-suited for diverse coding applications, evolving to support a broader range of languages over time based on developer feedback 1234910.
Current Variants
Use-when guidance is derived from seed capabilities, context, release, and replacement fields.
Use when the workload needs 16k context and 3B parameters.
Use when the workload needs 16k context and 3B parameters.
Use when the workload needs 4k context and 3B parameters.
| Model | Use when | Released | Signals | Status |
|---|---|---|---|---|
| Stable Code 3B | Use when the workload needs 16k context and 3B parameters. | 2023-08 | 16k context3B parameters | Current |
| Stable Code Alpha 3B | Use when the workload needs 16k context and 3B parameters. | 2023-08 | 16k context3B parameters | Current |
| Stable Code Alpha 3B 4K | Use when the workload needs 4k context and 3B parameters. | 2023-08 | 4k context3B parameters | Current |
Release Timeline
1 release groupSpecifications(3 models)
| Model | Released | Context | Parameters |
|---|---|---|---|
| Stable Code 3B | 2023-08 | 16k | 3B |
| Stable Code Alpha 3B | 2023-08 | 16k | 3B |
| Stable Code Alpha 3B 4K | 2023-08 | 4k | 3B |
Available From(2 providers)
Pricing
| Model | Provider | Input / 1M | Output / 1M | Type |
|---|---|---|---|---|
| Stable Code 3B | Fireworks AI | $0.1 | $0.1 | Provisioned |
Frequently Asked Questions
- What is Stable Code used for?
- Stable Code is used for coding. The family description and listed model capabilities point to those workloads as the best fit.
- How does Stable Code compare to Stable Virtual Assistant?
- Stable Code by Stability AI is strongest where you need coding, while Stable Virtual Assistant by Stability AI is the closest related family to check for adjacent model selection. Stable Code has 3 listed variants and reaches up to 16k context, so compare the specs and pricing tables before choosing a production model.
- Which Stable Code model should I use?
- For the lowest listed input price, start with Stable Code 3B through Fireworks AI at $0.1/1M input tokens. For the most capable/latest local choice, evaluate Stable Code 3B with 16k context.






