← CanIRunLocal · All hardware · All models

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

DeepSeek V4.1 Flash 763B-A16B (MoE) at IQ2_XXS on Mac Studio M5 Ultra (80c GPU) 512GB: 251.5 GB needed versus 384.0 GB usable.

Yes. DeepSeek V4.1 Flash 763B-A16B (MoE) fits in fast memory on Mac Studio M5 Ultra (80c GPU) 512GB at IQ2_XXS (251.5 GB needed, 384.0 GB usable), about 82 tok/s (estimate).

Hardware: Mac Studio M5 Ultra (80c GPU) 512GB · Model: DeepSeek V4.1 Flash 763B-A16B (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 llama.cpp can use 384.0 GB. DeepSeek V4.1 Flash 763B-A16B (MoE) (763.2B, 16B active, DeepSeek) at IQ2_XXS is a 138.24 GB backbone plus a shared Engram file of 110.60 GB (248.84 GB together) and needs 251.5 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 quantIQ2_XXS
Download size138.24 GB backbone + 110.60 GB Engram
Memory needed251.5 GB
Usable fast memory384.0 GB
Fitfits in fast memory
Estimated speed~82 tok/s (estimate)
Commandln -s DeepSeek-V4.1-Flash-Engram-IQ4_NL.gguf DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS-00006-of-00006.gguf && llama-cli -m DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS-00001-of-00006.gguf -ngl 99

Memory breakdown

Weights at IQ2_XXS138.24 GB backbone + 110.6 GB Engram
Context / KV cache (~8k tokens and one image)2.7 GB
Total needed251.5 GB
Usable unified memory384.0 GB
Headroom132.5 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 410,085 tokens (estimate). 8,192 × (135.16 GB left after the weights ÷ 2.7 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
IQ2_XXS picked138.24 GB + 110.6 GB Engramyes~82
IQ2_XS155.23 GB + 110.6 GB Engramyes~77
IQ1_M120.72 GB + 110.6 GB Engramyes~87
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