VRAMGlass contains affiliate links. As an eBay Partner, we may be compensated if you make a purchase.As an eBay Partner, we may be compensated.Learn more

GPUs tracked57Price history49 daysPrice points (24h)43,400 pointsBiggest 24h dropGeForce RTX 3060 12GB-11.1%Biggest 24h riseCMP 170HX 40GB+19.8%Updated
$ USD

How to Deploy DeepSeek V4 Flash Locally

DeepSeek V4 Flash is a 284B MoE released in late July 2026, and it uses only 13B parameters per token. So despite its size, it isn't slow on machines with lots of memory. At 4-bit it is about 155 GB, too big for any single GPU or 128GB machine; at 2-bit it is about 97 GB, which the 128GB DGX Spark and Ryzen AI Max+ 395 hold entirely, at about 37 to 38 tokens/s. Its expert weights already ship in a 4-bit format, so 4-bit quantization is nearly lossless, and 8-bit is only about 7 GB larger than 4-bit.

DeepSeek V4 Flash details

  • Min VRAM at 4-bit157 GB · 8K
  • Parameters284B
  • Active params13B
  • Max context1M
Architecture
MoE
Experts offloaded
6 GB VRAM + 152 GB RAM
License
MIT
Launch date
Jul 31, 2026
Vendor
DeepSeek
Revision
0731
Layers
43
Hidden size
4,096
KV heads
1
Head dim
512

How much VRAM does DeepSeek V4 Flash need for local deployment?

QuantizationWeightsGB32K contextGB128K contextGB256K contextGB1M context (max)GB
1-bit86.9GGUF88.288.789.493.8
2-bit96.8GGUF98.198.699.3103.7
3-bit128.2GGUF129.5130130.7135.1
4-bit155.1GGUF156.4156.9157.6162
5-bit—————
8-bit161.9GGUF163.2163.7164.4168.8
BF16/FP16596.4est.597.7598.2598.9603.3

Full calculation rules are on the Methodology page.

Can a single GPU run DeepSeek V4 Flash?

Only at 2-bit, and only on a 96GB card or a 128GB machine. 4-bit is about 155 GB, bigger than any GPU; 2-bit is about 97 GB, which just fits on an RTX PRO 6000 and runs fast there. 128GB machines like the DGX Spark and Ryzen AI Max+ 395 hold 2-bit too, and because each token touches only a small fraction of the parameters, they still manage over 30 tokens/s. The trade-off is quality: the experts ship in 4-bit form, so 4-bit is nearly lossless and 2-bit is where real damage starts. For 4-bit on one machine, only the 512GB Mac Studio has room, at about 62 tokens/s.

eBay
DevicePriceSpeed t/sMax context
Mac Studio M3 Ultra 512GBWhole system · 512 GB$22,90013 listings62.31M

Only common GPUs and systems are listed, one set for models under 50B and another for larger ones, sorted by price from low to high.

How many GPUs do you need to run DeepSeek V4 Flash?

Two 96GB RTX PRO 6000 cards are the simplest setup, and you can go straight to 8-bit: the experts ship in 4-bit form, so 8-bit is only slightly bigger, essentially original quality, fits the same two cards and runs at around 100 tokens/s. 24GB consumer cards take a full eight, since 4-bit plus 32K of context is about 156 GB, far beyond what four can hold; eight RTX 3090s do about 68 tokens/s. Four RTX A6000s or two linked DGX Sparks also hold 4-bit. Gaming cards aren't on vLLM's validated list, so confirm they work before you commit.

eBay
DeviceCardsTotal priceTotal VRAMSpeed t/sTotal power
Tesla V100 32GB32 GB per card8 cards$7,160256 GB66.12,000 W
Radeon RX 7900 XTX24 GB per card8 cards$10,000192 GB69.12,840 W
GeForce RTX 309024 GB per card8 cards$14,392192 GB67.92,800 W
Arc Pro B7032 GB per card8 cards$14,800256 GB49.71,840 W
DGX Spark 128GB128 GB per unit2 units$16,480256 GB25.6480 W
RTX A600048 GB per card4 cards$19,596192 GB59.11,200 W
Instinct MI21064 GB per card4 cards$19,976256 GB95.91,200 W
GeForce RTX 409024 GB per card8 cards$30,064192 GB71.43,600 W
RTX PRO 5000 72GB72 GB per card4 cards$42,888288 GB85.61,200 W
RTX PRO 600096 GB per card2 cards$45,000192 GB100.71,200 W
GeForce RTX 509032 GB per card8 cards$67,160256 GB100.74,600 W
A100 80GB PCIe80 GB per card4 cards$75,996320 GB104.71,200 W
GeForce RTX 4090 48GB48 GB per card4 cardsNo price192 GB71.41,800 W

Full calculation rules are on the Methodology page.

What PC or server build do you need to run DeepSeek V4 Flash locally?

With the experts in system RAM, speed depends mainly on how many memory channels you have. At 4-bit, a used 8-channel DDR4 server with one RTX 3090 does about 28 tokens/s, and a 12-channel DDR5 server with an RTX PRO 6000 about 82. At 2-bit, even an ordinary desktop can run it: a DDR5 desktop with a 16GB V100 does about 28, and a DDR4 one about 17. The 2-bit weights total about 97 GB, so a desktop needs all four slots filled with 32GB sticks. Adding -ngl 99 --cpu-moe to the llama-server command on this page puts all the experts in system RAM.

