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 148 GB at 32k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Canada that runs DeepSeek V4 Flash fully in memory at 32k context is the Mac Studio M3 Ultra 512GB, $28,000 at eBay, at about 23 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in Canada today
Mac Studio M3 Ultra 512GB, used at eBay
Runs DeepSeek V4 Flash at MXFP4 fully in memory at 32k context, about 23 tok/sest.
$28,000
In stock, checked
What to run it on in Canada
Fully in memory at 32k context, priced at retailers today.
Cheapest
Mac Studio M3 Ultra 512GB23tok/sest.MXFP4
$28,000
Best value
Mac Studio M3 Ultra 512GB23tok/sest.MXFP4
$28,000
Fastest
Mac Studio M3 Ultra 512GB23tok/sest.MXFP4
$28,000
Mac
Mac Studio M3 Ultra 512GB23tok/sest.MXFP4
$28,000
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 |
|---|---|---|---|---|---|
| GMKtec EVO-X2 Ryzen AI Max+ 395 128GB | UD-Q2_K_XL | fits | 9 tok/s | $5,289 | 1.6 |
| ASUS Ascent GX10 128GB | UD-Q2_K_XL | fits | 11 tok/s | $8,500 | 1.2 |
| NVIDIA DGX Spark 128GB | UD-Q2_K_XL | fits | 11 tok/s | $11,150 | 0.9 |
| Mac Studio M3 Ultra 512GB | MXFP4 | fits | 23 tok/s | $28,000 | 0.8 |
| Mac Studio M4 Max 128GB | UD-Q2_K_XL | fits | 22 tok/s | – | – |
| Framework Desktop Ryzen AI Max+ 395 128GB | UD-Q2_K_XL | fits | 9 tok/s | – | – |
| Mac Studio M3 Ultra 256GB | MXFP4 | fits | 23 tok/s | – | – |
| NVIDIA RTX PRO 6000 Blackwell | UD-Q2_K_XL | fits | 69 tok/s | – | – |
| Minisforum MS-S1 Max Ryzen AI Max+ 395 128GB | UD-Q2_K_XL | fits | 9 tok/s | – | – |
| Lenovo ThinkStation PGX GB10 128GB | UD-Q2_K_XL | fits | 11 tok/s | – | – |
| Dell Pro Max with GB10 128GB | UD-Q2_K_XL | fits | 11 tok/s | – | – |
| Beelink GTR9 Pro Ryzen AI Max+ 395 128GB | UD-Q2_K_XL | fits | 9 tok/s | – | – |
| NVIDIA RTX PRO 5000 Blackwell 72GB | UD-Q2_K_XL | offload | 12 tok/s | $20,650 | 0.6 |
50 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 148 GB at 32k, counting the weights, the KV cache and runtime buffers.
- What is the best GPU for running DeepSeek V4 Flash locally?
- The cheapest hardware in Canada that runs DeepSeek V4 Flash fully in memory at 32k context is the Mac Studio M3 Ultra 512GB, $28,000 at eBay, at about 23 tok/s (estimated).
- What is the cheapest way to run DeepSeek V4 Flash in Canada today?
- The Mac Studio M3 Ultra 512GB, $28,000 used at eBay, in stock: it runs DeepSeek V4 Flash at MXFP4 fully in memory at 32k context, at about 23 tok/s (estimated).
- Can I run DeepSeek V4 Flash on a 16 GB GPU?
- No: it does not fit in 16 GB at 32k 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 32k 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.