DeepSeek AIMixture-of-Experts (MoE) with Multi-Head Latent Attention (MLA)

Cheapest Way to Run DeepSeek-R1 (671B MoE) in the Cloud

DeepSeek-R1 utilizes large-scale reinforcement learning (RL) without supervised fine-tuning (SFT) to achieve reasoning capabilities that rival proprietary frontier models. Running the full 671B checkpoint requires high-bandwidth memory (HBM3) across multi-GPU SXM trays, while distilled variants (70B, 32B, 14B) run on consumer hardware.

Lowest Cloud Rate
$1.85 /hr
Verified on Spot & On-Demand

Memory & VRAM Requirements Across Quantization Bit-Depths

4-Bit INT4 (AWQ/GPTQ)RECOMMENDED
380 GB

380 GB (AWQ/GPTQ, runs on 4x H100 80GB or 8x RTX 4090)

8-Bit FP8 PrecisionBALANCED
720 GB

720 GB (requires 8x H100 80GB or 8x A100 80GB with NVLink)

16-Bit Full FP16MAX QUALITY
1,400 GB

1,400 GB (requires 16x H100 80GB)

Cheapest Dedicated Cloud GPUs for DeepSeek-R1 (671B MoE)

Full root SSH container access with CUDA pre-loaded and fast weights downloading.

RunPod logo
RunPod
$21.52/hr
8x H100 SXM5

Full NVLink 4 with pre-configured vLLM multi-node container

Nebius AI logo
Nebius AI
$19.60/hr
8x H100 SXM5

3.2 Tbps InfiniBand cluster fabric for minimal tensor-parallel overhead

Vast.ai logo
Vast.ai
$0.20/hr
DeepSeek-R1-Distill-70B on 1x 4090

Cheapest spot hardware for single-GPU distilled reasoning runs

Cheapest Serverless Token Endpoints for DeepSeek-R1 (671B MoE)

ProviderInput / 1M TokensOutput / 1M TokensGeneration SpeedAPI Action
DeepInfra logo
DeepInfra
$0.55$2.19~65 tokens/sUse API
Together AI logo
Together AI
$0.88$2.50~80 tokens/sUse API

1-Click Docker Launch Command (vLLM)

docker run --gpus all --ipc=host -d -p 8000:8000 \
  -v ~/.cache/huggingface:/root/.cache/huggingface \
  vllm/vllm-openai:latest \
  --model deepseek-ai/DeepSeek-R1-Distill-Llama-70B \
  --tensor-parallel-size 1 \
  --gpu-memory-utilization 0.95

Dedicated Cloud Pod vs Serverless API: Cost Break-Even for DeepSeek-R1 (671B MoE)

Dedicated Cloud GPU PodFrom $44.40/day

Renting a dedicated instance (e.g., N/A for full 671B (Use DeepSeek-R1-Distill-70B on 1x L40S 48GB) at $1.85/hr) provides 100% reserved GPU memory, full root SSH container control, customizable prompt caches, and zero API rate limits.

Best For: Sustained daily generation, proprietary data security, custom LoRA weight swapping, and guaranteed sub-50ms latency.
Serverless Pay-Per-Token API$0.55 / 1M tokens

Serverless endpoints automatically scale down to zero when no requests are active, completely eliminating idle GPU and stopped volume storage costs.

Best For: Variable traffic, experimental prototyping, serverless microservices, and apps with under 15–20 million daily tokens.

Production Serving Architecture & Throughput Optimization for DeepSeek-R1 (671B MoE)

1. PagedAttention Allocation

Configure --gpu-memory-utilization 0.95 in vLLM to reserve maximum memory pages for non-contiguous KV cache, eliminating memory fragmentation.

2. Dynamic FP8 KV Cache

Enable --kv-cache-dtype fp8 to halve KV cache footprint, doubling the maximum concurrent context window without degrading reasoning quality.

3. Continuous Batching

Batch incoming user prompts at the token level rather than sequence level, sustaining 4x higher throughput during high concurrency.

Get DeepSeek-R1 (671B MoE) Price-Drop & Token Rate Alerts

We monitor DeepSeek-R1 (671B MoE) inference endpoints across DeepInfra, Together AI, Groq, and Cerebras 24/7. Get notified when token rates drop or new serverless endpoints launch.

Frequently Asked Questions: Running DeepSeek-R1 (671B MoE)

What is the cheapest way to run DeepSeek-R1 in the cloud?

For the full 671B model, renting an 8x H100 SXM cluster ($19–$22/hr) on RunPod or Nebius is required for dedicated hosting. For pay-as-you-go workloads, DeepInfra's serverless endpoint ($0.55/1M prompt, $2.19/1M completion) is the most cost-effective option globally. If self-hosting on a budget, DeepSeek-R1-Distill-70B runs on a single 48GB L40S or RTX 6000 Ada ($0.79/hr).

Can I run full DeepSeek-R1 on RTX 4090 GPUs?

No, a single or dual RTX 4090 (24GB/48GB) cannot fit the 671B weights even in 4-bit quantization. However, an 8x RTX 4090 cluster (192GB VRAM total) can run high-quantization GGUF (IQ2_XXS/IQ3_XXS) with CPU offloading, though inference speed will be slow. It is strongly recommended to use the 70B distilled version or serverless APIs instead.