Can a Mac run DeepSeek V4.1 Flash 1017?

Yes, with 512 GB of unified memory or more. DeepSeek V4.1 Flash 1017 has 552B parameters, 16B of them active for each token; here is the memory it needs at each precision and how fast every Apple chip runs it.

Updated

Memory at 4-bit335 GBweights 311 GB + context
Smallest Mac512 GB4-bit · 4 Mac configurations
Fastest Mac60–107tokens/s · M5 Ultra 512 GB (estimate)

Memory at each precision

VersionWeightsWith contextSmallest Mac
8-bit587 GB633 GBmore than any Mac
6-bit449 GB484 GBmore than any Mac
4-bit311 GB335 GB512 GB
3-bit lower quality242 GB261 GB512 GB
2-bit lower quality173 GB186 GB256 GB

Plus about 203 GB of Engram lookup tables, not counted here: runtimes such as DwarfStar leave them on the SSD, while MLX builds load them into memory too.

How much RAM an LLM needs

On every Apple chip

The smallest memory size of each chip that runs DeepSeek V4.1 Flash 1017, the best version that fits it, and the writing speed you can expect.

ChipNeedsVersionTokens/s
M6no size fitsToo big–
M5 Ultra512 GB4-bit Runs well60–107
M5 Maxno size fitsToo big–
M5 Prono size fitsToo big–
M5no size fitsToo big–
M4 Maxno size fitsToo big–
M4 Prono size fitsToo big–
M4no size fitsToo big–
M3 Ultra512 GB4-bit Runs well41–73
M3 Maxno size fitsToo big–
M3 Prono size fitsToo big–
M3no size fitsToo big–
M2 Ultrano size fitsToo big–
M2 Maxno size fitsToo big–
M2 Prono size fitsToo big–
M2no size fitsToo big–
M1 Ultrano size fitsToo big–
M1 Maxno size fitsToo big–
M1 Prono size fitsToo big–
M1no size fitsToo big–

Measured by others

Decode speeds for DeepSeek V4.1 Flash 1017 that other people measured on their own Macs and posted publicly. These are third-party measurements, not ours, and not the estimates above.

MacRuntimePrecisionDecode tok/sSource
Mac Studio M5 Ultra 256 GBmlx-serve (PR #911)3.06 bpw (iQ-MLX: 2/3-bit experts, 4-bit trunk)69.4serial decode (--no-mtp), 400-token greedy answers, ~206 GB resident, Engram tables read from the SSDDavid Dalcu @ddalcu
Mac Studio M5 Ultra 256 GBmlx-serve (PR #911)3.06 bpw (iQ-MLX: 2/3-bit experts, 4-bit trunk)100.4DSpark speculative decode on (default), agent prompts; code 79.6, prose 51.9David Dalcu @ddalcu

Results vary by runtime and settings: its version, the precision, the context length, the prompt and reasoning on or off all change the speed.

How to run it

In Terminal with Apple’s MLX: Stock mlx-lm can’t load this model yet (deepseek_v41.py), so follow the instructions on the build’s model card.Build: mlx-community/DeepSeek-V4.1-Flash-1017-oQ4e-mtp on Hugging Face. Other precisions sit next to it.mlx-lm 0.32.2 has the deepseek_v41 architecture but refuses checkpoints with Engram layers ("Layers [1, 14] use engram memory, which this implementation does not have"), and every V4.1 release has them; this oQ build was made with oMLX (github.com/jundot/omlx), which has its own V4.1 code with Engram.

Step by step: download and run LLMs on a Mac · MLX vs Ollama vs llama.cpp

About DeepSeek V4.1 Flash 1017

Made byDeepSeek
Parameters552B total · 16B active (mixture of experts)
Context1M tokens
LicenceMIT
Released2026-10
InputText and images
Intelligence45.1 on the Artificial Analysis Intelligence Index
Weightsdeepseek-ai/DeepSeek-V4.1-Flash-1017

Guide: step by step on mlx.app

Questions

How much memory does DeepSeek V4.1 Flash 1017 need?
About 311 GB of weights at 4-bit, plus room for the context: 335 GB in all. On a Mac that means 512 GB of unified memory or more, since macOS lets the GPU use about 75% of it by default.
How fast is DeepSeek V4.1 Flash 1017 on a Mac?
Writing speed depends on memory bandwidth. The fastest Mac for it here is an M5 Ultra with 512 GB at about 60–107 tokens a second (4-bit). The smallest Mac that runs it, with 512 GB, manages about 60–107 on an M5 Ultra.
Why does DeepSeek V4.1 Flash 1017 run faster than its size suggests?
It is a mixture-of-experts model: it holds 552B parameters in memory but reads only 16B for each token, so it writes at the speed of a much smaller model.

Similar models

Every model · Every Mac · Compare your Mac

For your model card or README

Runs on a Mac: DeepSeek V4.1 Flash 1017 Shows the smallest Mac that runs DeepSeek V4.1 Flash 1017 well and links here.

[![Runs on a Mac](https://mlx.app/badge/run/deepseek-v4.1-flash-1017.svg)](https://mlx.app/run/deepseek-v4.1-flash-1017)

How it’s worked out

Memory: the model’s parameters at 8, 6, 4, 3 or 2 bits per weight plus MLX’s group scales (half a bit per weight), or its native format, with room for the context on top. By default macOS lets the GPU use about 75% of unified memory. Speed: memory bandwidth divided by the bytes read per token is the ceiling for one conversation; in llama.cpp’s public Apple Silicon benchmarks real runs reach about 45% to 80% of it, which is the range shown. These are estimates, not measurements: measure your own Mac on MLX Bench. Model figures from each official model card, chip figures from Apple’s Tech Specs. Checked 2026-10-19. Same data as mlx.app/compare.

Open data: mlx.app/data (JSON, CSV)