SuperAPI AI Directory

DeepSeek-R1

DeepSeek's first-generation open reasoning models — R1 showed that large-scale reinforcement learning alone can reach frontier-level reasoning, kicking off the open-source reasoning wave in early 2025. Now superseded by DeepSeek-V4 for new projects.

Open website

About this tool

Purpose

DeepSeek-R1 is the first generation of open-source reasoning model series released by DeepSeek, targeting mathematics, code, and complex reasoning tasks. The series includes two main models: DeepSeek-R1-Zero and DeepSeek-R1, as well as six dense models distilled based on Llama and Qwen. Its release is regarded as one of the starting points of the open-source reasoning wave in early 2025.

Main Capabilities

  • DeepSeek-R1-Zero: Applies large-scale reinforcement learning (RL) directly on the base model, without relying on supervised fine-tuning (SFT) as a preliminary step. This model performs outstandingly on reasoning tasks and naturally exhibits capabilities such as self-verification, reflection, and generating long chains of thought (CoT). According to the official introduction, this is the first public research validating that LLM reasoning capabilities can be incentivized solely through RL, without SFT.
  • DeepSeek-R1: Introduces cold-start data before RL, alleviating issues in R1-Zero such as infinite repetition, poor readability, and language mixing, and further improving reasoning performance. The official description states that it reaches a level comparable to OpenAI-o1 on mathematics, code, and reasoning tasks.
  • Distilled Models: Uses reasoning data generated by DeepSeek-R1 to fine-tune dense models in the Qwen2.5 and Llama3 series, open-sourcing checkpoints in six sizes: 1.5B, 7B, 8B, 14B, 32B, and 70B. Official evaluations show that the distilled small models perform excellently on benchmarks, among which DeepSeek-R1-Distill-Qwen-32B surpasses OpenAI-o1-mini on multiple benchmarks and sets a new state-of-the-art result for dense models.

Usage

  • Online Chat: Available on the DeepSeek official website chat.deepseek.com; simply enable the "DeepThink" button.
  • API: DeepSeek Platform provides an OpenAI-compatible API at platform.deepseek.com.
  • Local Running: The official recommendation is to refer to the DeepSeek-V3 repository for local running information. Note that Hugging Face's Transformers does not yet directly support it. DeepSeek-R1-Distill series models can be used like Qwen or Llama models, for example by starting services through vLLM or SGLang.

Usage Recommendations (Official)

  • Set the temperature between 0.5 and 0.7 (0.6 recommended) to avoid infinite repetition or incoherent output.
  • Avoid adding a system prompt; all instructions should be included in the user prompt.
  • For math problems, it is recommended to add "Please reason step by step, and put your final answer within \boxed{}." to the prompt.
  • When evaluating model performance, it is recommended to test multiple times and take the average result.
  • The official observation is that this series of models will bypass thinking mode under certain queries (outputting "<think>\n\n</think>"), which may affect performance; it is recommended to force the model to start each output with "<think>\n".

Official Prompts and Parameters

In the official Web/App, no system prompt is used; instead, specific prompts are designed separately for file upload and web search, with the temperature set to 0.6. In the file upload template, {file_name}, {file_content}, and {question} are parameters; in the web search template, {search_results}, {cur_date}, and {question} are parameters. Different prompts are used for Chinese and English queries.

Evaluation and License

In the official evaluation, the maximum generation length for all models is set to 32,768 tokens; benchmarks that require sampling use temperature 0.6 and top-p 0.95, and 64 responses are generated per query to estimate pass@1.

The code repository and model weights use the MIT license, support commercial use, and allow any modifications and derivative works, including but not limited to distillation training of other LLMs. Note: DeepSeek-R1-Distill-Qwen-1.5B/7B/14B/32B are derived from the Qwen-2.5 series (originally under the Apache 2.0 license) and are now fine-tuned using 800k samples curated by DeepSeek-R1; DeepSeek-R1-Distill-Llama-8B is derived from Llama3.1-8B-Base (originally under the Llama3.1 license); DeepSeek-R1-Distill-Llama-70B is derived from Llama3.3-70B-Instruct (formerly Llama3.3 license).

Applicable scenarios and limitations

Suitable for research and development of mathematics, code, and reasoning tasks, as well as for teams hoping to reproduce or distill small models based on open-source weights. In terms of limitations: the official prompt notes that R1-Zero has issues such as infinite repetition, poor readability, and mixed language use; local operation requires reference to the DeepSeek-V3 repository, and Transformers does not yet directly support it; for new projects, it has officially been replaced by DeepSeek-V4. Other details are not yet provided.