Can It Run?
Home โ€บ DeepSeek R1 โ€บ M3 Ultra 512GB

Can an M3 Ultra 512GB Mac run DeepSeek R1?

M3 Ultra ยท 512 GB unified memory ยท 819 GB/s ยท Mac Studio (M3 Ultra)

Yes โ€” DeepSeek R1 runs on an M3 Ultra 512GB Mac.

At Q4_K_M it needs about 411.3 GiB, leaving 84.7 GiB spare out of the ~496.0 GiB macOS will let you use. Expect roughly 18 tokens/sec โ€” comfortable for interactive chat.

Weights
390.5 GiB
684.49B params @ Q4_K_M
KV cache
0.5 GiB
8K context, FP16
Overhead
20.3 GiB
runtime + activations
Total needed
411.3 GiB
of ~496.0 GiB usable
Est. speed
18 tok/s
819 GB/s bandwidth
Max context
128K tokens
at Q4_K_M

Where the memory goes

Three things occupy memory when a model is loaded: the weights themselves, the KV cache that holds the conversation, and the runtime's own working buffers. Only the first is fixed โ€” the KV cache grows with every token in your context.

QuantisationWeightsTotalTok/sFits?
FP161275.0 GiB1340.0 GiB5No
Q8_0677.3 GiB712.5 GiB10No
Q6_K525.9 GiB553.6 GiB13No
Q5_K_M454.2 GiB478.3 GiB15Yes, but tight
Q4_K_M390.5 GiB411.3 GiB18Yes, comfortably
Q3_K_M310.8 GiB327.6 GiB22Yes, comfortably
Q2_K239.1 GiB252.3 GiB29Yes, comfortably

The default. Best quality-per-gigabyte for most people.

How long a context fits

The KV cache is often what breaks a setup that looked fine at load time. Quantising it to 8-bit roughly halves its footprint with little measurable quality cost.

ContextKV cacheTotalFP16 KVQ8 KV
2K0.1 GiB410.7 GiBYes, comfortablyYes, comfortably
4K0.3 GiB410.9 GiBYes, comfortablyYes, comfortably
8K0.5 GiB411.3 GiBYes, comfortablyYes, comfortably
16K1.1 GiB412.2 GiBYes, comfortablyYes, comfortably
32K2.2 GiB413.8 GiBYes, comfortablyYes, comfortably
128K8.6 GiB423.9 GiBYes, but tightYes, comfortably

How to run it

Ollama is the shortest path. It picks a quantisation automatically โ€” usually Q4_K_M, which is what the numbers above assume.

brew install ollama
ollama serve &
ollama run deepseek-r1

For MLX โ€” Apple's own array framework, typically a little faster than llama.cpp on Apple Silicon:

pip install mlx-lm
mlx_lm.generate --model mlx-community/DeepSeek-R1-4bit --prompt "Hello"

Macs that run DeepSeek R1 comfortably

The smallest configuration that handles it is the M3 Ultra 512GB (Mac Studio (M3 Ultra)).

MacMemoryBandwidthTok/s
M3 Ultra 512GB512 GB819 GB/s18

Common questions

Can an M3 Ultra 512GB Mac run DeepSeek R1?
Yes. At Q4_K_M it needs about 411.3 GiB of the roughly 496.0 GiB available, generating around 18 tokens per second.
How fast is DeepSeek R1 on an Mac?
Around 18 tokens per second. Token generation on Apple Silicon is limited by memory bandwidth, and this machine has 819 GB/s. Because this is a mixture-of-experts model only 37.44B of its 684.49B parameters are read per token, which is why it is faster than its size suggests.
How much memory does DeepSeek R1 need?
390.5 GiB for the weights at Q4_K_M, plus 0.5 GiB for an 8K-token KV cache and about 20.3 GiB of runtime overhead โ€” 411.3 GiB in total.