Can I run this LLM? Real file sizes, live from Hugging Face.
All models › deepseek-v4

deepseek-v4 requirements — can you run it?

~402.9B parameters · 6 quantizations measured · updated 2026-08-31 · source: antirez/deepseek-v4-gguf

deepseek-v4 is a dense transformer (~402.9B parameters) (1126k downloads on Hugging Face), published as GGUF by the community. At the recommended Q2KDown-AProjQ8-SExpQ8-OutQ8 quant it needs 118.6 GB of VRAM or system RAM at 8K context. Builds measured on this page range from 118.6 GB (smallest quant) to 968.5 GB (lossless). Every number below comes from the actual GGUF files - not a params x bits formula.

Run deepseek-v4 (Q2KDown-AProjQ8-SExpQ8-OutQ8) — copy-paste:
# llama.cpp (auto-downloads the GGUF)
llama-cli -hf antirez/deepseek-v4-gguf:Q2KDown-AProjQ8-SExpQ8-OutQ8

# Ollama (pulls straight from Hugging Face)
ollama run hf.co/antirez/deepseek-v4-gguf:Q2KDown-AProjQ8-SExpQ8-OutQ8

# LM Studio: search "antirez/deepseek-v4-gguf" in the model browser

Commands load the exact quant measured on this page.

Every quantization: real file size vs what you actually need

QuantFile (measured)VRAM/RAM needed (8K ctx)Runs on (first fit)
Q2KDown-AProjQ8-SExpQ8-OutQ8-chat-v2-imatrix-fixed-073197.6 GB118.6 GBMac 256GB unified
Q2KDown-AProjQ8-SExpQ8-OutQ8-chat-v2-imatrix-fixed97.6 GB118.6 GBMac 256GB unified
Q2KDown-AProjQ8-SExpQ8-OutQ897.6 GB118.6 GBMac 256GB unified
Q4K-Layers-31-output442.0 GB531.9 GB1TB server RAM (CPU)
Q4K-Layers00-30457.5 GB550.5 GB1TB server RAM (CPU)
F16805.9 GB968.5 GB2TB server RAM (CPU)

KV cache uses a flat +20% context/overhead rule because this repo does not publish its config; exact numbers may differ for long contexts. MoE models keep all experts in memory — total size counts, not just active params. Longer context grows the KV cache — use the selector above.

Can I run deepseek-v4 on my GPU? (Q2KDown-AProjQ8-SExpQ8-OutQ8 recommended quant)

HardwareMemoryVerdictEst. speed
RTX 3060 12GB12 GBno
RTX 4060 Ti 16GB16 GBno
RTX 3090 24GB24 GBno
RTX 4090 24GB24 GBno
RTX 5090 32GB32 GBno
RTX PRO 6000 96GB96 GBno
Mac 16GB unified16 GBno
Mac 32GB unified32 GBno
Mac 64GB unified64 GBno
Mac 128GB unified128 GBtight~3 tok/s
Mac 256GB unified256 GBRUNS~4 tok/s
Mac 512GB unified512 GBRUNS~6 tok/s
32GB system RAM (CPU)32 GBno
64GB system RAM (CPU)64 GBno
128GB system RAM (CPU)128 GBtight~0.6 tok/s
256GB system RAM (CPU)256 GBRUNS~0.6 tok/s
1TB server RAM (CPU)1024 GBRUNS~2 tok/s
2TB server RAM (CPU)2048 GBRUNS~2 tok/s

Speed = decode tok/s estimated from memory bandwidth ÷ measured file size (× MoE active share). Real numbers vary ±30% by runtime and settings.

How much VRAM does deepseek-v4 need?

The honest answer: 118.6 GB at the Q2KDown-AProjQ8-SExpQ8-OutQ8 quant with 8K context — that is the measured file size (97.6 GB) plus KV cache and runtime overhead. The smallest published build needs 118.6 GB; the lossless one needs 968.5 GB.
Cheapest hardware that runs it: Mac Studio Ultra 256GB (~$6000, used market) — see which GPU to buy.

Can I run it with CPU offload?

Yes, if combined RAM+VRAM ≥ file size — but generation speed is limited by memory bandwidth. Expect roughly: DDR5 dual channel ~10-30 tok/s for small MoE actives, single digits for big ones, 0.1-1 tok/s when experts page from disk. CPU-only is fine for batch jobs, painful for chat.

Why do other sites show different numbers?

Most pages compute weights from a formula (params × bits/8). We use the actual file sizes published in GGUF repos, which include the embedding table, unquantized tensors, and container overhead — that is why our numbers can differ from a naive calculation.

FAQ

How much VRAM does deepseek-v4 need?

The measured answer: 118.6 GB at the Q2KDown-AProjQ8-SExpQ8-OutQ8 quant with 8K context. The smallest published build needs 118.6 GB; the lossless (F16/BF16) build needs 968.5 GB. These are real GGUF file sizes from Hugging Face, not formula estimates.

Can I run deepseek-v4 on a 24GB GPU (RTX 3090/4090)?

Not at Q2KDown-AProjQ8-SExpQ8-OutQ8 (118.6 GB). Nothing fits 24GB — the smallest build needs 118.6 GB. Use the hosted API or a smaller model.

How fast will deepseek-v4 run?

Decode speed is memory-bandwidth-bound. At Q2KDown-AProjQ8-SExpQ8-OutQ8: roughly 8 tok/s on an RTX 4090, 7 tok/s on an RTX 3090, 3 tok/s on an M-series Mac with 128GB, and 0.4 tok/s on CPU with dual-channel DDR4 — estimates from measured file size, MoE active-parameter share and memory bandwidth.

Can I run deepseek-v4 on CPU with system RAM?

Yes, if your usable RAM is at least the file size. At Q2KDown-AProjQ8-SExpQ8-OutQ8 you need ~118.6 GB of RAM. CPU generation is memory-bandwidth-bound: expect single-digit tok/s for large MoE models, 10-30 tok/s for small active params, and below 1 tok/s when experts page from disk.

Why do VRAM numbers for deepseek-v4 differ between sites?

Most sites compute weights from a formula (params x bits/8). ModelFit uses the actual GGUF file sizes published on Hugging Face, which include the embedding table, unquantized tensors, and container overhead — so our numbers reflect what you really download and load.

More models

DeepSeek-V4-Flash-0731measured requirementsDeepSeek-V4.1-Flash-1017measured requirementsDeepSeek-V4.1-Flash-1017-GSQ-RCOmeasured requirementsQwen3.8-Flash-Next-GSQ-RCOmeasured requirementsQwen3.8-27Bmeasured requirementsQwen3.8-27B-Uncensoredmeasured requirementsQwen-Image-2.1-Uncensored-Quantizedmeasured requirementsHuihui-Qwen3.8-27B-abliteratedmeasured requirements
Share this page: 𝕏 Post Reddit Hacker News Telegram WhatsApp More…