DeepSeek V4 Flash 0731

304.2B total, 33.6B active · 1024k context · MIT License · released 2026-07-31

chatcodingagenticreasoning

In short

DeepSeek V4 Flash 0731 is an open model from DeepSeek with 304.2B parameters (33.6B active per token). At mlx-2bit, DeepSeek V4 Flash 0731 needs about 88 GB of memory at 8k context and 90 GB at 32k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Germany that runs DeepSeek V4 Flash 0731 fully in memory at 32k context is the Mac Studio M3 Ultra 256GB, 15.555 € at eBay, at about 16 tok/s (estimated).

Updated . Speeds are estimates; how they are worked out.

Cheapest way to run it in Germany today

Mac Studio M3 Ultra 256GB, new at eBay

Runs DeepSeek V4 Flash 0731 at MXFP4 fully in memory at 32k context, about 16 tok/sest.

15.555 €

In stock, checked

What to run it on in Germany

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
Mac Studio M3 Ultra 256GBMXFP4fits16 tok/s15.555 €1.0
Mac Studio M3 Ultra 512GBMXFP4fits16 tok/s17.995 €0.9

61 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
mlx-2bitmlx86.1 GB87.5 GB89.7 GB92.6 GB98.3 GB
MXFP4gguf145.6 GB147.1 GB149.2 GB152.1 GB157.8 GB

Run it

Copy a command for the runtime you use.

  • mlx-2bit
    • LM Studiolms get mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit
    • MLXmlx_lm.server --model mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit
  • MXFP4
    • Ollamaollama run hf.co/lmstudio-community/DeepSeek-V4-Flash-0731-GGUF:MXFP4
    • LM Studiolms get lmstudio-community/DeepSeek-V4-Flash-0731-GGUF@mxfp4
    • llama.cppllama-server -hf lmstudio-community/DeepSeek-V4-Flash-0731-GGUF:MXFP4

Notes

The card ships no Jinja chat template, so prompts must be encoded with the Python scripts in the provided `encoding` folder. It includes a DSpark speculative decoding module; the example vLLM setup uses a 4×GB300 node, and the card recommends a maximum output length of 384K tokens at the high and max reasoning effort levels. 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 0731 need?
At mlx-2bit, DeepSeek V4 Flash 0731 needs about 88 GB of memory at 8k context and 90 GB at 32k, counting the weights, the KV cache and runtime buffers.
What is the best GPU for running DeepSeek V4 Flash 0731 locally?
The cheapest hardware in Germany that runs DeepSeek V4 Flash 0731 fully in memory at 32k context is the Mac Studio M3 Ultra 256GB, 15.555 € at eBay, at about 16 tok/s (estimated).
What is the cheapest way to run DeepSeek V4 Flash 0731 in Germany today?
The Mac Studio M3 Ultra 256GB, 15.555 € new at eBay, in stock: it runs DeepSeek V4 Flash 0731 at MXFP4 fully in memory at 32k context, at about 16 tok/s (estimated).
Can I run DeepSeek V4 Flash 0731 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 0731 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 0731 locally?
With Ollama: ollama run hf.co/lmstudio-community/DeepSeek-V4-Flash-0731-GGUF:MXFP4 (the MXFP4 build). LM Studio and llama.cpp commands are on this page.
What licence is DeepSeek V4 Flash 0731 released under?
MIT License, which allows commercial use.

More hardware for local AI