Skip to content
Updated minutes ago
Stability

StableLM 2 12B

Stability AI · dense · 12.1B parameters · 4,096 context

Quality
50.0

Architecture Details

TypeDENSE
Total Parameters12.1B
Active Parameters12.1B
Layers40
Hidden Dimension5,120
Attention Heads32
KV Heads8
Head Dimension160
Vocab Size100,352

Memory Requirements

BF16 Weights

24.2 GB

FP8 Weights

12.1 GB

INT4 Weights

6.0 GB

KV-Cache per Token204800 bytes
Activation Estimate1.00 GB

Fits on (single-node)

B200 SXM BF16B100 SXM BF16GB200 NVL72 (per GPU) BF16GB300 NVL72 (per GPU) BF16H200 SXM BF16H100 SXM BF16H100 PCIe BF16H100 NVL BF16

GPU Recommendations

A100 40GB SXMoptimal

BF16 · 1 GPU · vllm

95/100

score

Throughput

312.3 tok/s

Cost/Month

$807

Cost/M Tokens

$0.98

Use this config →
RTX A6000optimal

BF16 · 1 GPU · vllm

95/100

score

Throughput

154.2 tok/s

Cost/Month

$465

Cost/M Tokens

$1.15

Use this config →
A40optimal

BF16 · 1 GPU · vllm

95/100

score

Throughput

139.8 tok/s

Cost/Month

$399

Cost/M Tokens

$1.09

Use this config →

API Pricing Comparison

ProviderInput $/MOutput $/MBadges
stabilityai$0.25$0.25
Cheapest

Capabilities

Features

Tool Use Vision Code Math Reasoning Multilingual Structured Output

Supported Frameworks

vllmsglangtgiollama

Supported Precisions

BF16 (default)FP8INT4

Similar Models