← CanIRunLocal · All hardware · All models

Can Ling-3.1-flash 560B-A25B (MoE) Run on Mac Studio M5 Ultra (80c GPU) 512GB?

Ling-3.1-flash 560B-A25B (MoE) at Q4_K_M on Mac Studio M5 Ultra (80c GPU) 512GB: 360.3 GB needed versus 384.0 GB usable; try ollama run hf.co/bartowski/Ling-3.1-flash-GGUF:Q4_K_M.

Yes. Ling-3.1-flash 560B-A25B (MoE) fits in fast memory on Mac Studio M5 Ultra (80c GPU) 512GB at Q4_K_M (360.3 GB needed, 384.0 GB usable), about 30 tok/s (estimate).

Hardware: Mac Studio M5 Ultra (80c GPU) 512GB · Model: Ling-3.1-flash 560B-A25B (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. Ling-3.1-flash 560B-A25B (MoE) (560B, 25B active, inclusionAI) at Q4_K_M is a 357.97 GB download and needs 360.3 GB with headroom for about 8k tokens.

Best quantQ4_K_M
Download size357.97 GB
Memory needed360.3 GB
Usable fast memory384.0 GB
Fitfits in fast memory
Estimated speed~30 tok/s (estimate)
Commandollama run hf.co/bartowski/Ling-3.1-flash-GGUF:Q4_K_M

Memory breakdown

Weights at Q4_K_M357.97 GB
Context / KV cache (~8k tokens)2.35 GB
Total needed360.3 GB
Usable unified memory384.0 GB
Headroom23.7 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.

Safe context length

About 90,739 tokens (estimate). 8,192 × (26.03 GB left after the weights ÷ 2.35 GB for about 8,192 tokens). The model allows up to 1,024,000 tokens (1000K). This scales the checker's context allowance. It is not a measured run.

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_0608.38 GBno—
Q5_K_M436.32 GBtight~25
Q4_K_M picked357.97 GByes~30
Q4_0326.64 GByes~33
Open Mac Studio M5 Ultra (80c GPU) 512GB 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