← CanIRunLocal · All hardware · All models

Can DeepSeek V4.1 Flash 763B-A16B (MoE) Run on Mac Studio M5 Ultra (64c GPU) 256GB?

DeepSeek V4.1 Flash 763B-A16B (MoE) at IQ1_M on Mac Studio M5 Ultra (64c GPU) 256GB: 234 GB needed versus 192.0 GB usable.

Yes, if the Mac GPU limit is raised. DeepSeek V4.1 Flash 763B-A16B (MoE) on Mac Studio M5 Ultra (64c GPU) 256GB at IQ1_M needs sudo sysctl iogpu.wired_limit_mb=241664 (234 GB needed, 192.0 GB usable), about 87 tok/s (estimate).

Hardware: Mac Studio M5 Ultra (64c GPU) 256GB · Model: DeepSeek V4.1 Flash 763B-A16B (MoE)

Mac Studio M5 Ultra (64c GPU) 256GB has 256 GB of unified memory and 1200 GB/s of memory bandwidth. Mac Studio M5 Ultra (80c GPU) 256GB has the same memory and bandwidth, so the fit numbers match; this page is Mac Studio M5 Ultra (64c GPU) 256GB. The checker leaves macOS a share of unified memory, so llama.cpp can use 192.0 GB. DeepSeek V4.1 Flash 763B-A16B (MoE) (763.2B, 16B active, DeepSeek) at IQ1_M is a 120.72 GB backbone plus a shared Engram file of 110.60 GB (231.32 GB together) and needs 234 GB with headroom for about 8k tokens. The Engram file is counted in that memory need. The model card says it can stay memory-mapped from an SSD instead of RAM or VRAM, but that has not been verified on Macs, so this page does not assume memory-mapping.

Best quantIQ1_M
Download size120.72 GB backbone + 110.60 GB Engram
Memory needed234 GB
Usable fast memory192.0 GB
Fitfits if the Mac GPU limit is raised
Estimated speed~87 tok/s (estimate)
Mac GPU limitsudo sysctl iogpu.wired_limit_mb=241664
Commandln -s DeepSeek-V4.1-Flash-Engram-IQ4_NL.gguf DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ1_M-00006-of-00006.gguf && llama-cli -m DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ1_M-00001-of-00006.gguf -ngl 99

Memory breakdown

Weights at IQ1_M120.72 GB backbone + 110.6 GB Engram
Context / KV cache (~8k tokens and one image)2.7 GB
Total needed234 GB
Usable unified memory192.0 GB
Headroom42.0 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 IQ1_M weights (231.32 GB) are larger than the 192.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
IQ2_XXS138.24 GB + 110.6 GB Engramno—
IQ2_XS155.23 GB + 110.6 GB Engramno—
IQ1_M picked120.72 GB + 110.6 GB Engramtight~87
Open Mac Studio M5 Ultra (64c GPU) 256GB 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