Skip to content
E
Educatum
Meta MoE + GQAVerified meta-llama/Llama-4-Scout-17B-16E-Instruct config.json

Llama 4 Scout (109B/17B) VRAM & GPU Requirements Calculator

Llama 4 Scout (109B/17B) requires 203.0 GiB in FP16, 101.5 GiB in FP8, and 61.9 GiB in GGUF Q4_K_M for weights alone (109B total / 17B active MoE (16 experts) · GQA 40Q/8KV). At 8K context (batch=1, FP16 KV), KV-cache adds 1.50 GiB (5.0× smaller than MHA).

FP16 Inference (8K)
212.2 GiB
203.0 GiB weights
FP8 Weights + FP8 KV
109.9 GiB
101.5 GiB weights
GGUF Q4_K_M (8K)
71.1 GiB
61.9 GiB weights
32K KV-Cache (FP16)
6.00 GiB
5.0× vs MHA

Can Your GPU or Mac Run Llama-4 Scout? (8K Context, Batch=1)

Pre-computed fit verdict and estimated decode speed across RTX 4090/3090, Apple Silicon Unified Memory, and NVIDIA H100 clusters.

Hardware RigQ4_K_M (71.1 GiB)FP8 (109.9 GiB)FP16 (212.2 GiB)
1× RTX 4090 (23.9 GiB usable)OOM (-41G)OOM (-80G)OOM (-182G)
2× RTX 4090 / 3090 (47.8 GiB usable)OOM (-19G)OOM (-58G)OOM (-160G)
Apple M4 Max (128 GiB Unified · 96 GiB GPU)FIT · ~33 tok/sOOM (-8G)OOM (-110G)
Apple M3 Ultra (256 GiB Unified · 192 GiB GPU)FIT · ~49 tok/sFIT · ~33 tok/sOOM (-14G)
1× H100 SXM (79.6 GiB usable)FIT · ~218 tok/sOOM (-24G)OOM (-126G)
4× H100 SXM (318.4 GiB usable)FIT · ~150 tok/sFIT · ~137 tok/sFIT · ~108 tok/s
8× H100 SXM (636.8 GiB usable)FIT · ~114 tok/sFIT · ~110 tok/sFIT · ~99 tok/s
8× H200 SXM (1,123.2 GiB usable)FIT · ~117 tok/sFIT · ~114 tok/sFIT · ~105 tok/s

Interactive Llama-4 Scout VRAM & Roofline Simulator

1. Model & Workload

GQA · 109B/17B MoE

109B total / 17B active MoE (16 experts) · GQA 40Q/8KV

Execution Mode
Weight Precision (Datacenter & GGUF)
KV:
8,192 tok
1 reqs

2. Target GPU / Mac Silicon

318.4 GiB Usable · 11.79 TB/s eff.
GPU Count (Tensor Parallel)
FITS IN VRAM (+207.7 GiB headroom)
110.7 / 318.4 GiB usable (35%)

Decode is HBM-bandwidth bound (1.8 vs 591 FLOPs/B ridge): increasing batch size improves cluster tok/s nearly linearly.

Total VRAM
110.7 GiB
Weights 101.5 GiB (FP8)
KV-Cache
1.5 GiB
5.0× vs MHA
Decode / User
~135.1 tok/s
HBM Bound
Cluster Output
~135 tok/s
AI 1.8 FLOP/B

VRAM Allocation vs. Hardware Capacity

Binary GiB (1 GiB = 2³⁰ B) · Usable VRAM excludes ECC/OS & per-GPU CUDA/NCCL buffers

Dashed line = Usable VRAM
Used: 110.7 GiB · Usable: 318.4 GiB (35%) 318.4 GiB Usable Weights: 101.5 GiBKV-Cache: 1.5 GiBAct + CUDA: 7.7 GiB educatum.com/kv-cache

Decode Arithmetic Intensity Roofline

AI 1.8 vs Ridge 591 FLOPs/B
1416642561024 Ridge: 591 FLOPs/B · 6966 TFLOPS Memory-Bandwidth Bound (1.8 FLOP/B) Arithmetic Intensity (FLOPs / Byte, log scale) educatum.com/kv-cache
Canonical URL stays clean; click Copy Shareable Link to share your exact slider config.
Llama-4 Scout (109B MoE / 17B Active) · KV_tok = 2 × 48L × 8 KV heads × 128d × 2B = 192.0 KiB/tok (5.0× vs MHA)
Decode Step Read: 15.8 GiB active weights + 1.50 GiB KV-cache → AI = 1.83 FLOPs/Byte (Memory-Bandwidth Bound; BW in decimal GB/s)

Compare Other LLM VRAM Requirements

All 14 Models →

Frequently Asked Questions

Can 1× or 2× RTX 4090 (24 GiB / 48 GiB) run Llama 4 Scout (109B/17B)?

At 8K context (batch=1) in GGUF Q4_K_M, Llama 4 Scout (109B/17B) needs 71.1 GiB total VRAM including CUDA runtime overhead (61.9 GiB weights). Single 23.9 GiB usable RTX 4090: OOM without CPU offload. Dual 47.8 GiB usable (2× 4090/3090): Exceeds 47.8 GiB usable VRAM.

Can an Apple M4 Max (128 GiB) Mac Studio / MacBook Pro run Llama 4 Scout (109B/17B)?

An Apple M4 Max 128 GiB reserves 96 GiB wired GPU memory by default. In GGUF Q4_K_M (71.1 GiB needed at 8K), it fits on M4 Max 128 GiB at ~32.8 tok/s.

How much KV-cache does Llama 4 Scout (109B/17B) use at 32K context?

Llama 4 Scout (109B/17B) uses GQA, giving a 5.0× KV-cache reduction vs standard MHA. At 32,768 context (batch=1, FP16 KV), KV-cache occupies 6.00 GiB.

Try keywords like RoPE, FlashAttention, DPO, or Blind 75.