返回模型列表
DeepSeek R1
deepseekdeepseek/deepseek-r1
API 使用指南
对话 + 思维链
DeepSeek-R1 同时返回最终答案与完整的 <think> 思维链。可用于调试、审计或向用户展示中间推理步骤。
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-r1",
"messages": [{"role":"user","content":"Solve: 2x+3=17"}]
}'思维链(<think>)
R1 总是在最终答案前输出 <think>…</think> 块。可解析 reasoning_content(若有)或原始 assistant 消息以展示思维链。
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-r1",
"messages": [{"role":"user","content":"Prove that sqrt(2) is irrational"}]
}'事实档案 — 本页每条断言可在此回溯来源
| 来源 | URL | 采集于 | |
|---|---|---|---|
| 发布日期 | api-docs.deepseek.com ↗ | 2026-05-25 | 已核实 |
| 架构 | github.com ↗ | 2026-05-25 | 已核实 |
| 上下文长度 | github.com ↗ | 2026-05-25 | 已核实 |
| 许可——权重与代码 | github.com ↗ | 2026-05-25 | 已核实 |
| Nature 发表 | www.nature.com ↗ | 2026-05-25 | 已核实 |
| 蒸馏模型 | github.com ↗ | 2026-05-25 | 已核实 |
| MMLU (Pass@1) | github.com ↗ | 2026-05-25 | 已核实 |
| MATH-500 (Pass@1) | github.com ↗ | 2026-05-25 | 已核实 |
| AIME 2024 (Pass@1) | github.com ↗ | 2026-05-25 | 已核实 |
| GPQA Diamond (Pass@1) | github.com ↗ | 2026-05-25 | 已核实 |
| LiveCodeBench (Pass@1-CoT) | github.com ↗ | 2026-05-25 | 已核实 |
| Codeforces (Percentile) | github.com ↗ | 2026-05-25 | 已核实 |
| ArenaHard (GPT-4-1106) | github.com ↗ | 2026-05-25 | 已核实 |
| DeepSeek-R1 登上 Nature 封面——首个通过严格同行评议的主流 LLM | nature.com ↗ | 2026-05-25 | 已核实 |
| R1-0528 更新:支持 JSON 输出、function calling、降低幻觉 | api-docs.deepseek.com ↗ | 2026-05-25 | 已核实 |
| DeepSeek-R1 与 R1-Zero 发布——纯 RL 推理模型开源 | api-docs.deepseek.com ↗ | 2026-05-25 | 已核实 |
| 如何获取思维链(<think> 块)? | api-docs.deepseek.com ↗ | 2026-05-25 | 待核实 |
| V4 上线后,R1 还是推荐模型吗? | api-docs.deepseek.com ↗ | 2026-05-25 | 待核实 |
| 可以用 R1 输出进行 fine-tune 吗? | github.com ↗ | 2026-05-25 | 待核实 |