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.
Cheapest
Mac Studio M3 Ultra 256GB16tok/sest.MXFP4
15.555 €
Best value
Mac Studio M3 Ultra 256GB16tok/sest.MXFP4
15.555 €
Fastest
Mac Studio M3 Ultra 256GB16tok/sest.MXFP4
15.555 €
Mac
Mac Studio M3 Ultra 256GB16tok/sest.MXFP4
15.555 €
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 |
|---|---|---|---|---|---|
| Mac Studio M3 Ultra 256GB | MXFP4 | fits | 16 tok/s | 15.555 € | 1.0 |
| Mac Studio M3 Ultra 512GB | MXFP4 | fits | 16 tok/s | 17.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).
| Quant | File | @8k | @32k | @64k | @128k |
|---|---|---|---|---|---|
| mlx-2bitmlx | 86.1 GB | 87.5 GB | 89.7 GB | 92.6 GB | 98.3 GB |
| MXFP4gguf | 145.6 GB | 147.1 GB | 149.2 GB | 152.1 GB | 157.8 GB |
Run it
Copy a command for the runtime you use.
- mlx-2bit
- LM Studio
lms get mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit - MLX
mlx_lm.server --model mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit
- LM Studio
- MXFP4
- Ollama
ollama run hf.co/lmstudio-community/DeepSeek-V4-Flash-0731-GGUF:MXFP4 - LM Studio
lms get lmstudio-community/DeepSeek-V4-Flash-0731-GGUF@mxfp4 - llama.cpp
llama-server -hf lmstudio-community/DeepSeek-V4-Flash-0731-GGUF:MXFP4
- Ollama
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.