Overview
DeepSeek-V4-Pro is a flagship MoE model for business-critical paths: 16T total parameters, 498B activated per inference, with native million-token context. It is optimized for hard reasoning and high-quality training data, with particular strength in mathematical logic, complex reasoning, professional code generation and long-document analysis — suited to high-throughput workloads and multi-step automation pipelines as a core engine on the critical path.
Native million-token context
Native million-token context loads large codebases, very long documents and multi-turn task history in one pass.
Flagship MoE scale
16T total / 498B activated, covering the hardest mathematics, code and logical reasoning tasks.
Complex task automation
Built for long-running agentic workflows and task orchestration across multi-step, long-chain automation.
Throughput and stability
RPM 15K / TPM 1.20M sustains steady output for high-concurrency online workloads.
Features
Pricing
Off-peak prices are half of peak prices. Peak hours are Monday to Friday 9:00–12:00 and 14:00–18:00 Beijing time (UTC+8); all other times are off-peak.
Off-peak
Peak
Rate Limits & Context
API Reference
https://api.tokenfab.com/v1/chat/completionsRequest Example
curl https://api.tokenfab.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKENFAB_API_KEY" \
-d '{
"model": "deepseek-v4-pro",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Introduce the flagship DeepSeek-V4-Pro in one sentence."}
]
}'from openai import OpenAI
client = OpenAI(
api_key="your-api-key",
base_url="https://api.tokenfab.com/v1"
)
response = client.chat.completions.create(
model="deepseek-v4-pro",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Introduce the flagship DeepSeek-V4-Pro in one sentence."}
]
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.TOKENFAB_API_KEY,
baseURL: "https://api.tokenfab.com/v1"
});
const response = await client.chat.completions.create({
model: "deepseek-v4-pro",
messages: [
{ role: "system", content: "You are a helpful assistant." },
{ role: "user", content: "Introduce the flagship DeepSeek-V4-Pro in one sentence." }
]
});
console.log(response.choices[0].message.content);Response Example
{
"id": "chatcmpl-7h2k93fa",
"object": "chat.completion",
"created": 1784950000,
"model": "deepseek-v4-pro",
"choices": [{
"index": 0,
"message": {
"role": "assistant",
"content": "I am DeepSeek-V4-Pro, a flagship MoE model with 16T total and 498B activated parameters. I natively support a million-token context and handle the hardest math, coding and long-text tasks."
},
"finish_reason": "stop"
}],
"usage": {
"prompt_tokens": 18,
"completion_tokens": 52,
"total_tokens": 70
}
}Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | ✓ | Model ID, e.g. deepseek-v4-pro |
messages | array | ✓ | List of chat messages, each with role and content |
temperature | float | — | Sampling temperature, 0–2, default 0.7 |
top_p | float | — | Nucleus sampling, 0–1, default 0.9 |
max_tokens | int | — | Maximum output tokens |
stream | bool | — | Whether to stream the response, default false |
tools | array | — | Tool definitions for function calling |
tool_choice | string | — | Tool choice policy: auto / none / a named function |