DeepSeek V3 vs V3.1 vs R1: Which Model to Run Locally (2026 Comparison)
Want to go deeper than this article?
Free account unlocks the first chapter of all 25 courses — RAG, agents, MCP, voice AI, MLOps, real GitHub repos.
Go from reading about AI to building with AI 25 structured courses. Hands-on projects. Runs on your machine. Start free.
Published October 30, 2025 • Rewritten September 29, 2026
DeepSeek V3 and DeepSeek V3.1 are the same size and shape: a Mixture-of-Experts model with 671B total parameters, 37B active per token and a 128K context window. V3.1 is a retrain that adds a switchable thinking mode and much better tool use. Neither one is a realistic download for a desktop — the standard 4-bit build of either is 404 GB. This page sets out what DeepSeek published about each release, and what it would take to run one. Every number is copied from DeepSeek's model cards, its technical report, or the file listings on Hugging Face and Ollama; this site has not benchmarked these models.
The short answer
| DeepSeek V3 | DeepSeek V3.1 | DeepSeek R1 | |
|---|---|---|---|
| Released | 26 Dec 2024 (refresh V3-0324: 25 Mar 2025) | 21 Aug 2025 (refresh Terminus: 22 Sep 2025) | 20 Jan 2025 (refresh R1-0528: 28 May 2025) |
| Parameters | 671B total, 37B active | 671B total, 37B active | 671B total, 37B active |
| Context | 128K | 128K | 128K |
| Thinking mode | No | Yes — switched by the chat template | Always thinks |
| Weights licence | DeepSeek Model License for the December 2024 weights; MIT from V3-0324 | MIT | MIT |
| Ollama tag | deepseek-v3:671b (404 GB) | deepseek-v3.1:671b (404 GB) | deepseek-r1:671b (404 GB) |
Which to pick: if you have the hardware for a 671B model at all, V3.1-Terminus replaces both V3 and R1 — it is one set of weights that answers directly or reasons first, and DeepSeek's own table puts its thinking mode level with R1-0528. If you do not have that hardware, none of the three is the right download; see what replaced them and the small R1 distills below.
Reading articles is good. Building is better.
Free account = the first chapter of all 25 courses, with a per-chapter AI tutor. No card.
Release timeline
| Date | Release | What it was |
|---|---|---|
| 26 Dec 2024 | DeepSeek-V3 | First 671B MoE release; FP8 weights; technical report on arXiv |
| 20 Jan 2025 | DeepSeek-R1 | Reasoning model on the same 671B architecture, plus six small distilled models |
| 25 Mar 2025 | DeepSeek-V3-0324 | Retrained V3; repository and weights moved to the MIT licence |
| 28 May 2025 | DeepSeek-R1-0528 | Updated R1 |
| 21 Aug 2025 | DeepSeek-V3.1 | Hybrid thinking / non-thinking model; longer context-extension training |
| 22 Sep 2025 | DeepSeek-V3.1-Terminus | Bug-fix update: fewer mixed Chinese-English outputs, better agent scores |
| 29 Sep 2025 | DeepSeek-V3.2-Exp | Experimental release |
| 1 Dec 2025 | DeepSeek-V3.2 | Adds DeepSeek Sparse Attention for long context |
| April 2026 | DeepSeek-V4 | V4-Pro (1.6T / 49B active) and V4-Flash (284B / 13B active), 1M context |
Dates are from the DeepSeek API news index and the creation dates of the repositories under deepseek-ai on Hugging Face.
What changed from V3 to V3.1
The V3.1 model card lists three changes, in DeepSeek's words:
- Hybrid thinking mode. "One model supports both thinking mode and non-thinking mode by changing the chat template." In practice the prompt ends with an opening think tag to make the model reason first, or a closing think tag to make it answer directly. V3 has no thinking mode; before V3.1 you ran R1 for that.
- Smarter tool calling. "Through post-training optimization, the model's performance in tool usage and agent tasks has significantly improved." Tool calls are supported in non-thinking mode.
- Higher thinking efficiency. "DeepSeek-V3.1-Think achieves comparable answer quality to DeepSeek-R1-0528, while responding more quickly."
What did not change is the architecture. The card says "the model structure of DeepSeek-V3.1 is the same as DeepSeek-V3", and the parameter counts on Hugging Face are identical. V3.1 is built on a new base checkpoint whose long-context training was extended: the 32K phase grew tenfold to 630B tokens and the 128K phase 3.3 times to 209B tokens. The weights use a different FP8 scale format (UE8M0), which matters only if you run the original weights rather than a GGUF.
The September 2025 Terminus update kept the same capabilities and fixed two complaints: mixed Chinese-English text with occasional stray characters, and agent performance.
On the hosted API, the release note for V3.1 mapped deepseek-chat to non-thinking mode and deepseek-reasoner to thinking mode, both with 128K context.
Published benchmarks
These are DeepSeek's own results from the V3.1 model card. The V3 column is the March 2025 V3-0324 refresh, not the December 2024 original. DeepSeek notes that the SWE-bench rows use its internal code-agent framework, so they are not directly comparable with other vendors' figures.
| Benchmark | V3-0324 | V3.1 non-thinking | V3.1 thinking | R1-0528 |
|---|---|---|---|---|
| MMLU-Redux (EM) | 90.5 | 91.8 | 93.7 | 93.4 |
| MMLU-Pro (EM) | 81.2 | 83.7 | 84.8 | 85.0 |
| GPQA-Diamond | 68.4 | 74.9 | 80.1 | 81.0 |
| LiveCodeBench (2408-2505) | 43.0 | 56.4 | 74.8 | 73.3 |
| Aider-Polyglot | 55.1 | 68.4 | 76.3 | 71.6 |
| SWE Verified (agent mode) | 45.4 | 66.0 | — | 44.6 |
| SWE-bench Multilingual (agent mode) | 29.3 | 54.5 | — | 30.5 |
| Terminal-bench (Terminus 1) | 13.3 | 31.3 | — | 5.7 |
| AIME 2024 | 59.4 | 66.3 | 93.1 | 91.4 |
| AIME 2025 | 51.3 | 49.8 | 88.4 | 87.5 |
| HMMT 2025 | 29.2 | 33.5 | 84.2 | 79.4 |
Two things stand out. The agent rows are where V3.1 moved most: SWE Verified went from 45.4 to 66.0 without thinking. And on maths, non-thinking V3.1 is no better than V3-0324 (AIME 2025 is slightly lower) — the gain there comes entirely from switching thinking on.
The Terminus card reports SWE Verified 68.4, SWE-bench Multilingual 57.8 and Terminal-bench 36.7, with the reasoning scores within a point of V3.1.
For the original December 2024 model, the V3 card reports MMLU 88.5, HumanEval-Mul 82.6, LiveCodeBench 37.6, SWE Verified 42.0, Aider-Polyglot 49.6 and AIME 2024 39.2 for the chat model, and HumanEval 65.2 for the base model.
Run this on your own machine and stop paying every month
Pay once and keep it. No renewal, no per-token bill, and nothing you feed it ever leaves your hardware.
Hardware requirements
DeepSeek V3 and V3.1 do not fit on any single graphics card. The Ollama build of either is 404 GB, so it needs about 512 GB of system memory; the smallest GGUF anyone publishes is 147.5 GB and needs 192 GB. Only 37B parameters are active per token, but that sets speed, not memory: every one of the 671B weights has to be loaded before the first token comes out.
The arithmetic is parameters × bits per weight ÷ 8. At Q4_K_M that is 671B × 4.82 bits ÷ 8 = 404 GB, which matches the file.
| Build | File size | Bits per weight | Memory to plan for |
|---|---|---|---|
| IQ1_M (bartowski, V3.1) | 147.5 GB | 1.76 | 192 GB |
| UD-TQ1_0 (unsloth, V3.1) | 170.5 GB | 2.03 | 192 GB, little room for context |
| Q2_K (unsloth, V3.1) | 245.7 GB | 2.93 | 384 GB (256 GB is too tight) |
| Q3_K_M (unsloth, V3.1) | 320.5 GB | 3.82 | 384 GB |
Q4_K_M — Ollama deepseek-v3:671b, deepseek-v3.1:671b | 404 GB | 4.82 | 512 GB |
Q8_0 — Ollama 671b-q8_0 | 713 GB | 8.5 | 768 GB or more |
| Original FP8 weights (Hugging Face) | about 688 GB | 8 | More than eight 80 GB cards (8 × 80 = 640 GB) |
fp16 — Ollama 671b-fp16 | 1.3 TB | 16 | Not a workstation configuration |
"Memory to plan for" is the file size rounded up to the next common memory configuration, leaving room for the context cache and the operating system. It can be system RAM on a server, unified memory on a Mac, or VRAM summed across several cards. The V3-0324 files from unsloth are within a gigabyte or two of the V3.1 sizes at every level.
What this means for ordinary hardware:
- One 24 GB or 32 GB card: no build fits. The smallest file is over four times the size of an RTX 5090's memory.
- A 128 GB workstation or Mac: no build fits.
- 192–256 GB of memory: only the 1-bit and 2-bit builds load. Expect quality well below the published benchmarks at under 2 bits per weight — that is a general property of extreme quantisation, not something measured here.
- 512 GB of memory: the standard Q4_K_M build loads. That is server territory.
This site has no measured speed for any of these builds, so none is quoted. The MoE VRAM calculator does the same sum for other expert counts, and quantization explained covers what the build names mean.
How to run V3 or V3.1
With Ollama, if you have the memory:
# DeepSeek V3 — Q4_K_M, 404 GB
ollama pull deepseek-v3:671b
# DeepSeek V3.1 (the default tag is the Terminus update) — Q4_K_M, 404 GB
ollama pull deepseek-v3.1:671b
These are the only sizes Ollama lists; there is no small deepseek-v3 tag. Check deepseek-v3 tags and deepseek-v3.1 tags before pulling.
For a smaller quantisation, the GGUF repositories are unsloth/DeepSeek-V3.1-GGUF, bartowski/deepseek-ai_DeepSeek-V3.1-GGUF and unsloth/DeepSeek-V3-0324-GGUF, which load in llama.cpp.
For the original weights on a GPU server, the V3 model card lists SGLang, LMDeploy, TensorRT-LLM and vLLM as supported, on NVIDIA and AMD GPUs. DeepSeek publishes FP8 weights only and provides a script to convert them to BF16. The card also says two things V3.1 users need to get right: the expert-gate bias parameters must be computed in FP32, and FP8 weights must use the UE8M0 scale format.
If what you want is a DeepSeek model that runs on a normal PC, the January 2025 R1 release included distilled models. They are fine-tunes of Qwen2.5 and Llama, not smaller copies of V3, but they do fit:
| Ollama tag | Download |
|---|---|
| deepseek-r1:8b | 5.2 GB |
| deepseek-r1:14b | 9.0 GB |
| deepseek-r1:32b | 20 GB |
| deepseek-r1:70b | 43 GB |
Setup for those is in the DeepSeek R1 local setup guide; the full-size model is covered in the DeepSeek V3 local setup guide.
Licence
The licence is not the same for every release, which earlier versions of this page got wrong.
- DeepSeek-V3 (December 2024): the code is MIT. The weights are under the DeepSeek Model License, a custom agreement with use-based restrictions. The card states that the V3 series "supports commercial use".
- DeepSeek-V3-0324, V3.1, V3.1-Terminus, R1 and R1-0528: "This repository and the model weights are licensed under the MIT License."
So if the MIT licence matters to you, use V3-0324 or later rather than the original December weights. The R1 distills carry the terms of their base models as well — Apache 2.0 for the Qwen-based ones and Meta's Llama licences for the Llama-based ones.
The $5.6M training cost
The figure is real and it comes from Table 1 of the DeepSeek-V3 technical report: 2,664K GPU hours of pre-training, 119K for context extension and 5K for post-training, 2,788K H800 GPU hours in total. Priced at an assumed rental rate of $2 per GPU hour, that is $5.576M.
The report is explicit about what the number leaves out: it covers "only the official training of DeepSeek-V3, excluding the costs associated with prior research and ablation experiments on architectures, algorithms, or data". It is the cost of one training run at a rental price, not the cost of building the model, and the report makes no comparison with any other company's spending.
The same report describes the architecture. V3 uses Multi-head Latent Attention and the DeepSeekMoE design from V2, adds a load-balancing method that needs no auxiliary loss, and trains with a multi-token prediction objective. It was pre-trained on 14.8 trillion tokens. The published configuration has 61 layers with 256 routed experts and one shared expert per MoE layer, and routes each token to 8 experts.
What replaced V3 and V3.1
Both are superseded. DeepSeek released V3.2 in December 2025 and the V4 series in April 2026. V4-Flash is the one that matters for local use: at 284B total parameters it is well under half the size of V3, with 13B active per token, a 1M-token context and the MIT licence. V4-Pro is 1.6T parameters and larger than anything on this page.
- DeepSeek V4: sizes, context and local setup
- DeepSeek V4 hardware requirements by memory tier
- Best models for a 24 GB GPU, if one card is what you have
- Best local AI coding models
Questions people ask
Is DeepSeek V3.1 better than R1?
On DeepSeek's own table, V3.1 in thinking mode is level with or slightly ahead of R1-0528 on most rows (LiveCodeBench 74.8 against 73.3, AIME 2025 88.4 against 87.5) and slightly behind on GPQA-Diamond (80.1 against 81.0). The practical difference is that V3.1 can also answer without thinking and can call tools, so it covers both jobs with one download.
What is the context window of DeepSeek V3 and V3.1?
128K tokens for both, according to the model cards. Ollama's tag list shows 160K for the Q4_K_M builds, which matches the 163,840 position limit in the model's configuration file; it is the same model.
Why does Hugging Face say 685B when the model is 671B?
The V3 card explains it: 671B is the main model, and the repository also holds 14B of multi-token prediction module weights, which are a training aid.
What SWE-bench Verified score does DeepSeek V3 have?
DeepSeek reports 42.0 for the original V3, 45.4 for V3-0324, 66.0 for V3.1 and 68.4 for V3.1-Terminus. The last three were run in DeepSeek's internal agent framework.
Can I run DeepSeek V3.1 on an RTX 4090 or 5090?
No. The smallest published file is 147.5 GB and those cards have 24 GB and 32 GB. Layers can be offloaded to system RAM, but the whole file still has to fit in memory somewhere.
Sources
Go from reading about AI to building with AI
25 structured courses. Hands-on projects. Runs on your machine. Start free.
Liked this? 25 full AI courses are waiting.
From fundamentals to RAG, agents, MCP servers, voice AI, and production deployment with real GitHub repos. First chapter free, every course.
Build Real AI on Your Machine
RAG, agents, NLP, vision, and MLOps - chapters across 25 courses that take you from reading about AI to building AI.
Want the structured version?
Hands-on courses on local AI, from $8.99 a month. The first chapter of each is free.
Keep going
Comments (0)
No comments yet. Be the first to share your thoughts!
