Model guides

Run DeepSeek V4 on cloud GPUs

Which GPUs DeepSeek V4-Flash and V4-Pro need, from a 4-GPU H200 node to a full 8-GPU machine, with vLLM and SGLang commands and the memory math behind them.

The DeepSeek V4 model that fits an ordinary multi-GPU rental is V4-Flash. Its weights are 166.89 GB, so a 4x H200 VM holds them with about 352 GB left over. V4-Pro is 892.74 GB and needs all 8 GPUs of an H200 VM, and V4.1-Flash at 510.30 GB sits between them. DeepSeek published a minor update to V4.1-Flash, V4.1-Flash-1017, on 17 October 2026, with files of identical size. All of them are MIT licensed, and Ollama offers none of them as a local download.

Four V4 checkpoints in three sizes: 167, 510 and 893 GB

The V4 checkpoints are mixed precision, with the experts stored in 4-bit FP4 and the rest in FP8, so they are small for their parameter counts. The cards list V4-Flash at 284 billion parameters with 13 billion active, V4-Pro at 1.6 trillion with 49 billion active, and V4.1-Flash at 552 billion backbone parameters, all with a 1M-token context. The V4.1-Flash-1017 card calls it a minor update that improves reasoning, coding, agentic and visual benchmarks and shortens task time and output length. Its table lists Terminal-Bench 4.0 at 42.3 against 31.2 for V4.1-Flash and HLE without tools at 42.6 against 36.8, which are DeepSeek's own numbers. The Hugging Face file lists show the same 48 weight files at the same byte sizes, and the same config.json and tokenizer.json, so the memory math does not change. The context is cheap to hold. vLLM's launch post puts the BF16 KV cache at 9.62 GiB per 1M-token sequence, against 83.9 GiB for a 61-layer V3.2-style stack, and the KV cache explainer shows how such figures are worked out.

ModelCheckpointSmallest H200 VM that holds itEngine sizing
V4-Flash-0731166.89 GB2x H200, about 93 GB left. 4x leaves about 352 GBvLLM 200 GB. SGLang lists H200 at TP 4, H100 at TP 8, RTX PRO 6000 at TP 2
V4.1-Flash510.30 GB8x H200, about 527 GB left. 4x leaves only about 9 GBvLLM 614 GB. SGLang lists H200 among its launch recipes
V4.1-Flash-1017510.30 GBSame as V4.1-FlashvLLM's recipe makes it the default V4.1-Flash weights. SGLang's cookbook names only V4.1-Flash
V4-Pro-0813892.74 GB8x H200, about 145 GB leftvLLM 960 GB. SGLang lists H200 at TP 8

The left-over figures are calculated as 92% of the VM's memory minus the checkpoint. They leave out activations and CUDA graphs, and the engine's startup log has the real KV cache size. Sizes are the summed safetensors files and every card, recipe and cookbook in this article was checked on 12 November 2026.

V4-Flash on a 4x H200 VM

My starting point for V4 is V4-Flash-0731 on four H200s. SGLang's cookbook serves V4-Flash on a single H200 node at TP 4, and vLLM's recipe lists H200 among its verified hardware. An H200 SXM board joins GPUs through NVSwitch and an NVL bridge joins 2 or 4 cards, so check the Interconnect column below and run nvidia-smi topo -m on the VM.

No H200 VM is available to launch right now (checked 2026-11-30 09:50 UTC). Stock on these providers changes by the minute. Check the marketplace or see the other GPUs you can launch now.

Here are the essentials of the cookbook's H200 setup at TP 4: SGLang's latest image, which the cookbook now names for H100 and H200 as well as Blackwell, and the MoE runner that handles the FP4 experts on Hopper, wrapped in Docker. Check the VM's driver with nvidia-smi before pulling it. The port is published on the VM's loopback address and the --host 0.0.0.0 stays inside the container:

Code example
sudo docker run -d --name sglang --gpus all --shm-size 32g --ipc=host \
  -p 127.0.0.1:30000:30000 \
  -v ~/.cache/huggingface:/root/.cache/huggingface \
  lmsysorg/sglang:latest \
  sglang serve \
  --trust-remote-code \
  --model-path deepseek-ai/DeepSeek-V4-Flash-0731 \
  --tp 4 \
  --moe-runner-backend flashinfer_mxfp4 \
  --host 0.0.0.0 \
  --port 30000

