返回模型列表

DeepSeek V4 Pro

deepseekdeepseek/deepseek-v4-pro

供应商自营与 TheRouter 服务形态的差异

供应商自己运营时

DeepSeek 通过 api.deepseek.com 与 api.deepseek.com/anthropic 官方提供 V4-Pro,支持 OpenAI Chat Completions 与 Anthropic 兼容请求格式,1M 上下文、384K 最大输出,默认以 high effort 启用 thinking;引用的价格页显示 Pro 暂不支持 Responses API。

在 TheRouter 上

TheRouter 通过 api.therouter.ai/v1/chat/completions 以 OpenAI-compatible 路由端点提供同一模型。请求继承 TheRouter 账号路由、上游选择、区域策略、tool-call 归一化与 TheRouter 定价,而不完全等同于 DeepSeek 官方并发限制或官方计费价格。

API 使用指南

聊天补全

标准 OpenAI 兼容聊天端点。支持 non-thinking 与 thinking 模式。

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4-pro",
    "messages": [{"role":"user","content":"Explain quantum error correction in 3 sentences."}]
  }'

思考 / 推理模式

通过 extra_body 启用思维链。reasoning_content 与最终答案分开返回。

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4-pro",
    "messages": [{"role":"user","content":"Solve: 9.11 vs 9.8 which is larger?"}],
    "extra_body": {"thinking": {"type": "enabled"}},
    "reasoning_effort": "max"
  }'

工具调用

原生工具调用,完全支持思考模式。当发生工具调用时,后续轮次必须回传 reasoning_content。

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4-pro",
    "messages": [{"role":"user","content":"What is the weather in SF?"}],
    "tools": [{"type":"function","function":{"name":"get_weather","parameters":{...}}}],
    "tool_choice": "auto",
    "extra_body": {"thinking": {"type": "enabled"}}
  }'

相关新闻

指南

事实档案 — 本页每条断言可在此回溯来源
来源URL采集于
发布日期(预览版)api-docs.deepseek.com ↗2026-05-25已核实
架构api-docs.deepseek.com ↗2026-05-25已核实
上下文窗口api-docs.deepseek.com ↗2026-05-25已核实
最大输出长度api-docs.deepseek.com ↗2026-05-25已核实
推理模式api-docs.deepseek.com ↗2026-05-25已核实
许可——代码huggingface.co ↗2026-05-25已核实
许可——权重huggingface.co ↗2026-05-25已核实
开源权重huggingface.co ↗2026-05-25已核实
训练 token 量api-docs.deepseek.com ↗2026-08-07未知
Artificial Analysis Intelligence Indexapi-docs.deepseek.com ↗2026-08-07未知
LiveCodeBench Pass@1api-docs.deepseek.com ↗2026-08-07未知
MMLU-Proapi-docs.deepseek.com ↗2026-08-07未知
GPQA Diamondapi-docs.deepseek.com ↗2026-08-07未知
SWE-bench Verifiedapi-docs.deepseek.com ↗2026-08-07未知
Terminal-Bench 2.0api-docs.deepseek.com ↗2026-08-07未知
SimpleQA-Verifiedapi-docs.deepseek.com ↗2026-08-07未知
BrowseCompapi-docs.deepseek.com ↗2026-08-07未知
DeepSeek 将 V4-Pro 75% 折扣永久化api-docs.deepseek.com ↗2026-05-25已核实
DeepSeek V4 系列发布:100 万上下文与双档 MoE 设计api-docs.deepseek.com ↗2026-05-25已核实
什么时候应该选择 V4-Pro 而非 V4-Flash?api-docs.deepseek.com ↗2026-08-07待核实
V4-Pro 是否支持与 V4-Flash 相同的思考模式 API?api-docs.deepseek.com ↗2026-05-25待核实
帮助与联系