Skip to content
AI Dev Toolkit.
Esc
  • Loading…

VRAM · Local model

Llama 4 Scout VRAM requirements: can you run it locally?

Not on one consumer GPU: at Q4_K_M and an 8K context it needs about 70 GB, so you need 3 × 24 GB cards, a 96 GB Mac or CPU+GPU offload with 70 GB of combined memory. Estimates from the model’s official config.json, checked 2026-10-08.

Parameters
108.6B
Layers
48
Max context
10,485,760
Experts
16 (1 active)

Attention: 12 full-attention layers, 36 chunked-attention layers (8,192-token chunks).

Requirements

How much VRAM does Llama 4 Scout need?

Quantisation8K context32K context128K context256K context
FP16 / BF16224 GB225 GB230 GB237 GB
Q8_0 (8-bit)120 GB121 GB126 GB133 GB
Q6_K93 GB94 GB99 GB106 GB
Q5_K_M81 GB82 GB87 GB94 GB
Q4_K_M70 GB71 GB76 GB82 GB
Q3_K_M57 GB59 GB63 GB70 GB
Q2_K46 GB47 GB52 GB58 GB

Weights + FP16 KV cache + overhead, batch 1; the VRAM calculator shows the formula.

GPUs

Which GPUs can run Llama 4 Scout?

MemoryExample cardBest quality at 8KLongest context at that qualityLongest context at Q4_K_M
8 GBGeForce RTX 4060Doesn’t fit——
12 GBGeForce RTX 5070Doesn’t fit——
16 GBGeForce RTX 5080Doesn’t fit——
24 GBRadeon RX 7900 XTXDoesn’t fit——
32 GBGeForce RTX 5090Doesn’t fit——
48 GBL40SQ2_K · 46 GB54K—
80 GBH100 80GBQ4_K_M · 70 GB208K208K
96 GBRTX PRO 6000 BlackwellQ6_K · 93 GB67K518K

The smallest card that holds Llama 4 Scout at Q4_K_M with an 8K context has 80 GB, such as the H100 80GB; there it has room for about 208K tokens. Every extra gigabyte goes to context: on a 96 GB card the limit rises to 518K. No single card here holds it at 8-bit (120 GB) or at full precision (224 GB). Cards with 8, 12, 16, 24 and 32 GB can’t hold it at any quantisation with an 8K context; the smallest file, Q2_K, needs about 46 GB. Split across several cards (llama.cpp and vLLM both do this), it needs 3 × 24 GB, 3 × 32 GB or one 80 GB card at Q4_K_M.

Apple Silicon

Can you run Llama 4 Scout on a Mac?

Mac memoryGPU can useBest quality at 8KLongest context
16 GB11 GBDoesn’t fit—
24 GB16 GBDoesn’t fit—
32 GB21 GBDoesn’t fit—
36 GB27 GBDoesn’t fit—
48 GB36 GBDoesn’t fit—
64 GB48 GBQ2_K · 46 GB54K
96 GB72 GBQ4_K_M · 70 GB52K
128 GB96 GBQ6_K · 93 GB67K
192 GB144 GBQ8_0 (8-bit) · 120 GB475K
256 GB192 GBQ8_0 (8-bit) · 120 GB1.4M
512 GB384 GBFP16 / BF16 · 224 GB3M

At Q4_K_M and an 8K context, Llama 4 Scout needs a Mac with at least 96 GB of unified memory; 8-bit needs 192 GB and full precision needs 512 GB. By default macOS lets the GPU use about two thirds of memory on Macs with 32 GB or less and about three quarters on larger ones; the table uses that limit. You can raise it with sudo sysctl iogpu.wired_limit_mb, leaving at least 8 GB for macOS.

Context

How much memory does Llama 4 Scout’s context use?

ContextKV cache, FP16KV cache, 8-bitTotal at Q4_K_M
8,1921.5 GB0.8 GB70 GB
32,7682.6 GB1.4 GB71 GB
131,0727.1 GB3.8 GB76 GB
262,14413 GB7.0 GB82 GB
1,048,57649 GB26 GB122 GB
10,485,760481 GB256 GB597 GB

