LLM Reference

Stable Code Models by Stability AI

Stability AIStability AI Community LicenseOpen weights
3 models2023Up to 16k ctxFrom $0.1/1M input

Details

ResearcherStability AI
Commercial useCommercial use with conditions
Models3
Released2023
Max context16k

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.

3 in view

Use when the workload needs 16k context and 3B parameters.

2023-0816k context3B parameters

Use when the workload needs 16k context and 3B parameters.

2023-0816k context3B parameters

Use when the workload needs 4k context and 3B parameters.

2023-084k context3B parameters

Release Timeline

1 release group
2023-08
3 current
Stable Code 3B
16k context3B parameters
Current
Stable Code Alpha 3B
16k context3B parameters
Current
Stable Code Alpha 3B 4K
4k context3B parameters
Current

Specifications(3 models)

Stable Code model specifications comparison
ModelReleasedContextParameters
Stable Code 3B2023-0816k3B
Stable Code Alpha 3B2023-0816k3B
Stable Code Alpha 3B 4K2023-084k3B

Available From(2 providers)

Pricing

Stable Code model pricing by provider
ModelProviderInput / 1MOutput / 1MType
Stable Code 3BFireworks AI$0.1$0.1Provisioned

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.