DeepSeek-R1 Reasoning Model
Run DeepSeek-R1 open-source reasoning model on Clore.ai GPUs
All examples run on GPU servers rented via the CLORE.AI Marketplace. RTX 4090 instances start at $0.14–0.42/hr.
Overview
DeepSeek-R1 is a 671B-parameter open-weight reasoning model released in January 2025 by DeepSeek under the Apache 2.0 license. It is the first open model to match OpenAI o1 across math, coding, and scientific benchmarks — while exposing its entire chain-of-thought through explicit <think> tags.
The full model uses Mixture-of-Experts (MoE) with 37B active parameters per token, making inference tractable despite the headline parameter count. For most practitioners, the distilled variants (1.5B → 70B) are more practical: they inherit R1's reasoning patterns through knowledge distillation into Qwen-2.5 and Llama-3 base architectures and run on commodity GPUs.
Key Features
Explicit chain-of-thought — every response begins with a
<think>block where the model reasons, backtracks, and self-corrects before producing a final answerReinforcement-learning trained — reasoning ability emerges from RL reward signals rather than hand-authored chain-of-thought data
Six distilled variants — 1.5B, 7B, 8B, 14B, 32B, 70B parameter models distilled from the full 671B into Qwen and Llama architectures
Apache 2.0 license — fully commercial, no royalties, no usage restrictions
Wide framework support — Ollama, vLLM, llama.cpp, SGLang, Transformers, TGI all work out of the box
AIME 2024 Pass@1: 79.8% — ties with OpenAI o1 on competition math
Codeforces 2029 Elo — exceeds o1's 1891 on competitive programming
Model Variants
DeepSeek-R1 (full MoE)
671B (37B active)
DeepSeek MoE
~1.3 TB
~350 GB
~340 GB
R1-Distill-Llama-70B
70B
Llama 3
140 GB
40 GB
42 GB
R1-Distill-Qwen-32B
32B
Qwen 2.5
64 GB
22 GB
20 GB
R1-Distill-Qwen-14B
14B
Qwen 2.5
28 GB
10 GB
9 GB
R1-Distill-Llama-8B
8B
Llama 3
16 GB
6 GB
5.5 GB
R1-Distill-Qwen-7B
7B
Qwen 2.5
14 GB
5 GB
4.5 GB
R1-Distill-Qwen-1.5B
1.5B
Qwen 2.5
3 GB
2 GB
1.2 GB
Choosing a Variant
Quick experiments, edge testing
R1-Distill-Qwen-1.5B
Any GPU
Budget deployment, fast inference
R1-Distill-Qwen-7B
RTX 3090 ($0.07–0.21/hr)
Maximum distilled quality
R1-Distill-Llama-70B
2× A100 80 GB
Research, full-fidelity reasoning
DeepSeek-R1 671B
8× H100 cluster
HuggingFace Repositories
Full R1
Llama-70B distill
Qwen-32B distill
Qwen-14B distill
Llama-8B distill
Qwen-7B distill
Qwen-1.5B distill
Requirements
Multi-GPU 80GB-class rigs are not listed on the Clore.ai marketplace. The biggest boxes listed today are 4× RTX PRO 6000 Blackwell (96GB each, 380GB total) and 8–11× RTX 5090 (32GB each). A100 / H200 / B200 capacity is sold as bare metal on request. Check GPU Pricing & Availability before sizing a deployment.
GPU VRAM
6 GB
24 GB
System RAM
16 GB
32 GB
Disk
10 GB
30 GB
CUDA
12.8+
12.8+
Docker
24.0+
25.0+
Ollama Quick Start
Ollama handles quantization, downloading, and serving automatically — the fastest path to a running DeepSeek-R1.
Install and run
Example interactive session
Use the OpenAI-compatible API
Python client (via OpenAI SDK)
vLLM Production Setup
vLLM delivers the highest throughput for multi-user serving with continuous batching, PagedAttention, and prefix caching.
Single GPU — 7B / 14B
Multi-GPU — 32B (recommended)
Tip: The 32B Q4 GPTQ or AWQ checkpoint fits on a single RTX 4090 (24 GB):
Multi-GPU — 70B
Query the vLLM endpoint
Transformers / Python (with <think> Tag Parsing)
Use HuggingFace Transformers when you need fine-grained control over generation or want to integrate R1 into a Python pipeline.
Basic generation
Parsing <think> tags
Streaming with <think> state tracking
Docker Deployment on Clore.ai
Ollama Docker (simplest)
Docker image: ollama/ollama Ports: 22/tcp, 11434/http
vLLM Docker (production)
Docker image: vllm/vllm-openai:latest Ports: 22/tcp, 8000/http
Deploy on Clore.ai:
Open clore.ai/marketplace
Filter by 2× GPU, 48 GB+ VRAM total (e.g. 2× RTX 4090 or A100 80 GB)
Set the Docker image to
vllm/vllm-openai:latestMap port 8000 as HTTP
Paste the command from the compose file above into the startup command
Connect via the HTTP endpoint once the health check passes
Tips for Clore.ai Deployments
Choosing the right GPU
Minimal
RTX 3090 (24 GB)
$0.30 – 1.00
R1-Distill-Qwen-7B or 14B Q4
Standard
RTX 4090 (24 GB)
$0.50 – 2.00
R1-Distill-Qwen-14B FP16 or 32B Q4
Production
A100 80 GB
$3 – 8
R1-Distill-Qwen-32B FP16
High quality
2× A100 80 GB
$6 – 16
R1-Distill-Llama-70B FP16
Performance tuning
Temperature 0.6 is the recommended default for reasoning tasks — DeepSeek's own papers use this value
Set
max_tokensgenerously — reasoning models produce long<think>blocks; 4096+ for non-trivial problemsEnable prefix caching (
--enable-prefix-cachingin vLLM) when using a shared system promptLimit concurrency (
--max-num-seqs 16) for reasoning workloads — each request uses more compute than a standard chatUse Q4 quantization to fit 32B on a single 24 GB GPU with minimal quality loss (the distill already compresses R1's knowledge)
Context length considerations
Reasoning models consume more context than standard chat models because of the <think> block:
Simple arithmetic
~100 tokens
~300 tokens
Code generation
~500–1000 tokens
~2000 tokens
Competition math (AIME)
~2000–4000 tokens
~5000 tokens
Multi-step research analysis
~4000–8000 tokens
~10000 tokens
Troubleshooting
Out of memory (OOM)
Model produces no <think> block
Some system prompts suppress thinking. Avoid instructions like "be concise" or "don't explain your reasoning." Use a minimal system prompt or none at all:
Repetitive or looping <think> output
Lower the temperature to reduce randomness in the reasoning chain:
Slow first token (high TTFT)
This is expected — the model generates <think> tokens before the visible answer. For latency-sensitive applications where reasoning is not needed, use DeepSeek-V3 instead.
Download stalls on Clore instance
HuggingFace downloads can be slow on some providers. Pre-cache the model into a persistent volume:
Further Reading
DeepSeek-R1 Paper — Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
DeepSeek-R1 GitHub — Official repository with model cards
DeepSeek-V3 Guide — Non-reasoning general-purpose model from the same lab
vLLM Guide — Comprehensive production serving setup
Ollama Guide — Simple local deployment for any model
Open WebUI Guide — Chat UI with native
<think>tag renderingQwen 2.5 Guide — The base architecture used by most R1 distills
Last updated
Was this helpful?