codemux CodeMux App

Running DeepSeek locally: memory requirements

V4 Flash needs about 176 GB to load, so it does not fit on a consumer GPU. The R1 distills from 1.5B to 32B run on ordinary hardware at 4-bit.

✓ Matches official pageChecked Dec 5, 2026
~176 GB

DeepSeek V4 Flash needs about this much memory to load its released weights, so it does not fit on a consumer GPU.

Smaller R1 distills (7B–14B) run on a 12–16 GB GPU or a recent laptop at 4-bit.

How much memory does a DeepSeek model need?

Weights = parameters × bits ÷ 8, plus 10% for the runtime. Context memory (the KV cache) depends on the model’s attention design and the inference engine, so it is shown as a rough range.

Memory needed to load each model

Model4-bit8-bitAs released
DeepSeek V4 Flash (284B total, 13B active)157 GB313 GB176 GB
DeepSeek R1 (671B total, 37B active)370 GB739 GB739 GB
R1 Distill Llama 70B39 GB77 GB154 GB
R1 Distill Qwen 32B18 GB36 GB71 GB
R1 Distill Qwen 14B8 GB16 GB31 GB
R1 Distill Llama 8B5 GB9 GB18 GB
R1 Distill Qwen 7B4 GB8 GB16 GB
R1 Distill Qwen 1.5B1 GB2 GB4 GB

Mixture-of-experts models such as V4 Flash and R1 only use a fraction of their parameters per token (13B and 37B), which makes them fast, but all parameters still have to be in memory.

Questions

Can I run DeepSeek V4 Flash locally?

Only with a lot of memory. It has 284 billion parameters (13 billion active per token), and the released weights need roughly 176 GB just to load, before any context. That means several data-center GPUs or a workstation with 256 GB or more of unified memory. A single consumer GPU cannot hold it.

How much memory do the DeepSeek R1 models need?

At 4-bit quantization, roughly: 1.5B ≈ 1 GB, 7B–8B ≈ 4–5 GB, 14B ≈ 8 GB, 32B ≈ 18 GB, 70B ≈ 39 GB, and the full 671B R1 ≈ 370 GB, plus memory for the context.

Is running DeepSeek locally cheaper than the API?

Usually not for individual use. The API charges $0.15 per million input tokens and $0.6 per million output tokens off-peak for V4 Flash, so a GPU that can hold the model costs more than years of typical API usage. Local makes sense for privacy, offline use or very heavy steady workloads.

Did this answer your question?

Sources

Model facts and setup steps reviewed on .