DeepSeek-R1 logo

DeepSeek-R1

Visit

DeepSeek-R1 is a 671B-parameter reasoning model (37B active per token) trained with reinforcement learning, released in January 2025 under the MIT license.

Share:
View alternatives

DeepSeek-R1 is DeepSeek's first-generation reasoning model. According to its Hugging Face model card, it is a Mixture-of-Experts model built on DeepSeek-V3-Base, with 671B total parameters, 37B activated per token and a 128K context length. The accompanying paper, arXiv 2501.12948, was published on January 22, 2025. DeepSeek released the code and weights under the MIT license, together with six distilled models.

Key features

  • Reinforcement-learning reasoning: the card describes DeepSeek-R1-Zero and DeepSeek-R1 as first-generation reasoning models whose reasoning is developed through large-scale reinforcement learning.
  • Open weights, MIT license: commercial use, modification, derivative works and distillation to train other models are all permitted.
  • Distilled family: six smaller models based on Qwen2.5 and Llama, from 1.5B to 70B parameters, were released alongside it. They inherit the license of their base models (Apache 2.0 for the Qwen-based ones, Llama licenses for the Llama-based ones).
  • Vendor-reported results: DeepSeek reports 79.8 on AIME 2024 (pass@1), 97.3 on MATH-500, 71.5 on GPQA-Diamond, 65.9 on LiveCodeBench and a Codeforces rating of 2029. These are DeepSeek's own evaluations.

Model specs

Spec DeepSeek-R1
Architecture Mixture-of-Experts, based on DeepSeek-V3-Base
Total / active parameters 671B / 37B
Context length 128K
License MIT (code and weights)
Hugging Face repo deepseek-ai/DeepSeek-R1

Distilled models

Model Base
DeepSeek-R1-Distill-Qwen-1.5B Qwen2.5-Math-1.5B
DeepSeek-R1-Distill-Qwen-7B Qwen2.5-Math-7B
DeepSeek-R1-Distill-Llama-8B Llama-3.1-8B
DeepSeek-R1-Distill-Qwen-14B Qwen2.5-14B
DeepSeek-R1-Distill-Qwen-32B Qwen2.5-32B
DeepSeek-R1-Distill-Llama-70B Llama-3.3-70B-Instruct

Use cases

  • Math, code and science problems that benefit from long chain-of-thought reasoning.
  • Research on reasoning, reinforcement learning and distillation.
  • Running a smaller distilled model locally when the full 671B model is too large.

Getting started

  1. Download the weights from the model card, or pick one of the distilled models.
  2. Serve the distilled models with vLLM or SGLang, the way you would serve a Qwen or Llama model. The card notes that Transformers did not yet directly support the full R1 model locally.
  3. Follow DeepSeek's recommendations: temperature 0.5 to 0.7 (0.6 suggested), put all instructions in the user prompt with no system prompt, and for math ask for step-by-step reasoning with the final answer in \boxed{}.
  4. Force the output to begin with <think>\n so the model does not skip its reasoning.

FAQ

Is DeepSeek-R1 open source?

The code and weights are released under the MIT license, which allows commercial use and distillation.

What is DeepSeek-R1's context length?

128K tokens, according to the model card.

How many parameters does DeepSeek-R1 have?

671B in total, with 37B activated per token.

Should I use a system prompt?

No. DeepSeek recommends putting all instructions in the user prompt.

Is there a newer DeepSeek model?

The R1 card names no successor. DeepSeek's newer lines have their own entries, such as DeepSeek V4 and DeepSeek V3.

Alternatives

Conclusion

DeepSeek-R1 is a landmark open-weight reasoning model, and its distilled variants remain a practical way to run reasoning models on modest hardware. Read the official model card for the full usage guidance, and browse the models category for newer options.

Comments

No comments yet. Be the first to comment!