← CanIRunLocal · All hardware · All models

Can Laguna S 2.1 118B-A8B (MoE) Run on Mac Studio M5 Max (40c GPU) 128GB?

Laguna S 2.1 118B-A8B (MoE) at Q4_K_M on Mac Studio M5 Max (40c GPU) 128GB: 98.3 GB needed versus 96.0 GB usable; try ollama run laguna-s-2.1:latest.

Yes, if the Mac GPU limit is raised. Laguna S 2.1 118B-A8B (MoE) on Mac Studio M5 Max (40c GPU) 128GB at Q4_K_M needs sudo sysctl iogpu.wired_limit_mb=102708 (98.3 GB needed, 96.0 GB usable), about 37 tok/s (estimate).

Hardware: Mac Studio M5 Max (40c GPU) 128GB · Model: Laguna S 2.1 118B-A8B (MoE)

Mac Studio M5 Max (40c GPU) 128GB has 128 GB of unified memory and 614 GB/s of memory bandwidth. The checker leaves macOS a share of unified memory, so Ollama can use 96.0 GB. Laguna S 2.1 118B-A8B (MoE) (117.56B, 8B active, Poolside) at Q4_K_M is a 96 GB download and needs 98.3 GB with headroom for about 8k tokens.

Best quantQ4_K_M
Download size96 GB
Memory needed98.3 GB
Usable fast memory96.0 GB
Fitfits if the Mac GPU limit is raised
Estimated speed~37 tok/s (estimate)
Mac GPU limitsudo sysctl iogpu.wired_limit_mb=102708
Commandollama run laguna-s-2.1:latest

Memory breakdown

Weights at Q4_K_M96 GB
Context / KV cache (~8k tokens)2.35 GB
Total needed98.3 GB
Usable unified memory96.0 GB
Headroom2.3 GB over

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.

Safe context length

The Q4_K_M weights (96 GB) are larger than the 96.0 GB of usable memory, so this page does not estimate a safe context length in fast memory.

Quants

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

QuantSizeFitsEst. tok/s
Q8_0128 GBno—
Q4_K_M picked96 GBtight~37
Open Mac Studio M5 Max (40c GPU) 128GB in the checker

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