Skip to content
← Models
Open weightsStability AI/10 trustMetrics-checked
Stable Code logo

Stable Code

Stability AI's compact 3B code model for completion and instruction chat.

Visit official page →

About

Stable Code is Stability AI's 3B-parameter code model line: a completion base model (Apache 2.0) and an Instruct variant for chat-style coding help. The 2.8B-parameter model runs a 16K context across 18 languages and was, at release, the strongest open model under 3B on the MultiPL benchmark (team-reported), even rivaling some 7B and 15B models. Watch the licensing split: the Instruct checkpoint sits under the Stability AI Community License, and commercial use needs a Stability AI membership. Later small coders beat it, but it remains a capable lightweight completion engine.

Specs

Context window

16K tokens

Pricing

Base: free under Apache 2.0. Instruct: Stability AI Community License — commercial use requires a Stability AI membership.

Free quota

No official free API; self-hosting is free.

API access

Weights on Hugging Face; no first-party hosted API.

Weights

Open weights

Released

Not disclosed

Benchmarks

Team-reported: state-of-the-art open model under 3B parameters on MultiPL at release; Instruct variant competitive on MT-Bench coding.

Provider-reported unless a source says otherwise. Benchmarks are marketing-adjacent by nature — treat them as directional.

Use cases

code completionlightweight IDE assistanceedge devicesSQL assistance

Trust score — 6/10

/10 trustMetrics-checked

Scored 6/10 (metrics tier, metrics-v1). Evidence: Stability AI GitHub + HF cards + stability.ai announcement read this session: 3B (2.8B params), 16K context, 18 languages; base Apache 2.0, Instruct under Stability AI Community License (commercial needs membership).; Metrics tier: release-day granularity thinner; team-reported MultiPL SOTA-under-3B claim labeled as such..

More in the stable-code family

Sources