跳转到内容

DeepSeek V3.2 Reasoner

模型代码:

deepseek-v3.2-reasoner-251201

技术规格

项目规格
模型参数671B(MoE架构)
上下文长度128K
最大输出 Token32K(v3.2 chat 与 reasoner 均为 164K)
支持语言中文, 英文, 多语言
多模态能力✗ 不支持

核心能力

  • 深度思考模式
  • 高级推理
  • 逻辑分析
  • 数学计算
  • 复杂任务拆解

API 示例

Python

python
from openai import OpenAI

client = OpenAI(
    base_url="https://openapi.youdao.com/llmgateway/api/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="deepseek-v3.2-reasoner-251201",
    messages=[
        {"role": "user", "content": "请一步步推理:一道复杂的数学题"}
    ],
    stream=False
)

print(response.choices[0].message.content)

JavaScript

javascript
import OpenAI from "openai";

const client = new OpenAI({
    baseURL: "https://openapi.youdao.com/llmgateway/api/v1",
    apiKey: "YOUR_API_KEY",
});

async function chat() {
    const response = await client.chat.completions.create({
        model: "deepseek-v3.2-reasoner-251201",
        messages: [
            { role: "user", content: "请一步步推理:一道复杂的数学题" }
        ],
    });
    console.log(response.choices[0].message.content);
}

chat();

cURL

bash
curl https://openapi.youdao.com/llmgateway/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "deepseek-v3.2-reasoner-251201",
    "messages": [
      {"role": "system", "content": "你是人工智能助手"},
      {"role": "user", "content": "请一步步推理:一道复杂的数学题"}
    ],
    "stream": false
  }'