Skip to content

Stable Code 3B

A 2.7 billion parameter decoder-only model for code and text

Visit official site

What Stable Code 3B is

The model is described as a decoder-only language model with 2.7 billion parameters, pre-trained on 130 billion tokens of text and code data and developed by Stability AI on the GPT-NeoX library.

What you can do with it

  • Generate text from a code snippet
  • Use fill-in-the-middle to complete code between parts
  • Work with long context sequences up to 16384

Application scenarios

  • Generate a Python code example
  • Generate a JavaScript code example
  • Try a text generation example

Model notes

  • Trained on 18 programming languages
  • Decoder-only design with 2.7 billion parameters
  • Pre-trained on 130 billion text and code tokens
  • Evaluated with BigCode tools on several programming languages

Pros & cons

✓ What we like

  • Long context sequences are part of the training setup
  • FIM lets generation work inside existing code

! What to watch out for

  • The model is decoder-only and aimed at text and code generation
  • The material names English and programming languages as usable languages

FAQ

Who developed it?

The material names Stability AI and the GPT-NeoX library.

How do I start generating text?

The material points to a code snippet on the Hugging Face site.

Last reviewed: 2026-11-15

More AI coding tools tools

View all →

How we review