Models › DeepSeek

DeepSeek · 684B (37B active)

Can I run DeepSeek R1 (671B) locally?

DeepSeek R1 (671B) needs about 643 GB at FP8 (official) with 8K context, so it fits fully on a 768 GB GPU.

Check it on your rig

Too big for your rig? Rent a cloud GPU — for example on Runpod or Vast.ai.

Model facts

Parameters684B total, 37B active (MoE)
Max context163,840 tokens
AttentionMulti-head latent attention (MLA)
Good forReasoning
Official weightsFP8 (official): 641 GBThe official checkpoint ships in FP8.
Sourcedeepseek-ai/DeepSeek-R1

Quick answer

Smallest GPU that holds it fully: 768 GB (FP8 (official), 8K context)

Consumer GPUs that fit it fully: 0 of 39

With partial offload (32 GB RAM): 0 more

Fitting fully is what you want: offloading works, but generation speed drops to what your system RAM can deliver.

Memory needed by quant and context

Total estimate: weights + KV cache (FP16) + runtime buffer. Pick a row whose number is below your VRAM (or about 2/3 of a Mac's memory). To try another quant, context length or KV cache precision, open DeepSeek R1 (671B) in the VRAM calculator.

DeepSeek R1 (671B): memory needed at 8K context, by quant
  1. FP8 (official)643 GB
  2. Q8_0679 GB
  3. Q6_K524 GB
  4. Q5_K_M455 GB
  5. Q4_K_M388 GB
  6. Q3_K_M313 GB

Dashed lines mark common card or memory sizes in GB.

Quant4K ctx8K ctx32K ctx128K ctxQuality
FP8 (official)642 GB643 GB644 GB651 GBOfficial release format
Q8_0678 GB679 GB680 GB687 GBnear-lossless
Q6_K524 GB524 GB526 GB532 GBvery close to full quality
Q5_K_M455 GB455 GB456 GB463 GBsmall quality loss
Q4_K_M388 GB388 GB389 GB396 GBthe usual sweet spot
Q3_K_M313 GB313 GB315 GB321 GBnoticeable quality loss

GPUs that run DeepSeek R1 (671B)

At 8K context with 32 GB of DDR5 system RAM for offload. Speeds are estimates.

GPUVRAMVerdictQuantSpeed (est.)
No single consumer GPU in our list can run it, even with 32 GB of RAM for offload.

Macs and unified-memory PCs

The smallest memory configuration that holds it fully at 8K context.

ChipMemory neededQuantSpeed (est.)
Apple M1Won't fit——
Apple M1 ProWon't fit——
Apple M1 MaxWon't fit——
Apple M1 UltraWon't fit——
Apple M2Won't fit——
Apple M2 ProWon't fit——
Apple M2 MaxWon't fit——
Apple M2 UltraWon't fit——
Apple M3Won't fit——
Apple M3 ProWon't fit——
Apple M3 Max (40-core GPU)Won't fit——
Apple M3 Ultra512 GBQ3_K_M14–30 tok/s
Apple M4Won't fit——
Apple M4 ProWon't fit——
Apple M4 Max (16-core CPU)Won't fit——
Apple M5Won't fit——
AMD Ryzen AI Max+ 395Won't fit——
NVIDIA DGX SparkWon't fit——

Parameter count and architecture come from the model's Hugging Face page and config.json. Memory and speed are calculated; see methodology.