← CanIRunLocal · All hardware · All models
Llama 4 Scout 109B (MoE) at Q4_K_M on Mac Studio M5 Ultra (80c GPU) 512GB: 69.7 GB needed versus 384.0 GB usable; try ollama run llama4:16x17b.
Yes. Llama 4 Scout 109B (MoE) fits in fast memory on Mac Studio M5 Ultra (80c GPU) 512GB at Q4_K_M (69.7 GB needed, 384.0 GB usable), about 44 tok/s (estimate).
Hardware: Mac Studio M5 Ultra (80c GPU) 512GB · Model: Llama 4 Scout 109B (MoE)
Mac Studio M5 Ultra (80c GPU) 512GB has 512 GB of unified memory and 1200 GB/s of memory bandwidth. The checker leaves macOS a share of unified memory, so Ollama can use 384.0 GB. Llama 4 Scout 109B (MoE) (109B, 17B active, Meta) at Q4_K_M is a 67 GB download and needs 69.7 GB with headroom for about 8k tokens.
| Best quant | Q4_K_M |
|---|---|
| Download size | 67 GB |
| Memory needed | 69.7 GB |
| Usable fast memory | 384.0 GB |
| Fit | fits in fast memory |
| Estimated speed | ~44 tok/s (estimate) |
| Command | ollama run llama4:16x17b |
| Weights at Q4_K_M | 67 GB |
|---|---|
| Context / KV cache (~8k tokens and one image) | 2.7 GB |
| Total needed | 69.7 GB |
| Usable unified memory | 384.0 GB |
| Headroom | 314.3 GB left |
Weights are the listed download size. The context line is the checker's allowance for about 8,192 tokens, not a measured KV cache. Total needed rounds that sum to 0.1 GB.
About 961,801 tokens (estimate). 8,192 × (317 GB left after the weights ÷ 2.7 GB for about 8,192 tokens). The model allows up to 10,240,000 tokens (10000K). This scales the checker's context allowance. It is not a measured run.
Every quant this checker lists for the command below. Yes fits in fast memory with at least 1 GB spare. Tight means under 1 GB spare, partial offload, or a raised Mac GPU limit. Speeds are estimates from memory bandwidth, not measured benchmarks. How we estimate
| Quant | Size | Fits | Est. tok/s |
|---|---|---|---|
| Q4_K_M picked | 67 GB | yes | ~44 |
Tip: pair it with a small draft model for 1.1–1.5× faster replies with identical output, e.g. mlx_lm.generate --model mlx-community/Llama-4-Scout-17B-16E-Instruct-4bit --draft-model mlx-community/Qwen2.5-0.5B-Instruct-4bit. The draft must share the tokenizer. Measured on an M4: Qwen 2.5 3B 1.24–1.48×, 7B 1.13–1.19×.
Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Speeds are for short chats. Long conversations (around 8k tokens) run about 10–15% slower because the model rereads its memory of the chat for every word. How we estimate. Data updated 2026-11-25.
A project by OnDevice Labs · llms.txt · How we estimate