RunsOnMy ModelsGPUs & MacsAPI pricesVRAM calculatorNew

Can I run DeepSeek V3.1 locally?

DeepSeek V3.1 by deepseek-ai has 685B parameters (40B active per token, 256 experts, 8 used per token). At 4-bit with an 8K context it needs about 379 GB of GPU memory. It fits on 1 of 65 GPUs and Macs we track.

379 GBQ4_K_M · 8K context
nonesmallest consumer GPU that fits
nonesmallest Mac that fits
160Kmax context
MLAattention type

Memory needed by quant and context length

GB of GPU memory = weights + KV cache (FP16) + runtime overhead. Weights use real file sizes from unsloth/DeepSeek-V3.1-GGUF where available (marked •), otherwise parameter count × bits per weight. How we calculate.

QuantQuality4K ctx8K ctx32K ctx128K ctx
2-bit (Q2_K) •rough230 GB230 GB232 GB238 GB
3-bit (Q3_K_M) •usable299 GB300 GB301 GB308 GB
4-bit (Q4_K_M) •good, most popular378 GB379 GB380 GB387 GB
5-bit (Q5_K_M) •very good444 GB445 GB446 GB453 GB
6-bit (Q6_K) •near lossless514 GB515 GB516 GB523 GB
8-bit (Q8_0) •effectively lossless665 GB665 GB667 GB674 GB
16-bit (F16/BF16) •original weights1251 GB1251 GB1253 GB1259 GB

Which GPUs and Macs run DeepSeek V3.1?

Best quality quant that fits at 8K context. "Tight" = within 10% of usable memory. Speed is a ceiling from memory bandwidth (real speed is typically 50–80% of it).

HardwareMemoryFits?Best quantNeedsMax tok/s (est.)
RTX 3060 12GB12 GBNo———details
RTX 4060 Ti 16GB16 GBNo———details
RTX 309024 GBNo———details
RTX 409024 GBNo———details
RTX 509032 GBNo———details
RTX 5070 Ti16 GBNo———details
RX 7900 XTX24 GBNo———details
Mac M4 Pro 48GB48 GBNo———details
Mac M4 Max 128GB128 GBNo———details
Mac M3 Ultra 512GB512 GBFitsQ3_K_M300 GB44details
DGX Spark128 GBNo———details
RTX 407012 GBNo———details
RTX 5060 Ti 16GB16 GBNo———details
RTX 40608 GBNo———details
Arc B58012 GBNo———details
RTX 3060 Ti8 GBNo———details
RTX 30708 GBNo———details
RTX 3080 10GB10 GBNo———details
RTX 3080 12GB12 GBNo———details
RTX 3090 Ti24 GBNo———details
RTX 4060 Ti 8GB8 GBNo———details
RTX 4070 Super12 GBNo———details
RTX 4070 Ti12 GBNo———details
RTX 4070 Ti Super16 GBNo———details
RTX 408016 GBNo———details
RTX 4080 Super16 GBNo———details
RTX 50608 GBNo———details
RTX 507012 GBNo———details
RTX 508016 GBNo———details
2x RTX 30902×24 GBNo———details
2x RTX 40902×24 GBNo———details
2x RTX 50902×32 GBNo———details
RTX A600048 GBNo———details
RTX 6000 Ada48 GBNo———details
RTX PRO 6000 Blackwell96 GBNo———details
L40S48 GBNo———details
A100 40GB40 GBNo———details
A100 80GB80 GBNo———details
H100 PCIe80 GBNo———details
H100 SXM80 GBNo———details
H200141 GBNo———details
RX 76008 GBNo———details
RX 7700 XT12 GBNo———details
RX 7800 XT16 GBNo———details
RX 7900 GRE16 GBNo———details
RX 7900 XT20 GBNo———details
RX 907016 GBNo———details
RX 9070 XT16 GBNo———details
Ryzen AI Max+ 395 128GB128 GBNo———details
Arc A770 16GB16 GBNo———details
Mac M1 16GB16 GBNo———details
Mac M2 24GB24 GBNo———details
Mac M3 24GB24 GBNo———details
Mac M4 16GB16 GBNo———details
Mac M4 32GB32 GBNo———details
Mac M1 Pro 32GB32 GBNo———details
Mac M3 Pro 36GB36 GBNo———details
Mac M4 Pro 24GB24 GBNo———details
Mac M4 Pro 64GB64 GBNo———details
Mac M1 Max 64GB64 GBNo———details
Mac M2 Max 96GB96 GBNo———details
Mac M3 Max 128GB128 GBNo———details
Mac M4 Max 64GB64 GBNo———details
Mac M2 Ultra 192GB192 GBNo———details
Mac M3 Ultra 256GB256 GBNo———details

Prefer an API?

DeepSeek: DeepSeek V3.1 is on OpenRouter at $0.25 per 1M input tokens and $0.95 per 1M output tokens. Price details and history →

Questions

How much VRAM does DeepSeek V3.1 need?

About 379 GB at 4-bit (Q4_K_M) with an 8K context: 378 GB of weights (real GGUF file size), 0.5 GB of KV cache and 0.6 GB of runtime overhead. At 8-bit it needs about 665 GB.

What is the smallest GPU that runs DeepSeek V3.1?

No single consumer GPU in our table fits it at Q4_K_M with 8K context.

Can I run DeepSeek V3.1 on a Mac?

Not at Q4_K_M with 8K context on any Mac in our table, even a 512 GB Mac Studio, using the default GPU memory limit.

Model facts

Hugging Face repodeepseek-ai/DeepSeek-V3.1
Parameters684,531,386,000 (685B) · ~40B active (computed from config)
Layers / hidden size61 / 7168
AttentionMLA; 128 heads, 128 KV heads, head dim 56
KV cache per token (FP16)68.6 KiB
Max context163,840 tokens
Licensemit
Released on HFAug 21, 2025
Downloads (30d) / likes294,923 / 866

Sources: Hugging Face model API · config.json (deepseek-ai/DeepSeek-V3.1) · GGUF files · GPU specs from vendor pages (list). Data fetched Nov 17, 2026. Spot an error? Report it.