The cookbook's configurator on that page generates the tuned profiles, such as DSpark speculative decoding.

For vLLM, the recipe's command builder prints the exact flags for your hardware. The v0.28.0 image is a CUDA 13.0 build according to vLLM's release notes, so check that nvidia-smi shows an R580 or newer driver before you pull it. The command below starts from the vLLM launch post's V4-Flash command, written for 4x B200 or B300. It drops the FP4 indexer flag, which the recipe uses only on Blackwell, and uses the image and model name the recipe gives for the 0731 checkpoint:

Code example
sudo docker run -d --name vllm --gpus all --ipc=host \
  -p 127.0.0.1:8000:8000 \
  -v ~/.cache/huggingface:/root/.cache/huggingface \
  vllm/vllm-openai:v0.28.0 deepseek-ai/DeepSeek-V4-Flash-0731 \
  --trust-remote-code \
  --kv-cache-dtype fp8 \
  --block-size 256 \
  --enable-expert-parallel \
  --data-parallel-size 4 \
  --compilation-config '{"cudagraph_mode":"FULL_AND_PIECEWISE", "custom_ops":["all"]}' \
  --tokenizer-mode deepseek_v4 \
  --tool-call-parser deepseek_v4 \
  --enable-auto-tool-choice \
  --reasoning-parser deepseek_v4

Reach either server through an SSH tunnel, as in the vLLM guide and the SGLang guide. The recipe asks for vLLM 0.25.0 or newer for the 0731 checkpoint, and Think Max needs a context of at least 393,216 tokens, so do not cap --max-model-len below that if you use it.

V4.1-Flash and V4-Pro need all 8 GPUs

V4.1-Flash is the newest of the three, and V4.1-Flash-1017 is its update. vLLM added the architecture in version 0.30.0, released on 22 September 2026, and its recipe now asks for 0.31.0 or newer, serves the 1017 weights by default and sizes the model at 614 GB, a fit for 8x H200. The recipe says the 1017 weights share the launch checkpoint's config and footprint, that both serve with the same command, and that its verified-hardware figures were measured on the launch checkpoint and not re-run on 1017. SGLang's V4.1 cookbook has launch recipes for GB300, H200, B200, B300 and MI355X. It says V4.1 support has not shipped in an SGLang release yet, so its NVIDIA recipes use the preview image lmsysorg/sglang:dev-dsv41, and its examples name only deepseek-ai/DeepSeek-V4.1-Flash. Copy the image and command its configurator generates.

Four H200s hold the weights but leave about 9 GB (calculated), so with everything on the GPUs use eight. vLLM's H200 recipe runs tensor parallel 4 instead by moving the Engram memory tables to pinned host RAM with --engram-config '{"cpu_offload":true}', which it says leaves 81.2 GiB of weights and 38.5 GiB of KV cache on each GPU. Check the VM's host memory with free -h before you choose that route.

V4-Pro is where the memory math bites. vLLM's recipe sizes it at 960 GB, and SGLang's cookbook lists 8x H200 at TP 8 for the 0813 checkpoint. Eight H100s hold 640 GB, which is not enough, and SGLang's H100 recipe uses 2 nodes. DeployGPU has no multi-node VMs, so that route goes through the cluster quote form. The frontier models page sets V4-Pro beside Kimi K3 and GLM-5.3.

See 8x H200 offers for V4-Pro

DeepSeek R1 and its distills

R1 is the older reasoning model, released in January 2025. Its model card lists 671 billion parameters, 37 billion active and a 128K context under the MIT license. It shares its architecture with DeepSeek-V3, so vLLM's R1 recipe covers both and names 8x H200 for the FP8 weights. That checkpoint is 688.59 GB, which leaves about 349 GB on 8x H200 (calculated). The card also publishes six distilled dense models from 1.5B to 70B. The 32B Qwen distill is 65.53 GB in BF16, which fits one 96 GB RTX PRO 6000 with about 23 GB left (calculated), or two 48 GB cards. The card's own vLLM command splits it over 2 GPUs. In Docker, with the port on loopback, it reads:

