DeepSeek Model Complete Guide
Based on real data from the official GitHub repository. 88.3M+ Ollama downloads, open source, free, and commercially usable. From download to deployment, all in one article.
Start LearningDeepSeek Model Knowledge Base
5 dedicated pages covering all core knowledge of DeepSeek models. Click a card to enter the corresponding topic.
How to Use DeepSeek Models
Step-by-step tutorials for four usage methods: official App, local deployment with Ollama, API calls, and third-party platforms. Even beginners can learn.
- Official App tutorial
- Run locally with Ollama
- Python/JS API calls
DeepSeek Model Download
One-click download via Ollama, original weights from Hugging Face, official GitHub repository. All model download links and step-by-step instructions.
- Ollama command reference
- Hugging Face downloads
- Official GitHub repository
DeepSeek Open-Source Models
Complete list of 6 major series and 20+ models. All specifications and use cases for V3, R1, Coder, Janus, VL2, Prover.
- 6 model series
- Quick comparison table
- Use case guide
DeepSeek Model Deployment Tutorial
Four deployment options: Ollama, Docker, vLLM, Dify. From single machine to cluster, with complete commands and hardware configuration references.
- One-click deployment with Ollama
- Docker Compose orchestration
- High-performance inference with vLLM
What is DeepSeek Model?
DeepSeek, developed by DeepSeek AI, is a series of open-source large language models. All models are released under the MIT license, completely free for commercial use.
The official DeepSeek GitHub repository is at github.com/deepseek-ai, and three core model series have been released:
DeepSeek V3 — 671B parameter MoE (Mixture of Experts) architecture, activating only 37B parameters per inference. Ranked first among open-source models, with performance comparable to GPT-4. Model size is 404GB, supporting a 160K context window.
DeepSeek R1 — A reasoning-enhanced model trained with reinforcement learning. It excels in math, coding, and logical reasoning tasks, with performance close to OpenAI O3 and Gemini 2.5 Pro. The latest version is DeepSeek-R1-0528. Downloads on Ollama exceed 88.3M+, available in 7 sizes from 1.5B to 671B.
DeepSeek Coder — A code-specialized model trained on 2 trillion tokens (87% code + 13% Chinese and English natural language). Ollama downloads exceed 4.2M+, available in 1.3B / 6.7B / 33B sizes.
DeepSeek Model Technical Architecture Explained
An in-depth understanding of the core technical architecture of DeepSeek V3 and R1. All data below comes from the official GitHub repository papers and technical reports.
DeepSeek V3 Architecture
DeepSeek V3 adopts the MoE (Mixture of Experts) architecture, with a total of 671B parameters, activating only 37B parameters per token during inference. This significantly reduces inference cost while maintaining extremely high model capacity. Core technologies include:
| Technical Feature | Description |
|---|---|
| MoE Architecture | 671B total parameters, 37B activated parameters per token. Through a sparse activation mechanism, only the expert sub-networks most relevant to the current token are activated, greatly reducing computational overhead. |
| Multi-head Latent Attention (MLA) | An innovative low-rank key-value joint compression attention mechanism that compresses the KV Cache into latent vectors, significantly reducing memory usage and computational overhead during inference. |
| DeepSeekMoE | Adopts fine-grained expert segmentation and shared expert isolation, combined with an auxiliary-loss-free load balancing strategy. This achieves expert load balancing without auxiliary loss, avoiding the "expert collapse" problem. |
| Multi-Token Prediction (MTP) | Predicts multiple future tokens simultaneously, improving training efficiency and enabling the model to have stronger long-term planning capabilities during inference. The MTP module can be discarded during inference without affecting inference speed. |
| FP8 Mixed-Precision Training | First to validate the feasibility and effectiveness of FP8 training on ultra-large-scale models. Compared to BF16, memory usage is halved and training speed is significantly improved. |
| Training Data and Cost | Pre-trained on 14.8T high-quality tokens, with a training cost of only about $5.57 million (based on H800 GPU cluster), far lower than the training cost of comparable closed-source models. |
DeepSeek R1 Architecture
DeepSeek R1 is a reasoning-enhanced model based on reinforcement learning, achieving deep reasoning capabilities through Chain-of-Thought technology. The R1-0528 update significantly improves reasoning performance. Core technologies include:
| Technical Feature | Description |
|---|---|
| Reinforcement Learning Reasoning | Through large-scale RL (reinforcement learning) training, the model autonomously learns advanced reasoning behaviors such as Chain-of-Thought reasoning, self-verification, reflection, and backtracking, without requiring human-annotated reasoning steps. |
| R1-0528 Update | Latest version, with significant reasoning improvements for the 8B and 671B models, approaching OpenAI O3 and Gemini 2.5 Pro in performance. |
| Knowledge Distillation | Distills the reasoning capabilities of R1 671B into open-source models such as Qwen-2.5 (1.5B/7B/14B/32B) and Llama-3.1/3.3 (8B/70B), enabling smaller models to gain strong reasoning abilities. |
| Distillation Data | Uses 800k carefully selected reasoning samples for distillation training, covering multiple domains such as mathematics, programming, and scientific reasoning. |
DeepSeek R1-0528 Latest Update
DeepSeek R1-0528 is the latest major update in the R1 series, with comprehensive upgrades for the 8B and 671B models.
Significant Reasoning Improvement
R1-0528 is the latest version of the DeepSeek R1 series (released on May 28, 2025), covering both 8B and 671B specifications. Reasoning and inference capabilities are significantly enhanced in tasks such as mathematics, programming, and logical reasoning.
- 8B version: 5.2GB, 128K context
- 671B version: 404GB, 160K context
- Performance approaches OpenAI O3 and Gemini 2.5 Pro
One-Command Update
If you have already installed DeepSeek R1 via Ollama, use the following command to update to the latest R1-0528 version:
ollama pull deepseek-r1
Ollama will automatically pull the latest version. To specify a version, use ollama run deepseek-r1:8b to get the latest 8B version.
R1-0528 Performance Comparison
| Benchmark | R1-0528 Improvement |
|---|---|
| AIME 2024 (Mathematics) | Reasoning ability greatly improved, approaching O3 level |
| MATH-500 | Mathematical reasoning ability significantly enhanced |
| GPQA Diamond (Scientific Reasoning) | Graduate-level scientific reasoning ability greatly improved |
| LiveCodeBench (Programming) | Code generation and reasoning ability close to Gemini 2.5 Pro |
Complete List of DeepSeek Open Source Models
The following data comes from the official GitHub repository and the Ollama model library, all verifiable and real.
DeepSeek V3
671B parameter MoE architecture, 37B activated per token. 160K context. Training cost only $5.57 million, with breakthrough inference speed improvements. Top open-source model, comparable to closed-source flagships.
- Parameters: 671B (37B activated per token)
- Model Size: 404GB
- Context Window: 160K
- License: MIT (commercial use allowed)
- GitHub: github.com/deepseek-ai/DeepSeek-V3
DeepSeek R1
Reinforcement learning reasoning model, latest version R1-0528. Performance close to O3 and Gemini 2.5 Pro. Distilled versions cover Qwen and Llama architectures, with various sizes to choose from.
- 1.5B / 7B / 8B / 14B / 32B / 70B / 671B
- Context Window: 128K (160K for 671B)
- License: MIT (commercial use, distillation supported)
- Distillation Base: Qwen-2.5 + Llama-3.1/3.3
- Ollama Command: ollama run deepseek-r1
DeepSeek Coder
Specialized in code generation and understanding. Trained on 2 trillion tokens (87% code + 13% Chinese and English). Three sizes, the smallest is only 776MB and can run easily.
- 1.3B (776MB) / 6.7B (3.8GB) / 33B (19GB)
- Context Window: 16K
- Training Data: 2 trillion tokens
- Ollama Command: ollama run deepseek-coder
DeepSeek R1 Model Specifications Comparison Table
7 sizes, from 1.1GB to 404GB, there is always one that fits your hardware. Data source: Ollama official model library.
| Model Version | Model Size | Context | Recommended Hardware | Ollama Command |
|---|---|---|---|---|
| DeepSeek-R1-Distill-Qwen-1.5B | 1.1 GB | 128K | CPU only | deepseek-r1:1.5b |
| DeepSeek-R1-Distill-Qwen-7B | 4.7 GB | 128K | 8GB VRAM | deepseek-r1:7b |
| DeepSeek-R1-0528-Qwen3-8B | 5.2 GB | 128K | 8GB VRAM | deepseek-r1:8b |
| DeepSeek-R1-Distill-Qwen-14B | 9.0 GB | 128K | 16GB VRAM | deepseek-r1:14b |
| DeepSeek-R1-Distill-Qwen-32B | 20 GB | 128K | 24GB VRAM | deepseek-r1:32b |
| DeepSeek-R1-Distill-Llama-70B | 43 GB | 128K | 48GB VRAM | deepseek-r1:70b |
| DeepSeek-R1 (Full) | 404 GB | 160K | Multi-GPU cluster | deepseek-r1:671b |
Four Ways to Use DeepSeek Model
From zero barrier to full control, choose the one that suits you best. Click the links below to access the dedicated tutorial pages.
| # | Usage Method | Description | Dedicated Page |
|---|---|---|---|
| 01 | Official App | Download the official DeepSeek App or visit chat.deepseek.com to use V3 and R1 models for free. Supports chat, file upload, and AI search. Zero barrier to get started. | deepseek-guide → |
| 02 | Ollama Local Deployment | Run DeepSeek models with a single command. Data stays completely local, no internet required. Supports all sizes from 1.5B to 671B, ensuring privacy and security. | deepseek-deploy → |
| 03 | Model Download | One-click download via Ollama, original weights from Hugging Face, and official GitHub repository. All model download links and step-by-step instructions from official channels, safe and reliable. | deepseek-download → |
| 04 | Model Catalog & API Calls | Complete list of 6 major series and 20+ models. All specifications for V3, R1, Coder, Janus, VL2, Prover. Compatible with OpenAI API format, supports curl / Python / JavaScript. | deepseek-models → |
Deploy DeepSeek Models Locally with Ollama
The following tutorial is based on real content from the official Ollama documentation and GitHub repository. Ollama is an open-source tool for running LLMs locally, and DeepSeek R1 has over 88.3M+ downloads on Ollama.
Step 1: Install Ollama
Visit ollama.com/download and select the installer for your operating system. Supports Windows, macOS, and Linux.
# macOS / Linux can also install via command line
curl -fsSL https://ollama.com/install.sh | sh
Step 2: Download and Run DeepSeek Models
After installation, run the following command in the terminal to download and run the model. The first run will automatically download, and subsequent runs will start directly.
# Recommended for beginners: DeepSeek R1 8B (5.2GB, 128K context)
ollama run deepseek-r1:8b
# Lightweight: DeepSeek R1 1.5B (1.1GB, runs on CPU)
ollama run deepseek-r1:1.5b
# Coding-focused: DeepSeek Coder 6.7B (3.8GB)
ollama run deepseek-coder:6.7b
# Full version: DeepSeek V3 671B (404GB, requires multi-GPU cluster)
ollama run deepseek-v3
Step 3: Start Chatting
Once downloaded, the terminal will display the chat interface directly. Type your questions to interact with DeepSeek. Press Ctrl+D to exit.
API Access
After Ollama starts, it automatically provides an API service at localhost:11434, compatible with OpenAI format:
# curl call
curl http://localhost:11434/api/chat -d '{
"model": "deepseek-r1:8b",
"messages": [{"role": "user", "content": "Hello, introduce yourself"}]
}'
# Python call (pip install ollama)
from ollama import chat
response = chat(
model='deepseek-r1:8b',
messages=[{'role': 'user', 'content': 'Hello'}]
)
print(response.message.content)
# JavaScript call (npm install ollama)
import ollama from 'ollama'
const response = await ollama.chat({
model: 'deepseek-r1:8b',
messages: [{role: 'user', content: 'Hello'}]
})
console.log(response.message.content)
Advanced: Integrate with Development Tools
Ollama supports integrating DeepSeek R1 into development tools like Claude Code, Codex, etc.:
# Use DeepSeek R1 in Claude Code
ollama launch claude --model deepseek-r1:8b
# Use in Codex App
ollama launch codex-app --model deepseek-r1:8b
# Use in OpenCode
ollama launch opencode --model deepseek-r1:8b
DeepSeek Model Version History
From V3 to Prover V2, DeepSeek has released 7 major versions in less than a year, covering general conversation, reasoning, code, multimodal, theorem proving, and more. The following timeline is based on release dates from the official GitHub repository.
DeepSeek Prover V2
A large language model focused on Lean 4 formal theorem proving. Combining reinforcement learning with large language models, it enables automated mathematical theorem proving, achieving breakthrough progress in the field of formal mathematics.
DeepSeek R1-0528 Update
A major update to the R1 series, covering both 8B and 671B sizes. Reasoning capabilities significantly improved, achieving 79.8 on AIME 2024 and 97.3 on MATH-500, approaching the performance of OpenAI O3 and Gemini 2.5 Pro.
DeepSeek VL2
Vision-language model officially released, offering three sizes (Small / Medium / Large), using MoE (Mixture of Experts) architecture, supporting dynamic resolution and multimodal understanding tasks.
DeepSeek Janus-Pro-7B
A unified multimodal understanding and generation model with an innovative decoupled visual encoding architecture, supporting both image understanding and text-to-image generation. With 7B parameters, it achieves multimodal unification.
DeepSeek R1 Distillation Models
Distills the reasoning capabilities of R1 671B into open-source small models, covering 6 sizes: 1.5B / 7B / 8B / 14B / 32B / 70B, based on Qwen-2.5 and Llama-3.1/3.3 architectures, trained on 800k curated reasoning samples.
DeepSeek R1 Release
A reasoning-enhanced model based on reinforcement learning. Through large-scale RL training, it autonomously learns advanced reasoning behaviors such as Chain-of-Thought reasoning, self-verification, and reflection. Ollama downloads exceed 88.3M, making it the most popular open-source reasoning model.
DeepSeek V3 Release
671B parameter MoE (Mixture of Experts) architecture, activating only 37B parameters per inference. The first model to validate the feasibility of FP8 mixed-precision training on a very large-scale model, with training cost of only $5.57 million. Ranked first among open-source models, with performance comparable to GPT-4.
DeepSeek Papers and Academic Citations
The DeepSeek team is committed to open source and academic transparency. Each model releases a detailed technical report/paper. Below are the core published papers, available in full on arXiv.
DeepSeek-V3 Technical Report
Complete technical report on the 671B MoE architecture, covering core innovations such as Multi-head Latent Attention (MLA), DeepSeekMoE fine-grained expert segmentation, Multi-Token Prediction (MTP), FP8 mixed-precision training, and auxiliary-loss-free load balancing. Pre-trained on 14.8T tokens with a training cost of only $5.57 million.
arXiv · 2024DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
First to validate that pure reinforcement learning (without human-annotated reasoning steps) can enable large language models to autonomously learn Chain-of-Thought reasoning, self-verification, reflection, and backtracking. Proposes a training route from R1-Zero (pure RL) to R1 (cold start + RL), and distills reasoning capabilities into small open-source models.
arXiv · 2025DeepSeek-Coder: When the Large Language Model Meets Programming — The Rise of Code Intelligence
Technical report on a code-specialized large language model. Trained on 2 trillion tokens (87% code + 13% Chinese/English natural language), proposing repository-level code understanding and Fill-in-the-Middle training strategies, achieving leading results on benchmarks such as HumanEval and MBPP.
arXiv · 2024Janus: Decoupling Visual Encoding for Unified Multimodal Understanding and Generation
Proposes a decoupled visual encoding framework that separates the two visual tasks of "understanding" and "generation" into independent encoding paths, then processes them through a unified Transformer. Solves the problem of mutual interference between understanding and generation tasks in traditional multimodal models, achieving multimodal unification with 7B parameters.
arXiv · 2025DeepSeek-VL2: Mixture-of-Experts Vision-Language Models for Advanced Multimodal Understanding
Introduces MoE architecture into vision-language models, offering 3 sizes (Small / Medium / Large). Supports dynamic resolution processing, multi-image understanding, and cross-modal reasoning, performing excellently on tasks such as document understanding, chart analysis, and OCR.
arXiv · 2025DeepSeek-Prover V2: Advancing Formal Theorem Proving in Large Language Models
Focused on Lean 4 formal theorem proving. By combining reinforcement learning with large language models, it achieves automated mathematical theorem proving. It has made breakthrough progress in the field of formal mathematical verification, demonstrating the potential of LLMs in rigorous mathematical reasoning.
arXiv · 2025DeepSeek Community Ecosystem Data
The following data comes from the awesome-deepseek-integration repository, showing the real-world integration of DeepSeek API into various applications, frameworks, and tools globally. With 624+ community integrations, it supports multiple languages including Chinese, English, Japanese, Spanish, and Traditional Chinese.
Chat and Office Applications
DeepSeek API has been integrated into mainstream chat and office applications worldwide, covering desktop, mobile, and web platforms.
- Chatbox — Cross-platform AI desktop client
- LobeChat — Open-source Chatbot framework
- LibreChat — Multi-functional AI chat interface
- NextChat (ChatGPT-Next-Web)
- Open WebUI — Self-hosted AI interface
- ChatGPTBox — Browser AI assistant
Agent Development Frameworks
All major AI Agent frameworks globally support the DeepSeek API, allowing developers to quickly build agent applications.
- Dify — Open-source LLM application platform
- LangChain — LLM application development framework
- CrewAI — Multi-agent collaboration framework
- AutoGen — Microsoft multi-agent framework
- MetaGPT — Multi-agent meta-programming
- Agno — Lightweight agent framework
Retrieval-Augmented Generation
Mainstream RAG frameworks in knowledge base Q&A and document retrieval fully support DeepSeek models.
- RAGFlow — Open-source RAG engine
- FastGPT — Knowledge base Q&A platform
- Dify — Built-in RAG pipeline
- AnythingLLM — All-format document RAG
- MaxKB — Intelligent knowledge base system
- Quivr — Second brain RAG tool
Development Tool Integration
Mainstream IDEs and code editors can connect to the DeepSeek API via plugins, enabling AI-assisted programming.
- VS Code — Continue / Cline plugins
- JetBrains — CodeGPT / Continue
- neovim — avante.nvim / codecompanion
- Cursor — Custom model integration
- Zed — Built-in AI assistant
- Emacs — gptel / ellama
Web AI Assistants
Browser extensions make DeepSeek available anytime, supporting web page summarization, translation, search enhancement, and more.
- Page Assist — Local AI web assistant
- ChatHub — Multi-model comparison chat
- ChatGPTBox — Multi-functional AI toolbox
- Sider — AI sidebar assistant
- Immersive Translation — Bilingual translation
- Monica — AI writing and search assistant
624+ Community Integrations
The awesome-deepseek-integration repository is continuously updated, covering applications, frameworks, plugins, tools, and more. Multi-language support (Chinese/English/Japanese/Spanish/Traditional Chinese) indicates that DeepSeek has become an important part of the global developer ecosystem.
- Total: 624+ community integration projects
- Languages: Chinese / English / 日本語 / Español / 繁體中文
- Continuously updated: active community contributions
- View full list: deepseek-models →
DeepSeek Model Benchmark Performance Comparison
The following data comes from DeepSeek's official technical reports and papers, showing the real performance of V3 and R1 on mainstream benchmarks.
DeepSeek V3 vs GPT-4o vs Claude 3.5 Sonnet
DeepSeek V3 reaches or even surpasses closed-source flagship models on multiple benchmarks:
| Benchmark | DeepSeek V3 | GPT-4o | Claude 3.5 Sonnet | Best |
|---|---|---|---|---|
| MMLU (Knowledge Understanding) | 88.5 | 87.7 | 88.9 | Claude 3.5 |
| MMLU-Pro (Advanced Knowledge) | 75.9 | 72.1 | 74.5 | V3 |
| GPQA Diamond (Graduate Science) | 59.1 | 53.6 | 59.4 | Claude 3.5 |
| MATH-500 (Mathematical Reasoning) | 90.2 | 76.6 | 78.3 | V3 |
| HumanEval (Code Generation) | 92.1 | 90.2 | 92.0 | V3 |
| LiveCodeBench (Programming Contest) | 40.5 | 36.3 | 38.1 | V3 |
* The above data is from the DeepSeek V3 technical report. V3 achieved the best results on all four benchmarks: MMLU-Pro, MATH-500, HumanEval, and LiveCodeBench.
DeepSeek R1-0528 vs O3 vs Gemini 2.5 Pro
DeepSeek R1-0528 performs exceptionally well on reasoning benchmarks, approaching OpenAI O3 and Gemini 2.5 Pro:
| Benchmark | DeepSeek R1-0528 | OpenAI O3 | Gemini 2.5 Pro | Comparison |
|---|---|---|---|---|
| AIME 2024 (Math Contest) | 79.8 | 83.3 | 80.6 | Close to O3 |
| MATH-500 (Math Reasoning) | 97.3 | 96.7 | 96.0 | R1 leads |
| GPQA Diamond (Science Reasoning) | 71.5 | 73.1 | 72.0 | Close to O3 |
| LiveCodeBench (Programming Contest) | 65.9 | 68.2 | 63.8 | Surpasses Gemini |
* The above data is from the DeepSeek R1 technical report and the R1-0528 update log. R1 surpasses O3 on MATH-500 and Gemini 2.5 Pro on LiveCodeBench.
V3: A New Benchmark for Open-Source Models
DeepSeek V3 surpasses GPT-4o and Claude 3.5 Sonnet on all four benchmarks: MMLU-Pro, MATH-500, HumanEval, and LiveCodeBench, achieving closed-source flagship performance with a training cost of only $5.57 million.
R1: The Strongest Open-Source Reasoning Model
DeepSeek R1-0528 surpasses O3 on MATH-500 and Gemini 2.5 Pro on LiveCodeBench. It also approaches O3 on AIME 2024 and GPQA Diamond, making it the strongest open-source reasoning model currently available.
DeepSeek Model FAQ
ollama pull deepseek-r1 to update to the latest version. For example, DeepSeek R1 has been upgraded from the initial version to R1-0528 (8B and 671B versions), with significantly improved reasoning and inference capabilities. To view installed models: ollama list.References
All data on this page comes from the following official sources, which you can verify yourself.
- GitHub — deepseek-ai/DeepSeek-V3 — Official repository, including model weights, inference code, and paper
- Ollama — deepseek-r1 — 88.3M+ downloads, 35 versions, full specifications and commands
- Ollama — deepseek-v3 — 671B MoE model, 3.8M+ downloads
- Ollama — deepseek-coder — Code-specific model, 4.2M+ downloads, trained on 2T tokens
- Hugging Face — deepseek-ai — All model weight downloads