AI Personal Learning
and practical guidance

Using the DeepSeek-R1 API Frequently Asked Questions

Post was updated on 2025-02-02 13:45, Part of the content is time-sensitive, if it is not working, please leave a message!

DeepSeek-R1 API

The standard model name is: deepseek-reasoner


 

DeepSeek-R1 supports cache hits

Cache hits are generally used for high-frequency inputs with few sample examples, large document inputs with multiple outputs (anything less than 64 tokens is not cached)

Input part of system and user messages are counted as cache hits.

Cache hits are time-sensitive, typically lasting from a few hours to a few days

Number of tokens hit by cache ($1/million tokens)

Using the DeepSeek-R1 API FAQ-1

 

DeepSeek-R1 Output Issues

DeepSeek-R1 Output consists of both thought chain output and answer output, both of which count as output token The billing is the same.

The API supports up to 64K contexts, and thought chains are not counted as part of the total length.

The thought chain output can be set to a maximum (reasoning_effort) of 32K tokens; the answer output can be set to a maximum (max_tokens) of 8K tokens.

 

DeepSeek-R1 Context Splicing

During each round of dialog, the model outputs thought chain content (reasoning_content) and the final answer (content). In the next round of dialog, the content of the thought chain output from the previous round is not spliced into the context, as shown below:

Using the DeepSeek-R1 API FAQ-1

Context always retains the last round of the chain of thought, otherwise the output answer will be confused.

 

About using the third-party DeepSeek-R1 API

Note the incompatibility with official formats! For example, silicon-based flow.

May not be reproduced without permission:Chief AI Sharing Circle " Using the DeepSeek-R1 API Frequently Asked Questions

Chief AI Sharing Circle

Chief AI Sharing Circle specializes in AI learning, providing comprehensive AI learning content, AI tools and hands-on guidance. Our goal is to help users master AI technology and explore the unlimited potential of AI together through high-quality content and practical experience sharing. Whether you are an AI beginner or a senior expert, this is the ideal place for you to gain knowledge, improve your skills and realize innovation.

Contact Us
en_USEnglish