Llama 4 Scout’s FP16 cache grows by about 47 MB for every 1,000 tokens once its windowed layers are full. At 8K tokens that is 1.5 GB, 2% of the total at Q4_K_M; at its full 10,485,760-token context it is 481 GB, 7.8× the size of the 62 GB of Q4_K_M weights. 36 of its 48 layers attend within 8,192-token chunks, so their cache stops growing at 8,192 tokens; only the other 12 layers grow with the whole context. On 3 × 24 GB cards (72 GB) at Q4_K_M, the longest context is about 52K tokens with an FP16 cache and 120K with an 8-bit (q8_0) cache.

Download

How big is the Llama 4 Scout download?

GGUF quantisationBits per weightApproximate size
FP16 / BF1616.00202 GB
Q8_0 (8-bit)8.50108 GB
Q6_K6.5683 GB
Q5_K_M5.7072 GB
Q4_K_M4.8962 GB
Q3_K_M4.0051 GB
Q2_K3.1640 GB

A 108.6B-parameter model takes about 62 GB of disk at Q4_K_M and 202 GB as 16-bit weights, so the quantised file saves about 141 GB. Sizes are parameters × bits per weight; real GGUF files differ by a few per cent because some tensors stay at higher precision.

Offload

Can you run Llama 4 Scout with less VRAM by offloading to RAM?

GPU VRAMIn system RAMRAM to have
8 GB62 GB64 GB
16 GB54 GB64 GB
24 GB46 GB64 GB

Yes: llama.cpp can keep part of Llama 4 Scout in system RAM and run it on the CPU, so the GPU and RAM together need about 70 GB at Q4_K_M and an 8K context. On an 8 GB card that leaves 62 GB in RAM. Because only 1 of its 16 experts runs for each token, the usual approach is to keep attention and shared layers on the GPU and move expert weights to RAM with --n-cpu-moe or -ot; each token then reads only a small part of what sits in RAM, so speed drops less than it would for a dense model of 108.6B parameters.

Compare

How does Llama 4 Scout compare with other Llama models?

ModelParametersTypeQ4 at 8KSmallest GPUContext on 24 GB
Llama 3.2 3B3.2BDense3.7 GB8 GB128K
Llama 3.1 8B8.0BDense6.6 GB8 GB128K
Llama 3.3 70B70.6BDense47 GBNone—
Llama 4 Scout108.6BMoE70 GBNone—

Llama 4 Scout is number 4 by size of the 4 Llama models we cover. The next smaller, Llama 3.3 70B, needs about 47 GB at Q4 with an 8K context.

FAQ

Frequently asked questions

How much VRAM does Llama 4 Scout need?

With an 8K context, about 70 GB at Q4_K_M, 120 GB at 8-bit (Q8_0) and 224 GB at full 16-bit precision. That covers the weights, the KV cache and runtime overhead.

Can Llama 4 Scout run on a 24 GB GPU like the RTX 4090?

Not on one card: even Q2_K needs about 46 GB. At Q4_K_M you need 3 × 24 GB cards.

Can I run Llama 4 Scout on a Mac?

Yes: at Q4_K_M and an 8K context it fits a Mac with 96 GB of unified memory using macOS’s default GPU memory limit (about 72 GB for the GPU).

Why does Llama 4 Scout need so much memory if only 1 experts are active?

Each token uses 1 of its 16 experts, but a different set for every token, so all 108.6B parameters must stay loaded: about 62 GB of weights at Q4_K_M. The active experts make it fast, not small.

Can I run Llama 4 Scout with only 24 GB of VRAM by using system RAM?

Yes, with CPU+GPU offload in llama.cpp: about 46 GB of it goes in system RAM, so you need 64 GB of RAM or more. Generation is slower than fully on the GPU, though less so for a mixture-of-experts model.

How big is the Llama 4 Scout download?

About 62 GB for a Q4_K_M GGUF, 108 GB at Q8_0 and 202 GB for the 16-bit weights.

Related

Try other settings in the VRAM calculator

Updated 2026-10-08

Architecture from config.json (a public copy of meta-llama/Llama-4-Scout-17B-16E-Instruct); parameter count from the published weights; bits per weight from llama.cpp. GPU memory sizes from NVIDIA and AMD product pages.

Keep exploring