DeepSeek V4 Pro
厂商牌价,无平台加价,按量付费。 以下为官方 list 价。登录客户可在 /console/pricing 查看含工作空间折扣的实际价格。 按 70% 缓存命中率计算的等效输入价:$0.4918/M. 自动磁盘 KV 前缀缓存:缓存命中按折扣后的缓存读取费率计费,无需开启,也没有写入费。
30 秒用上 DeepSeek V4 Pro
OpenAI 兼容:换掉 base_url,SDK 不用改。POST /v1/chat/completions
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.chat.completions.create(
model="deepseek-v4-pro",
messages=[{"role": "user", "content": "Summarize this diff"}],
reasoning_effort="medium",
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "deepseek-v4-pro",
messages: [{ role: "user", content: "Summarize this diff" }],
reasoning_effort: "medium",
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-pro",
"messages": [{"role": "user", "content": "Hello"}],
"reasoning_effort": "medium"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "deepseek-v4-pro",
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
ReasoningEffort: openai.ReasoningEffortMedium,
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
import com.openai.models.ReasoningEffort;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("deepseek-v4-pro")
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));关于 DeepSeek V4 Pro
DeepSeek V4 Pro 是开源 DeepSeek-V4 系列的旗舰:混合专家(MoE)模型,总参数 1.6T,激活 49B,预训练语料超过 32T token。
- 它支持 1M token 上下文窗口(厂商规格;本站实际提供的规格见上下文卡片)和思考/非思考双模式,DeepSeek 强调其出色的智能体编码、广博的世界知识,以及在数学、STEM 和编程上的推理能力。
- 新的稀疏注意力设计把长上下文推理 FLOPs 和 KV 缓存降到 DeepSeek-V3.2 的一小部分。
- 权重以 MIT License 公开发布。
- 在 Synthorai 上,DeepSeek V4 Pro 通过 OpenAI 兼容 chat completions 端点提供。
规格与限制
| 最大输出(厂商规格) | 393,216 |
| 模态 | text → text |
| 参数量 | 总参数 1.6T · 激活 49B (MoE) |
| 特性 | tools · structured_output · streaming · reasoning · caching |
| 许可证 | MIT ↗ |
| 备注 | 1.6T/49B active MoE flagship, 1M context, Thinking + Non-Thinking modes; hybrid sparse attention cuts single-token FLOPs to 27% and KV cache to 10% vs V3.2 at 1M context. |
| 提示词缓存 | 自动 |
常见问题
DeepSeek V4 Pro API 可以免费试用吗?
可以。新账号可获得 10 次试用调用和最高 $1 的免费额度,无需绑卡。按输入 $1.608/M 计算,仅这笔额度就足够对 DeepSeek V4 Pro 发起约 77 次 ~8K token 的请求。
DeepSeek V4 Pro 最擅长什么?
1.6T 参数 MoE,激活 49B,以及预训练语料超过 32T token和1M 上下文,思考双模式。完整能力请见 About 部分,内容取自厂商官方发布说明。
DeepSeek V4 Pro 的价格是多少?
在 Synthorai 上,DeepSeek V4 Pro 输入 $1.608/百万 token、输出 $3.216/百万 token,即厂商牌价,无平台加价。缓存命中的输入 token 按 $0.0134/M 计费。
DeepSeek V4 Pro 支持提示词缓存(prompt caching)吗?
支持,且全自动:经 DeepSeek 提供的提示词自动缓存,无需改代码。缓存命中的输入 token 按 $0.0134/M 计费(未命中 $1.608/M)。 提示词缓存指南 →
如何开通 DeepSeek V4 Pro?
把现有 OpenAI SDK 的 base_url 指向 "https://synthorai.io/v1",model 设为 "deepseek-v4-pro" 即可。一把 API key 通用网关上的全部模型。
DeepSeek V4 Pro 开源吗?
开源:权重以 MIT 许可证 发布(官方仓库链接见 About 部分)。也可以省去 GPU:这里的托管版本按量付费,无需自建基础设施。 运行开源权重模型 →