Stability AI
StableLM 2 12B (12B parameters) requires approximately 22.3 GB of VRAM with Q5_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 26 GB of VRAM.
Get started
— copy & paste to run locallyCopy-paste commands to run StableLM 2 12B on your machine.
Run
docker run --rm -it ghcr.io/ggerganov/llama.cpp:full \
--hf-repo "stabilityai/stablelm-2-12b-chat" \
--hf-file "stablelm-2-12b-chat-Q5_K_M.gguf" \
-c 4096 -ngl 99Quick specs
About this model
Quick picks
Best hardware
Run this model
Quantization options
No hardware detected — fit column shows raw VRAM estimates
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 4.7 GB | Low | — |
Q3_K_S | 3 | 5.9 GB | Low | — |
NVFP4 | 4 | 6.7 GB | Medium | — |
Q4_K_M | 4 | 7.3 GB | Medium | — |
Q5_K_M | 5 | 8.6 GB | High | — |
Q6_K | 6 | 9.8 GB | High | — |
Q8_0 | 8 | 12.8 GB | Very High | — |
F16 | 16 | 24.6 GB | Maximum | — |
Quality benchmarks
Reasoning
General
Source: official · 2024-02-01
Hardware compatibility
Computing compatibility...
Memory breakdown
Frequently asked questions
StableLM 2 12B (12B parameters) requires approximately 22.3 GB of VRAM with Q5_K_M quantization. Lower quantizations like Q4_K_M use less memory but may reduce quality.
Yes, Mac mini M4 64GB can run StableLM 2 12B with a compatibility score of 47/100. It provides 64 GB of memory and achieves approximately 8.2 tokens per second.
The recommended quantization for StableLM 2 12B is Q5_K_M, which offers the best balance between model quality and memory efficiency. Higher quantizations preserve more quality but require more VRAM.
The top recommended hardware for StableLM 2 12B: RTX 5090 32GB (score: 57/100), RTX PRO 4500 Blackwell 32GB (score: 56/100), AMD Instinct MI100 32GB (score: 56/100). These provide the best combination of memory, bandwidth, and compute for running this model locally.
Yes, StableLM 2 12B is well-suited for chat as well as general. It was designed with these use cases in mind.
See also