eBay

2 × Tesla V100 32GB + Dual Xeon E5 DDR4

Budget
Generation speed25.9t/s
Memory bandwidth137GB/s
GPU
2 × Tesla V100 32GB17 / 43 expert layers in 64 GB VRAM
$1,790
RAM
128 GB DDR4-21338 × 16 GB sticks
$632
CPU
2 × Intel Xeon E5-2680 v428 cores / 56 threads · 8-channel in total
$38
Board
Supermicro X10DRi16 DIMM slots
$193
PSU
Corsair RM1200x SHIFT1,200 W
$135
Reference build price$2,788

GeForce RTX 3090 + Dual EPYC DDR4

Best value
Generation speed38.6t/s
Memory bandwidth341GB/s
GPU
GeForce RTX 30905 / 43 expert layers in 24 GB VRAM
$1,799
RAM
256 GB DDR4-266616 × 16 GB sticks
$1,888
CPU
2 × AMD EPYC 753264 cores / 128 threads · 16-channel in total
$524
Board
Supermicro H12DSi-N616 DIMM slots
$1,100
PSU
Corsair RM1200x SHIFT1,200 W
$135
Reference build price$5,446

GeForce RTX 5090 + Single EPYC DDR5

Flagship
Generation speed61.3t/s
Memory bandwidth461GB/s
GPU
GeForce RTX 50908 / 43 expert layers in 32 GB VRAM
$8,395
RAM
192 GB DDR5-480012 × 16 GB sticks
$7,164
CPU
AMD EPYC 935432 cores / 64 threads · 12-channel
$1,693
Board
Supermicro H13SSL-N12 DIMM slots
$1,000
PSU
Corsair RM1200x SHIFT1,200 W
$135
Reference build price$18,387

Detailed calculation rules are on the Methodology page.

As an eBay Partner, VRAMGlass may be compensated if you buy through the eBay links on this page. The price you pay stays the same.

What to know before running DeepSeek V4 Flash locally

  1. Quantization: use 8-bit if you can

    According to unsloth's analysis, the experts, which make up 96% of the official weights, already come in a 4-bit format (MXFP4), and the rest is FP8 and BF16. So 4-bit quantization is nearly lossless and 8-bit essentially lossless, and 8-bit is only about 7 GB larger than 4-bit (161.9 vs. 155.1 GB). Only 2-bit and 3-bit are truly lossy compression; use them only when memory is short.

  2. llama.cpp supports it, including DSpark

    llama.cpp merged V4 support in late June 2026 and added DSpark speculative decoding in July (a small draft model guesses the next tokens, then the large model checks them). The draft model is a separate Q8_0 GGUF that takes about 10 GB more, and unsloth says it makes generation up to about twice as fast. Running the 0731 version in vLLM requires 0.25.0 or later.

  3. Three thinking levels

    The 0731 version has three thinking levels, low, high and max, and unsloth says the default is high. To turn thinking off in llama.cpp, use --chat-template-kwargs '{"enable_thinking":false}'. For high and max, DeepSeek recommends leaving room for up to 384K of output. That sounds like a lot, but its context cache is tiny: at 4-bit, going from 32K to 256K adds only about 1.2 GB, so leaving plenty of context takes almost no VRAM.

  4. Official sampling parameters

    Temperature 1.0; top_p 0.95 for agent use and 1.0 otherwise. unsloth's llama.cpp example also adds --min-p 0.01.

Launch commands

llama.cpp

  • NVIDIA
  • AMD
  • Mac
  • CPU
All on GPU
Terminal
llama-server -hf unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q4_K_XL -c 8192
MoE offloading

Short on VRAM? Add --cpu-moe to keep the routed experts in system RAM (about 152 GB needed).

Terminal
llama-server -hf unsloth/DeepSeek-V4-Flash-0731-GGUF:UD-Q4_K_XL \
  -c 8192 -ngl 99 --cpu-moe

vLLM

  • Linux
  • NVIDIA

Follow the deployment guide to prepare the required runtime and hardware.

Terminal
vllm serve deepseek-ai/DeepSeek-V4-Flash-0731 \
  --trust-remote-code \
  --kv-cache-dtype fp8 \
  --block-size 256 \
  --enable-expert-parallel \
  --tensor-parallel-size 8 \
  --tokenizer-mode deepseek_v4 \
  --tool-call-parser deepseek_v4 \
  --enable-auto-tool-choice \
  --reasoning-parser deepseek_v4 \
  --reasoning-config '{"reasoning_parser":"deepseek_v4","reasoning_start_str":"","reasoning_end_str":""}' \
  --speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"probabilistic"}'

Ollama

  • Windows
  • macOS
  • Linux

The Ollama library has no official tag for it yet.

File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology

Other models in the DeepSeek family

ModelTotal paramsActive params4-bit size
DeepSeek R1 Qwen3 8BDense8.2B8.2B5 GB
DeepSeek R1 Distill Qwen 14BDense14.8B14.8B9 GB
DeepSeek R1 Distill Qwen 32BDense32.8B32.8B19.9 GB
DeepSeek V3.2MoE671B37B405.4 GB
DeepSeek V4.1 FlashMoE763B8 / 16B444.7 GB
DeepSeek V4 ProMoE1,600B49B849.7 GB

About DeepSeek