AI
LocalAI Calc
VRAM und Kosten pro Token
Alibaba · Dense · GQA

Qwen3-32B: VRAM nach Quantisierung und Kontext

32.8 Mrd. Parameter, 64 Schichten, 8 KV-Heads. In Gigabyte übersetzt sieht das so aus.

32.8B parameters 19.7 GB at Q4_K_M 64 layers 8 KV heads
Architektur
Parameters32.8BVendor model card
Layers64config.json
Hidden size5120config.json
Attention heads64config.json
KV heads8config.json (GQA)
Head dim128config.json
Max context40960 tokensconfig.json

Source: Qwen/Qwen3-32B config.json

VRAM nach Quantisierung
Total includes 8K of KV cache and 1.5 GB runtime overhead.
QuantisierungWeightsKV @ 8KGesamtbedarfLäuft auf
FP16 / BF16
2.0 B/param
65.6 GB2.1 GB69.2 GBMac Studio M4 Max 128GB
INT8 / Q8_0
1.06 B/param
34.8 GB2.1 GB38.4 GBMac Studio M4 Max 128GB
Q4_K_M (4-bit)
0.6 B/param
19.7 GB2.1 GB23.3 GBMac Studio M4 Max 128GB
Q5_K_M (5-bit)
0.72 B/param
23.6 GB2.1 GB27.3 GBMac Studio M4 Max 128GB
KV-Cache nach Kontextlänge
Q4_K_M weights plus 1.5 GB overhead. KV cache at FP16.
KontextKV-CacheGesamtbedarfLäuft auf
4k1.1 GB22.3 GBMac Studio M4 Max 128GB
8k2.1 GB23.3 GBMac Studio M4 Max 128GB
16k4.3 GB25.5 GBMac Studio M4 Max 128GB
32k8.6 GB29.8 GBMac Studio M4 Max 128GB
64k17.2 GB38.4 GBMac Studio M4 Max 128GB
128k34.4 GB55.5 GBMac Studio M4 Max 128GB

Fazit

At Q4_K_M the weights alone are about 19.7 GB. With 8K of context and 1.5 GB of runtime overhead it lands near 23.3 GB. It fits: RTX 4090, RTX 3090, RTX 5090, Mac Studio M4 Max 128GB.

Zurück zum Rechner →  ·  Kostenrechner öffnen →  ·  Why 70B won't fit in 24 GB →

Durchsatzwerte sind Schätzungen aus Speicherbandbreite und veröffentlichten Messungen. VRAM-Werte folgen aus Architektur und Quantisierungsannahmen. Prüfen Sie vor dem Kauf Ihre eigene Laufzeitumgebung.