Stability AI · Stable LM 2 12B Vol 01 · No 01 · 2026
Index/ Stability AI/ Stable LM 2 12B

Stable LM 2 12B

Stability AI · Stable LM
Open-weights Legacy

Historical; Stability pivoted away from text models.

At a glance Core facts

Access
Open-weights
License
Stability AI Community
Family
Stable LM
Modalities
text
Context (in)
4K
Context (out)
4K
Training cutoff
2023-12-01
Reasoning mode
No

Performance signature Against the field

This model Field range (min → max) Field median
mmlu
61.4 / 100 #21 of 23 reporting
61.4 58 med 84 90
arc challenge
59.7 / 100 #1 of 1 reporting
59.7 59.7 med 59.7 59.7

Each row compares this model’s reported score to every other model in the index that reported the same benchmark. Numbers are vendor-reported; rank and percentile are computed across the catalog, not across the field at large.

Run it 6 engines

ServingvLLM Desktop GUILM Studio MacMLX CPU-onlyllama.cpp AgentsOllama ResearchTransformers
vLLM What production uses to serve this model.
Guide
OpenAI-compatible server. CUDA box, A100 / H100 class for 70B+. The pick for any call you need to answer at token-rate.
pip install vllm
vllm serve stabilityai/stablelm-2-12b
Hugging Face Transformers The reference implementation. Slow, correct, portable.
Guide
Not the fastest. The one every research paper assumes you have installed. Works anywhere PyTorch does.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("stabilityai/stablelm-2-12b")
tok   = AutoTokenizer.from_pretrained("stabilityai/stablelm-2-12b")
Hugging Face Transformers Docs ↗ →
LM Studio If you do not want a terminal, start here.
Guide
Mac, Windows, Linux. Paste the repo id, pick a quant from the drop-down, press play. The quietest install path.
lms get stabilityai/stablelm-2-12b
LM Studio Download ↗ →
llama.cpp No GPU? This still runs — and runs fast.
Guide
Pure C++, GGUF. Community packagers (bartowski, mradermacher) keep the quants current. The reason most laptops can host a 7B at readable speed.
# search for GGUF quants of stabilityai/stablelm-2-12b
./llama-cli -m model.Q4_K_M.gguf -p "Hello"
llama.cpp GitHub ↗ →
Ollama One command and the model is serving OpenAI-compatible.
Guide
The agent-era default on developer machines. Library skews toward the popular; check before you assume this model is in it.
# if listed:
ollama run stable-lm-2-12b
MLX The Mac answer. Uses the chip you already paid for.
Guide
Native on M-series. mlx-community mirrors the popular opens with 4-bit quants ready to go. The fastest path on Apple Silicon by a wide margin.
pip install mlx-lm
mlx_lm.generate --model mlx-community/stable-lm-2-12b-4bit --prompt "Hello"

Quantization & VRAM Approximate

Format
VRAM needed
Quality note
FP16
26.0 GB
Reference. No quality loss.
Q8_0
14.0 GB
Imperceptible loss on most tasks.
Q6_K
11.0 GB
Minor loss; still near-reference.
Q5_K_M
9.4 GB
Small quality drop; good VRAM trade.
Q4_K_M
8.0 GB
The practical default. Noticeable only on hard reasoning.
Q3_K_M
6.6 GB
Visible quality drop on long outputs.
Q2_K
5.2 GB
Last-resort fit; use only if nothing else loads.

Numbers are the model weights plus ~2 GB of overhead for KV cache at modest context. Long contexts raise this substantially; MoE models load all experts even when only the active count runs per token.

Lifecycle & future Long-term support

Status
legacy Stability moved on from text models.

Weights remain available at the links above as long as the hosting provider keeps them online. Community mirrors and fine-tunes typically outlast the maker’s own support window — open-weight models have no forced end-of-life.

Sponsored · Ad slot · 300×250 rectangle

Related models