deepseek/deepseek-v4-pro

DeepSeek V4 Pro 0423 低至2折

函数调用推理提示缓存

DeepSeek V4 Pro is a large-scale Mixture-of-Experts model from DeepSeek with 1.6T total parameters and 49B activated parameters, supporting a 1M-token context window. It is designed for advanced reasoning, coding, and long-horizon agent workflows, with strong performance across knowledge, math, and software engineering benchmarks. Built on the same architecture as DeepSeek V4 Flash, it introduces a hybrid attention system for efficient long-context processing. Reasoning efforts high and xhigh are supported; xhigh maps to max reasoning. It is well suited for complex workloads such as full-codebase analysis, multi-step automation, and large-scale information synthesis, where both capability and efficiency are critical

上下文窗口1M
最大输出 Token943K
支持协议
发布日期—

能力与模态

当前模型版本支持的输入输出能力

输入模态
文本
输出模态
文本

模型价格

价格与能力以接口实时数据为准

按量计费
输入价格
$0.348 / M$1.74
输出价格
$0.696 / M$3.48
缓存读取
$0.029 / M$0.145
网页搜索
$0.0028 / 次$0.014

API 接口

当前模型可以使用的调用端点

原生协议 3

/v1/chat/completions
/v1/responses
/v1/messages

转换协议 2

/v1beta/models/{model}:streamGenerateContent
/v1beta/models/{model}:generateContent

API 接入示例

选择协议与语言,配置 API Key 后运行

调用接口

先在环境变量中配置平台密钥 AI_GATEWAY_API_KEY · 适用于 Bash / zsh / WSL。

POSThttps://api.tikway.ai/v1/chat/completions
curl --fail-with-body 'https://api.tikway.ai/v1/chat/completions' \
  -H "Authorization: Bearer $AI_GATEWAY_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "deepseek/deepseek-v4-pro",
  "messages": [
    {
      "role": "user",
      "content": "用三句话介绍 Tikway"
    }
  ]
}'
查看完整接入文档

模型接入常见问题

调用 DeepSeek V4 Pro 0423 应填写哪个模型 ID?

本页模型 ID 为 deepseek/deepseek-v4-pro。按对应协议原样复制,不能用展示名称代替,也不要自行增删前缀。

DeepSeek V4 Pro 0423 支持哪些 API 协议?

目录当前列出的协议为:OpenAI。查看本页调用示例中的完整端点、鉴权方式和参数;不同协议不能直接共用请求体。

DeepSeek V4 Pro 0423 的上下文长度是多少?

目录显示上下文为 1M。最大输出与上下文是不同约束,实际请求还要核对本页能力及参数范围。

如何估算 DeepSeek V4 Pro 0423 的费用?

普通输入价格:$0.348 / M;普通输出价格:$0.696 / M。完整费用还要核对本页计费单位、缓存、多模态及账户规则。

接入教程

AI API 中转 · 多模型接入OpenAI 兼容 API · GPT 与 SDKAI Agent · 智能体 API 接入Node.js 用 fetch 接入 Tikway 流式输出:正确解析 SSE 与中文分块AI API 费用怎么算?Tikway Token 计费与报错排查OpenAI SDK 接入 Tikway:Python 与 Node.js 配置指南Tikway 模型与费用核对:模型 ID、调用记录与证据边界