DeepSeek V4 Flash
290.9B total, 20.4B active · 1024k context · mit · released 2026-04-22
chatcodingagenticreasoning
In short
DeepSeek V4 Flash is an open model from DeepSeek with 290.9B parameters (20.4B active per token). At UD-Q4_K_XL, DeepSeek V4 Flash needs about 146 GB of memory at 8k context and 157 GB at 128k, counting the weights, the KV cache and runtime buffers. Nothing we price in the US runs DeepSeek V4 Flash fully in memory at 128k context at a usable speed; see the table for what comes closest.
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in the US today
Nothing in stock in the US today runs DeepSeek V4 Flash fully in memory at 128k context at 15 tok/s or more. A shorter context needs less memory; the table below shows what comes closest.
What to run it on in the US
Fully in memory at 128k context, priced at retailers today.
Something we price holds it fully in memory, but none reaches 15 tok/s, our bar for recommending it. The table below has the speeds.
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
| Hardware | Quant | Fits | Decode | Price | tok/s per 1,000 |
|---|---|---|---|---|---|
| ASUS Ascent GX10 128GB | UD-Q2_K_XL | fits | 6 tok/s | $6,100 | 0.9 |
| NVIDIA DGX Spark 128GB | UD-Q2_K_XL | fits | 6 tok/s | $7,800 | 0.7 |
| Mac Studio M3 Ultra 256GB | MXFP4 | fits | 14 tok/s | $9,500 | 1.5 |
| Mac Studio M3 Ultra 512GB | MXFP4 | fits | 14 tok/s | $30,000 | 0.5 |
| Lenovo ThinkStation PGX GB10 128GB | UD-Q2_K_XL | fits | 6 tok/s | – | – |
| Dell Pro Max with GB10 128GB | UD-Q2_K_XL | fits | 6 tok/s | – | – |
| NVIDIA RTX PRO 6000 Blackwell | UD-Q2_K_XL | offload | 15 tok/s | $16,000 | 1.0 |
56 other cards and machines we price cannot hold it at this context.
Memory needed
Weights, KV cache and runtime buffers at each context length (KV cache at fp16).
| Quant | File | @8k | @32k | @64k | @128k |
|---|---|---|---|---|---|
| UD-Q4_K_XLgguf | 144.4 GB | 145.9 GB | 148.0 GB | 150.9 GB | 156.6 GB |
| UD-Q2_K_XLgguf | 90.2 GB | 91.6 GB | 93.8 GB | 96.6 GB | 102.4 GB |
| mlx-3bitmlx | 116.1 GB | 117.5 GB | 119.6 GB | 122.5 GB | 128.3 GB |
| UD-Q3_K_Mgguf | 119.3 GB | 120.7 GB | 122.9 GB | 125.7 GB | 131.5 GB |
| mlx-4bitmlx | 141.1 GB | 142.5 GB | 144.7 GB | 147.5 GB | 153.3 GB |
| MXFP4gguf | 145.3 GB | 146.7 GB | 148.9 GB | 151.7 GB | 157.5 GB |
| mlx-6bitmlx | 215.3 GB | 216.7 GB | 218.9 GB | 221.8 GB | 227.5 GB |
| mlx-8bitmlx | 281.5 GB | 282.9 GB | 285.1 GB | 288.0 GB | 293.7 GB |
Run it
Copy a command for the runtime you use.
- UD-Q4_K_XL
- Ollama
ollama run hf.co/unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q4_K_XL - LM Studio
lms get unsloth/DeepSeek-V4-Flash-0731-GGUF@ud-q4_k_xl - llama.cpp
llama-server -hf unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q4_K_XL
- Ollama
- UD-Q2_K_XL
- Ollama
ollama run hf.co/unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q2_K_XL - LM Studio
lms get unsloth/DeepSeek-V4-Flash-0731-GGUF@ud-q2_k_xl - llama.cpp
llama-server -hf unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q2_K_XL
- Ollama
- mlx-3bit
- LM Studio
lms get mlx-community/deepseek-ai-DeepSeek-V4-Flash-3bit - MLX
mlx_lm.server --model mlx-community/deepseek-ai-DeepSeek-V4-Flash-3bit
- LM Studio
- UD-Q3_K_M
- Ollama
ollama run hf.co/unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q3_K_M - LM Studio
lms get unsloth/DeepSeek-V4-Flash-0731-GGUF@ud-q3_k_m - llama.cpp
llama-server -hf unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q3_K_M
- Ollama
- mlx-4bit
- LM Studio
lms get mlx-community/DeepSeek-V4-Flash-4bit - MLX
mlx_lm.server --model mlx-community/DeepSeek-V4-Flash-4bit
- LM Studio
- MXFP4
- Ollama
ollama run hf.co/bartowski/DeepSeek-V4-Flash-GGUF:MXFP4 - LM Studio
lms get bartowski/DeepSeek-V4-Flash-GGUF@mxfp4 - llama.cpp
llama-server -hf bartowski/DeepSeek-V4-Flash-GGUF:MXFP4
- Ollama
- mlx-6bit
- LM Studio
lms get mlx-community/deepseek-ai-DeepSeek-V4-Flash-6bit - MLX
mlx_lm.server --model mlx-community/deepseek-ai-DeepSeek-V4-Flash-6bit
- LM Studio
- mlx-8bit
- LM Studio
lms get mlx-community/deepseek-ai-DeepSeek-V4-Flash-8bit - MLX
mlx_lm.server --model mlx-community/deepseek-ai-DeepSeek-V4-Flash-8bit
- LM Studio
Notes
Estimates are approximate. Sparse or compressed attention: KV read per token is estimated as full attention. deepseek_v4 layout is new; verify against measured results.
Questions
- How much VRAM does DeepSeek V4 Flash need?
- At UD-Q4_K_XL, DeepSeek V4 Flash needs about 146 GB of memory at 8k context and 157 GB at 128k, counting the weights, the KV cache and runtime buffers.
- Can I run DeepSeek V4 Flash on a 16 GB GPU?
- No: it does not fit in 16 GB at 128k context, even with system RAM.
- Can I run DeepSeek V4 Flash on a 24 GB GPU?
- No: it does not fit in 24 GB at 128k context, even with system RAM.
- How do I run DeepSeek V4 Flash locally?
- With Ollama: ollama run hf.co/unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q4_K_XL (the UD-Q4_K_XL build). LM Studio and llama.cpp commands are on this page.
- What licence is DeepSeek V4 Flash released under?
- mit, which allows commercial use.