Llama 4 Scout (109B / 17B-16E MoE) — VRAM-Anforderungen, Quantisierungsmatrix & GPU-Leitfaden

Llama 4 Scout (109B / 17B-16E MoE) (Meta Llama, Llama 4 Community) nutzt eine Mixture-of-Experts-Modell (MoE)-Architektur mit 109B residenten Parametern (17.2B aktiv pro Token), 48 Schichten und Hybride Sliding-Window-Attention (SWA) für bis zu 10,485,760 Kontext-Tokens.

Interaktiver Speicher- & Kontextsimulator für Llama 4 Scout (109B / 17B-16E MoE)

32,768 Tokens

Speicheraufschlüsselung & Bandbreitenlimit

Knapp (>90 % nutzbar)
Modellgewichte: 91.6% KV: 3.9% Overhead: 4.5%
Gesamter Speicherbedarf
67.22 GB
Belegung pro Gerät: 67.22 GB
Modellgewichte
61.54 GB
KV-Cache (FP16): 2.63 GB
Gesch. Einzelstream-Decode
102.0 tok/s
Runtime- & TP-Overhead: 3.05 GB
Max. Kontext vor OOM
68,598
Tokens

Architekturbedingte KV-Komprimierung spart 91.3 % gegenüber naiver MHA FP16 (30.00 GB).

Präzisions- & Quantisierungs-VRAM-Matrix (8K / 32K / 128K Kontext)

Gesamter GPU-Speicherbedarf nach Gewichtspräzision und Kontextlänge (Batch = 1, FP16-KV-Cache)
Präzision / Format Effektive bpw Nur Gewichte Gesamt @ 8K Gesamt @ 32K Gesamt @ 128K Empfohlene Klasse (@ 32K)
FP16 / BF16 16.00 bpw 203.03 GB 211.82 GB 212.95 GB 217.45 GB Mac Studio 512GB
FP8 8.50 bpw 107.86 GB 113.80 GB 114.92 GB 119.42 GB NVIDIA H200 141GB
Q8_0 8.50 bpw 107.86 GB 113.80 GB 114.92 GB 119.42 GB NVIDIA H200 141GB
Q6_K 6.56 bpw 83.24 GB 88.44 GB 89.57 GB 94.07 GB RTX PRO 6000 96GB
Q5_K_M 5.69 bpw 72.20 GB 77.07 GB 78.20 GB 82.70 GB RTX PRO 6000 96GB
Q4_K_M 4.85 bpw 61.54 GB 66.09 GB 67.22 GB 71.72 GB NVIDIA A100 80GB
AWQ INT4 4.50 bpw 57.10 GB 61.52 GB 62.64 GB 67.14 GB NVIDIA A100 80GB
IQ4_XS 4.25 bpw 53.93 GB 58.25 GB 59.37 GB 63.87 GB NVIDIA A100 80GB

Hardware-Kompatibilität & Decode-Geschwindigkeit (Llama 4 Scout (109B / 17B-16E MoE) @ Q4_K_M, 32K Kontext)

Passstatus, Speicherauslastung und geschätzter Decode-Durchsatz auf führenden GPUs und Apple Silicon
Hardware-Klasse Speicher & Bandbreite Benötigt (32K) Bewertung Gesch. Decode-Rate
RTX 3090 24GB 24 GB · 936 GB/s 67.22 GB (280%) Zu wenig Speicher (OOM) —
RTX 4090 24GB 24 GB · 1008 GB/s 67.22 GB (280%) Zu wenig Speicher (OOM) —
RTX 5090 32GB 32 GB · 1792 GB/s 67.22 GB (210%) Zu wenig Speicher (OOM) —
Apple M-Max 64GB 64 GB · 546 GB/s 65.95 GB (103%) Zu wenig Speicher (OOM) —
Mac Studio 128GB 128 GB · 546 GB/s 65.95 GB (52%) Passt komfortabel 24.3 tok/s
Mac Studio 192GB 192 GB · 800 GB/s 65.95 GB (34%) Passt komfortabel 35.6 tok/s
NVIDIA A100 80GB 80 GB · 2039 GB/s 67.22 GB (84%) Knapp (>90 % nutzbar) 102.0 tok/s
NVIDIA H100 80GB 80 GB · 3350 GB/s 67.22 GB (84%) Knapp (>90 % nutzbar) 167.5 tok/s

Geprüfte Transformer-Architekturparameter

Checkpoint ID
meta-llama/Llama-4-Scout-17B-16E-Instruct
Ollama Tag
llama4:scout
License / Release
Llama 4 Community · 2025-Q2
Topologie & Attention
Mixture-of-Experts-Modell (MoE)
Aufmerksamkeitsmechanismus
Hybride Sliding-Window-Attention (SWA)
Gesamtparameter (Mrd.)
109B
Aktive Parameter / Token (Mrd.)
17.2B
Verborgene Schichten / Hidden-Dimension
48 / 5120
Query-Heads / KV-Heads
40Q / 8KV (d=128)
Sliding Window
8192 (75% local)
MoE Routed Experts
1 active / 16 total
Vocab / Max Position
202,048 / 10,485,760

Quantisierte Formate speichern blockweise Skalierungsfaktoren und Nullpunkte neben gepackten Ganzzahlgewichten. Ein 4-Bit-GGUF-Checkpoint in Q4_K_M benötigt im Schnitt 4.85 effektive Bits pro Parameter (nicht 4.00), während Q8_0 bei 8.50 bpw liegt. Bei Mixture-of-Experts-Modellen bleiben sämtliche gerouteten und geteilten Experten im Speicher resident, um Host-Paging bei jedem Token zu verhindern.

Standard-Grouped-Query-Attention reserviert über alle Schichten hinweg 2 × L × H_kv × d_head × S × B × bytes_kv. DeepSeek Multi-head Latent Attention (MLA) komprimiert Keys und Values auf L × (d_kv_lora + d_qk_rope) × S × B × bytes_kv und senkt den Speicherbedarf langer Kontexte um über 90 %. Hybride Sliding-Window-Modelle deckeln lokale Schichten bei min(S, window_size), während globale Schichten linear mit S wachsen.

Schnellstart-Befehle für vLLM & Ollama (Llama 4 Scout (109B / 17B-16E MoE))

vLLM CLI (NVIDIA A100 80GB)
vllm serve meta-llama/Llama-4-Scout-17B-16E-Instruct \
  --tensor-parallel-size 1 \
  --max-model-len 32768 \
  --max-num-seqs 8 \
  --gpu-memory-utilization 0.95 \
  --kv-cache-dtype fp8 \
  --enable-prefix-caching \
  --port 8000
Ollama Modelfile
# Save as Modelfile, then run: ollama create llama-4-scout-custom -f Modelfile
FROM llama4:scout
PARAMETER num_ctx 32768
PARAMETER num_batch 512
PARAMETER flash_attn true

# Environment variables for ollama serve:
# OLLAMA_NUM_PARALLEL=8 OLLAMA_FLASH_ATTENTION=1 OLLAMA_KV_CACHE_TYPE=q8_0 ollama serve

Verwandte & ähnlich große Open-Weight-Modelle vergleichen