Code example
sudo docker run -d --name vllm --gpus all --ipc=host \
  -p 127.0.0.1:8000:8000 \
  -v ~/.cache/huggingface:/root/.cache/huggingface \
  vllm/vllm-openai:latest \
  --model deepseek-ai/DeepSeek-R1-Distill-Qwen-32B \
  --tensor-parallel-size 2 \
  --max-model-len 32768 \
  --enforce-eager

This one uses the latest image, which is built for CUDA 13.0, and vLLM's Docker page says that needs an R580 or newer driver, so run nvidia-smi first. On an older driver that reports CUDA 12.9, use v0.32.0-cu129, the last release with a CUDA 12.9 image (checked 12 November 2026).

For chat, Ollama lists deepseek-r1:32b at 20 GB, deepseek-r1:70b at 43 GB and deepseek-r1:671b at 404 GB, checked 12 November 2026. The 32B tag runs on a 48 GB card:

Launch Open WebUI + Ollama for DeepSeek-R1 32B

Opens the deploy page on the cheapest 1x 48 GB GPUs offer at 2026-11-30 09:50 UTC: QuantaCloud, $0.58/hr. You can pick another GPU there before paying.

Ollama and llama.cpp for V4

Ollama has a deepseek-v4-flash library page with no models pushed, while deepseek-v4-pro and deepseek-v4.1-flash are cloud tags only, and the V4.1-Flash page lists deepseek-v4.1-flash:1017-cloud beside deepseek-v4.1-flash:cloud. So on a rented GPU the engines are vLLM and SGLang, or llama.cpp with a third-party GGUF file. llama.cpp registers converters for both V4 and V4.1, and the V4.1 one merged on 25 October 2026 in pull request 31086, but DeepSeek's Hugging Face organization lists no GGUF files. Unsloth's unsloth/DeepSeek-V4.1-Flash-1017-GGUF holds quantizations from 232.98 GB for UD-IQ1_S to 508.38 GB for UD-Q8_K_XL, summed per folder. The llama.cpp server guide covers the engine for models that ship as GGUF.

MIT licenses and a 167 GB download

V4-Flash, V4-Pro, V4.1-Flash, V4.1-Flash-1017 and R1 are all MIT licensed, which allows commercial use and fine-tuning. The R1 distills inherit their base models' terms, which are Apache 2.0 for the Qwen distills and the Llama 3.1 and 3.3 licenses for the Llama ones. Stopping a DeployGPU instance deletes its disk, so every new session downloads the weights again: 167 GB for V4-Flash and 893 GB for V4-Pro. The stop guide shows what to copy off first.

Frequently asked questions

Which GPU do I need for DeepSeek V4-Flash?

Four H200s hold the 166.89 GB checkpoint with about 352 GB left for the cache. Two H200s also hold it, with about 93 GB left, but SGLang's verified recipe uses four.

Can I run DeepSeek V4-Pro on one DeployGPU VM?

Yes, on 8x H200, which leaves about 145 GB after the 892.74 GB checkpoint. Eight H100s hold only 640 GB, so they cannot, and a second node would need the cluster quote form.

Can I run DeepSeek V4 with Ollama?

Not locally. Ollama lists V4-Pro and V4.1-Flash, including its 1017 update, as cloud tags, and its V4-Flash page has no models. vLLM and SGLang are the engines to use on a rented GPU.

What is DeepSeek-V4.1-Flash-1017?

It is a minor update to V4.1-Flash that DeepSeek published on 17 October 2026. The files are the same size, 510.30 GB, so it needs the same 8x H200 VM, and its card says it improves reasoning, coding, agentic and visual benchmarks while shortening outputs.

Is DeepSeek R1 still worth running?

R1 is the older model and its 671B checkpoint needs 8x H200. The distills are the practical part: the 32B Qwen distill fits one RTX PRO 6000, while the 70B Llama distill needs 2x H200 or 4x 80 GB GPUs in BF16.

Is DeepSeek V4 free for commercial use?

Yes. The V4 and R1 weights are MIT licensed, which allows commercial use and fine-tuning.