Appearance
2025-01-20,DeepSeek-R1 正式发布并以 MIT 许可证完全开源。推理能力在数学、代码、自然语言推理任务上比肩 OpenAI o1 正式版。deepseek-reasoner API 端点同步上线,支持思维链(reasoning_content)输出。同时开源多个蒸馏版本(Qwen/Llama 系列,1.5B-70B)。
DeepSeek R1 正式开源(2025-01-20)
核心更新
deepseek-reasonerAPI 端点正式上线- 推理能力在数学、代码、自然语言推理上比肩 OpenAI o1 正式版
- MIT 许可证开源,允许商用,允许用模型输出训练其他模型
- 同步发布蒸馏版本(Qwen-7B/14B/32B、Llama-8B/70B 等),部分模型接近 o1-mini 水平
API 使用
typescript
const response = await client.chat.completions.create({
model: "deepseek-reasoner",
messages: [{ role: "user", content: "证明 √2 是无理数" }],
});
// 思维链内容
console.log(response.choices[0].message.reasoning_content);
// 最终答案
console.log(response.choices[0].message.content);价格
R1(deepseek-reasoner)上线定价:
- 输入:1元/M tokens(缓存命中),4元/M tokens(未命中)
- 输出:16元/M tokens
详见 价格文档。
查看完整更新历史:DeepSeek API 更新日志