DeepSeek V4 Pro API

Call DeepSeek V4 Pro from DeepSeek through Deftrouter's OpenAI-compatible endpoint: one key, the OpenAI SDK you already use, and usage tracked per key. Access is by request.

DeepSeek V4 Pro snapshot with million-token context and support for thinking and non-thinking modes.

Specifications

Provider DeepSeek
Model ID deepseek-v4-pro
Context window 1,048,576 tokens
Maximum output 393,216 tokens
Input types text
Reasoning Yes
Tool calling Yes
Structured output Yes
Open weights Yes
Released August 13, 2026

DeepSeek V4 Pro API pricing

These are DeepSeek's list prices as of November 30, 2026, in US dollars per 1 million tokens. Deftrouter confirms its own price by email when you request access.

Input
$0.66
per 1M tokens
Output
$1.98
per 1M tokens
Cached input
$0.022
per 1M tokens

For example, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0086 at list price.

Call DeepSeek V4 Pro with the OpenAI SDK

Point the OpenAI SDK at Deftrouter and set the model ID. The rest of your code stays the same.

quickstart.py
from openai import OpenAI

client = OpenAI(
    base_url="https://api.deftrouter.com/v1",
    api_key="YOUR_DEFTROUTER_KEY",
)

# Your Deftrouter key, sent to one endpoint for every model.
reply = client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[{"role": "user", "content": "Hello"}],
)

Request DeepSeek V4 Pro API access

Access is by request for now. Leave your email and the models you need, and we will email you when your key is ready.

Model names, or the kind of work: coding, reasoning, long documents.

We use these details only to set up your access and to contact you about it. See the privacy page.

DeepSeek V4 Pro API questions

How do I get DeepSeek V4 Pro API access?

Request it through Deftrouter: send the form on this page with your email, and we will email you when your key is ready. You then call DeepSeek V4 Pro with the OpenAI SDK by changing the base URL and the model ID.

How much does the DeepSeek V4 Pro API cost?

DeepSeek lists DeepSeek V4 Pro at $0.66 per 1 million input tokens and $1.98 per 1 million output tokens as of November 30, 2026. Deftrouter confirms its own price by email when you request access.

What is the context window of DeepSeek V4 Pro?

DeepSeek V4 Pro accepts up to 1,048,576 tokens of context and can return up to 393,216 tokens in a single response.

Does DeepSeek V4 Pro support tool calling and image input?

DeepSeek V4 Pro supports tool calling. It does not accept images as input.

List price per 1 million tokens, in US dollars
Model Context window Input Output
DeepSeek V4.1 Flash 1017 1,048,576 $0.15 $0.60

All DeepSeek models · All models

Model data from models.dev, retrieved November 30, 2026. Limits and prices are set by the provider and can change. models.dev · DeepSeek