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

Llama 3.3 70B Instruct: VRAM nach Quantisierung und Kontext

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

70.6B parameters 42.4 GB at Q4_K_M 80 layers 8 KV heads
Architektur
Parameters70.6BVendor model card
Layers80config.json
Hidden size8192config.json
Attention heads64config.json
KV heads8config.json (GQA)
Head dim128config.json
Max context131072 tokensconfig.json

Source: Meta Llama 3 architecture (published); repo gated

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
141.2 GB2.7 GB145.4 GBNein
INT8 / Q8_0
1.06 B/param
74.8 GB2.7 GB79.0 GBMac Studio M4 Max 128GB
Q4_K_M (4-bit)
0.6 B/param
42.4 GB2.7 GB46.5 GBMac Studio M4 Max 128GB
Q5_K_M (5-bit)
0.72 B/param
50.8 GB2.7 GB55.0 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.3 GB45.2 GBMac Studio M4 Max 128GB
8k2.7 GB46.5 GBMac Studio M4 Max 128GB
16k5.4 GB49.2 GBMac Studio M4 Max 128GB
32k10.7 GB54.6 GBMac Studio M4 Max 128GB
64k21.5 GB65.3 GBMac Studio M4 Max 128GB
128k42.9 GB86.8 GBMac Studio M4 Max 128GB

Fazit

At Q4_K_M the weights alone are about 42.4 GB. With 8K of context and 1.5 GB of runtime overhead it lands near 46.5 GB. It fits: 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.