Skip to content
llmmodels
Code modelOpen weights

Stable Code 3B

by Stability AI · Jan 9, 2024

Stable Code 3B is an open-weight code model from Stability AI, released Jan 9, 2024. It has 2.8B parameters.

Provider
Stability AI
Released
Jan 9, 2024
Type
Code model
Parameters
2.8B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
other
Knowledge cutoff
—
Status
Open weights
Training compute
2.1e+22 FLOP
HF downloads (30d)
6.1K

How to run Stable Code 3B

Stable Code 3B is an open-weight model published on Hugging Face as stabilityai/stable-code-3b. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 2.8B parameters it needs roughly 2 GB of memory at 4-bit quantization.

Stable Code 3B vs alternatives

Alternatives to Stable Code 3B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Granite 3.0 2BopenIBMOct 20242.6B————
Qwen2.5-Coder (1.5B)openAlibaba (Qwen)Sep 20241.5B———89.1
OpenELM-3BopenAppleMay 20243B————
MiniCPM-3-4BopenZhipu AI (Z.ai)Jun 20244B————
Qwen2.5-Coder (7B)openAlibaba (Qwen)Sep 20247.6B———107.4
Phi-2openMicrosoftDec 20232.8B———96.2
OpenELM-1.1BopenAppleMay 20241.1B————
Falcon3-7BopenTechnology Innovation InstituteDec 20247.5B————

More models from Stability AI

All Stability AI models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Stable Beluga 2openJul 202370B———
Pythia-160mopenApr 2023213M———
Pythia-410mopenApr 2023506M———
Pythia-1.4bopenApr 20231.5B———
StableLM-2-1.6BopenJan 20241.6B———
stablelm-2-zephyr-1_6bopenJan 20241.6B———
Pythia-2.8bopenApr 20232.9B———
Pythia-1bopenApr 20231.1B———

Frequently asked questions

Who made Stable Code 3B?

Stable Code 3B was developed by Stability AI (United Kingdom). It was released on Jan 9, 2024.

Is Stable Code 3B open source?

Yes. Stable Code 3B's weights are publicly available under the other license on Hugging Face (stabilityai/stable-code-3b), so you can download and run it yourself.

How many parameters does Stable Code 3B have?

Stable Code 3B has 2.8B parameters.

Sources: epoch, huggingface · paper · huggingface. Last updated 2026-11-22.