Skip to content

DeepSeek V4 Pro

deepseek-v4-pro

DeepSeek V4 Pro is a large-scale Mixture-of-Experts (MoE) model with 1.6T total parameters and 49B activated per token, supporting a 1M-token context window for advanced reasoning and long-horizon workflows. It delivers strong performance across knowledge, mathematics, and software engineering tasks, making it suitable for complex, real-world applications. Built on a hybrid attention architecture for efficient long-context processing, the model supports configurable reasoning modes to balance speed and depth. It is well suited for full codebase analysis, multi-step automation, and large-scale information synthesis, where both capability and efficiency are essential.https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro

Context
1.0M tokens
Endpoint
Get API KeyCompare

Pricing

Input$0.435 / 1M
Output$0.87 / 1M
Cache Write (5m)$0.435 / 1M
Cache Write (1h)$0.435 / 1M
Cache Read$0.435 / 1M
Web Search$0 / 1M

Quick Start

Select an endpoint and copy a working example for this model.

Endpoint
python
from openai import OpenAI client = OpenAI(    api_key="YOUR_API_KEY",    base_url="https://api.apertis.ai/v1") response = client.chat.completions.create(    model="deepseek-v4-pro",    messages=[        {"role": "user", "content": "Hello!"}    ],    max_tokens=1024,    temperature=0.7) print(response.choices[0].message.content) # Optional: Enable context compression to reduce token usage# response = client.chat.completions.create(#     model="deepseek-v4-pro",#     messages=[{"role": "user", "content": "Hello!"}],#     extra_body={"compression": {"enabled": True, "model": "gpt-4.1-mini"}}# )

Supported Parameters

API docs
Common7 params
modelmessagesmax_tokenstemperaturetop_pstreamtools
Extended4 params
reasoning_effortstream_optionsthinkingextra_body

Cursor IDE Model IDs

Use these namespaced identifiers in Cursor IDE to avoid conflicts with built-in models.

deepseek-v4-pro

Compare with Other Models

See how this model compares to others from the same provider.

DeepSeek V4.1 Flash

DeepSeek V4.1 Flash is a cost-efficient sparse Mixture-of-Experts (MoE) model in DeepSeek's V4.1 family, optimized for coding, reasoning, and agentic workflows. Despite its efficiency-focused positioning, DeepSeek reports that it surpasses the previous V4 Pro in performance, inference speed, and overall task completion time. The model is particularly strong at long-horizon, multi-step execution, making it well suited for coding agents, complex problem solving, and autonomous workflows that must reliably carry tasks through to completion.

Context
1M
Input
$0.30/M
Output
$1.20/M

DeepSeek V4 Pro 0813

DeepSeek V4 Pro 0813 is DeepSeek's large-scale Mixture-of-Experts (MoE) model and the general availability (GA) release of DeepSeek V4 Pro. It is designed for high-capability workloads requiring advanced reasoning, coding, and agentic task execution. As the production-ready V4 Pro release, it is well suited for complex software engineering, long-horizon agent workflows, and demanding reasoning tasks where reliability and model capability are critical.

Context
1M
Input
$0.435/M
Output
$0.87/M

DeepSeek V3.2 (Thinking)

DeepSeek-V3.2 is an efficiency-focused large model that combines strong reasoning with reliable tool use. It introduces DeepSeek Sparse Attention to lower compute costs for long contexts while preserving quality, and uses large-scale reinforcement learning to reach GPT-5-class reasoning (including top IMO/IOI results). An agentic task-synthesis pipeline improves how it reasons with tools in interactive settings — and developers can toggle reasoning on or off as needed.

Context
163.8K
Input
$0.19/M
Output
$0.275/M

DeepSeek V3.2 Speciale

DeepSeek-V3.2-Speciale is a high-compute edition of V3.2 built for top-tier reasoning and agent performance. Using DeepSeek Sparse Attention and extensive reinforcement learning, it surpasses GPT-5 on tough reasoning benchmarks and approaches Gemini 3 Pro–level capability, while still remaining strong at coding and tool use. It also draws on a large agent-training pipeline to boost reliability and generalization in interactive environments.

Context
163.8K
Input
$0.28/M
Output
$0.40/M