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.

All hardware that runs it

Everything we price, best value first. Two cards split the model by layers.

HardwareQuantFitsDecodePricetok/s per 1,000
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBUD-Q2_K_XLfits9 tok/s$5,2891.6
ASUS Ascent GX10 128GBUD-Q2_K_XLfits11 tok/s$8,5001.2
NVIDIA DGX Spark 128GBUD-Q2_K_XLfits11 tok/s$11,1500.9
Mac Studio M3 Ultra 512GBMXFP4fits23 tok/s$28,0000.8
Mac Studio M4 Max 128GBUD-Q2_K_XLfits22 tok/s––
Framework Desktop Ryzen AI Max+ 395 128GBUD-Q2_K_XLfits9 tok/s––
Mac Studio M3 Ultra 256GBMXFP4fits23 tok/s––
NVIDIA RTX PRO 6000 BlackwellUD-Q2_K_XLfits69 tok/s––
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBUD-Q2_K_XLfits9 tok/s––
Lenovo ThinkStation PGX GB10 128GBUD-Q2_K_XLfits11 tok/s––
Dell Pro Max with GB10 128GBUD-Q2_K_XLfits11 tok/s––
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBUD-Q2_K_XLfits9 tok/s––
NVIDIA RTX PRO 5000 Blackwell 72GBUD-Q2_K_XLoffload12 tok/s$20,6500.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).

QuantFile@8k@32k@64k@128k
UD-Q4_K_XLgguf144.4 GB145.9 GB148.0 GB150.9 GB156.6 GB
UD-Q2_K_XLgguf90.2 GB91.6 GB93.8 GB96.6 GB102.4 GB
mlx-3bitmlx116.1 GB117.5 GB119.6 GB122.5 GB128.3 GB
UD-Q3_K_Mgguf119.3 GB120.7 GB122.9 GB125.7 GB131.5 GB
mlx-4bitmlx141.1 GB142.5 GB144.7 GB147.5 GB153.3 GB
MXFP4gguf145.3 GB146.7 GB148.9 GB151.7 GB157.5 GB
mlx-6bitmlx215.3 GB216.7 GB218.9 GB221.8 GB227.5 GB
mlx-8bitmlx281.5 GB282.9 GB285.1 GB288.0 GB293.7 GB

Run it

Copy a command for the runtime you use.

  • UD-Q4_K_XL
    • Ollamaollama run hf.co/unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q4_K_XL
    • LM Studiolms get unsloth/DeepSeek-V4-Flash-0731-GGUF@ud-q4_k_xl
    • llama.cppllama-server -hf unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q4_K_XL
  • UD-Q2_K_XL
    • Ollamaollama run hf.co/unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q2_K_XL
    • LM Studiolms get unsloth/DeepSeek-V4-Flash-0731-GGUF@ud-q2_k_xl
    • llama.cppllama-server -hf unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q2_K_XL
  • mlx-3bit
    • LM Studiolms get mlx-community/deepseek-ai-DeepSeek-V4-Flash-3bit
    • MLXmlx_lm.server --model mlx-community/deepseek-ai-DeepSeek-V4-Flash-3bit
  • UD-Q3_K_M
    • Ollamaollama run hf.co/unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q3_K_M
    • LM Studiolms get unsloth/DeepSeek-V4-Flash-0731-GGUF@ud-q3_k_m
    • llama.cppllama-server -hf unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q3_K_M
  • mlx-4bit
    • LM Studiolms get mlx-community/DeepSeek-V4-Flash-4bit
    • MLXmlx_lm.server --model mlx-community/DeepSeek-V4-Flash-4bit
  • MXFP4
    • Ollamaollama run hf.co/bartowski/DeepSeek-V4-Flash-GGUF:MXFP4
    • LM Studiolms get bartowski/DeepSeek-V4-Flash-GGUF@mxfp4
    • llama.cppllama-server -hf bartowski/DeepSeek-V4-Flash-GGUF:MXFP4
  • mlx-6bit
    • LM Studiolms get mlx-community/deepseek-ai-DeepSeek-V4-Flash-6bit
    • MLXmlx_lm.server --model mlx-community/deepseek-ai-DeepSeek-V4-Flash-6bit
  • mlx-8bit
    • LM Studiolms get mlx-community/deepseek-ai-DeepSeek-V4-Flash-8bit
    • MLXmlx_lm.server --model mlx-community/deepseek-ai-DeepSeek-V4-Flash-8bit

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.

More hardware for local AI