No — not on this device

Llama 4 Scout 109B-A17B at Q4_K_M needs 63.4 GB against 24.0 GB usable, and the shortfall of 39.4 GB is more than 32 GB of system RAM can cover at a tolerable speed. A smaller sibling or a lower quantisation is the honest answer here.

Does not fit 8K context Q4_K_M · 61.3 GB Llama 4 Community Released 5 Apr 2025 Vision

A 10M-token window on paper, chunked attention in practice (8K chunks on 3 of 4 layers). Needs 64 GB+ at Q4.

What hardware do I need for Llama 4 Scout 109B-A17B? →

Fits instead: Llama 3.1 8B Instruct (6.1 GB) · Llama 3.2 3B Instruct (3.3 GB)

The VRAM budget

weights 61.3 GB
Weights 61.3 GB KV cache @ 8K 1.50 GB Runtime overhead 0.6 GB Over budget 39.4 GB past 24.0 GB

Quantisation ladder

QuantWeightsTotal @ 8KMax contextTok/sQualityFit
Q8_0 107.9 GB 110.0 GB ~3.1 −0.1% ppl 86.0 GB over
Q6_K 83.2 GB 85.3 GB ~4.0 −0.4% ppl 61.3 GB over
Q5_K_M 71.9 GB 74.0 GB ~4.6 −0.8% ppl 50.0 GB over
Q4_K_M 61.3 GB 63.4 GB ~5.5 −1.9% ppl 39.4 GB over
Q3_K_M 49.6 GB 51.7 GB ~6.7 −5.4% ppl 27.7 GB over
Q2_K 42.5 GB 44.6 GB ~7.9 −15% ppl 20.6 GB over

Quality is the published perplexity delta against f16 weights. Max context assumes an f16 KV cache; q8_0 roughly doubles it. This model interleaves sliding-window layers (8192 tokens, 12 of 48 layers global), which is why its cache barely grows with context.

How to run it

terminal
$ pip install mlx-lm
$ mlx_lm.generate --model mlx-community/Llama-4-Scout-17B-16E-Instruct-4bit \
    --max-tokens 512 --prompt "Hello"

Apple's own array framework. The fastest path on Apple Silicon. More on MLX.

01Download is 61.3 GB. Keep it on an SSD — a first load off a spinning disk takes minutes.
02macOS caps what the GPU may wire down at about 24.0 GB of 32 GB. Raising it with iogpu.wired_limit_mb is possible, and risky.
03If it falls back to CPU silently, drop the context first, then step down a quantisation.
See all models for this rig Compare with another model