No — not on this device

DeepSeek V4 Flash 284B-A13B at Q4_K_M needs 160.7 GB against 18.0 GB usable, and the shortfall of 142.7 GB is more than 256 GB of system RAM can cover at a tolerable speed. A smaller sibling or a lower quantisation is the honest answer here.

Does not fit 8K context Q4_K_M · 159.7 GB MIT Released 31 Jul 2026 New this month Not in the Ollama library

The V4 that 128 GB machines can actually run at Q3. Cache is modelled as a 576-wide latent; V4 compresses it further at long context, so this is conservative.

What hardware do I need for DeepSeek V4 Flash 284B-A13B? →

The VRAM budget

weights 159.7 GB
Weights 159.7 GB KV cache @ 8K 0.38 GB Runtime overhead 0.6 GB Over budget 142.7 GB past 18.0 GB

Quantisation ladder

QuantWeightsTotal @ 8KMax contextTok/sQualityFit
Q8_0 281.0 GB 282.0 GB ~2.0 −0.1% ppl 264.0 GB over
Q6_K 216.9 GB 217.9 GB ~2.6 −0.4% ppl 199.9 GB over
Q5_K_M 187.5 GB 188.4 GB ~3.0 −0.8% ppl 170.4 GB over
Q4_K_M 159.7 GB 160.7 GB ~3.6 −1.9% ppl 142.7 GB over
Q3_K_M 129.3 GB 130.3 GB ~4.4 −5.4% ppl 112.3 GB over
Q2_K 110.8 GB 111.7 GB ~5.1 −15% ppl 93.7 GB over

Quality is the published perplexity delta against f16 weights. Max context assumes an f16 KV cache; q8_0 roughly doubles it. This model uses multi-head latent attention, so its cache is a compressed latent rather than full K and V.

How to run it

terminal
$ pip install mlx-lm
$ mlx_lm.generate --model mlx-community/DeepSeek-V4-Flash-0731-4bit \
    --max-tokens 512 --prompt "Hello"

Apple's own array framework. The fastest path on Apple Silicon. More on MLX.

01Download is 159.7 GB. Keep it on an SSD — a first load off a spinning disk takes minutes.
02macOS caps what the GPU may wire down at about 18.0 GB of 24 GB. Raising it with iogpu.wired_limit_mb is possible, and risky.
03If it falls back to CPU silently, drop the context first, then step down a quantisation.
See all models for this rig Compare with another model