Models/deepseek-v4-pro
Model Code
deepseek-v4-pro
Try now

Model overview

Deep thinkingText generation

DeepSeek-V4-Pro is a flagship MoE model with 1.6T total parameters and 49B active parameters. It natively supports million-token long context and is designed for advanced mathematics, complex reasoning, professional coding, deep long-document analysis, scientific research, office workflows, and agentic tasks.

Company: DeepSeekProvider: Alibaba Cloud

Model capabilities

Input modalityT
Output modalityT
Model experience
Function calling
Structured output-
Web search-
Prefix completion-
Context cache
Batch inference
Fine-tuning-

Model pricing

Input$1.79/1M tokens
Input (cache hit)$0.1493/1M tokens
Output$3.58/1M tokens

Rate limits and context

Maximum input length1M
Context length1M
Maximum output length384K
RPM15000
TPM1200000

API reference

EndpointPOST /v1/chat/completions
SDKOpenAI-compatible

API code examples

Get API Key
from openai import OpenAI

client = OpenAI(
    api_key="$WLROUTER_API_KEY",
    base_url="https://api.wlrouter.com/v1"
)

response = client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[
        {"role": "user", "content": "Reply with one short sentence."}
    ],
    max_tokens=32
)

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