DeepSeek

DeepSeek-V4-Pro

deepseek/deepseek-v4-pro
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

DeepSeek V4 Pro 是 DeepSeek 推出的大型专家混合模型,它专为高级推理、编码和长远视野代理工作流设计,在知识、数学和软件工程基准测试中表现出色。它基于与 DeepSeek V4 Flash 相同的架构,引入了混合注意力系统,实现高效的长上下文处理,并支持多种推理模式,根据任务平衡速度和深度。它非常适合复杂工作负载,如全代码库分析、多步自动化和大规模信息综合,这些工作在能力和效率上都至关重要。

Input / output modalities
文本 to 文本
Reference input / output price
Input¥4.5Output¥13.5per 1M tokens
Context window
1M
Added to catalog
Apr 24, 2026

Providers and pricing

ProviderTime-based pricing (Beijing Time)Input /MOutput /MCached /MContextMax outputDetails
DeepSeek
Mon–Fri09:00-12:0014:00-18:00Input ¥9Output ¥27Cached ¥0.3
¥4.5¥13.5¥0.151M384K
Other-A—¥12¥24¥0.11M384K
Ali—¥12¥24¥11M384K
Tencent
09:00-12:0014:00-18:00Input ¥9Output ¥27Cached ¥0.3
¥4.5¥13.5¥0.151M384K

DeepSeek

Latency
0.63s
Throughput
40 tokens/s
Context
1M

Pricing

Input
¥4.5/M tokens
Output
¥13.5/M tokens
Cached
¥0.15/M tokens

Time-based pricing (Beijing Time)

The prices below apply during the listed Beijing Time periods; base pricing applies at other times.

Applicable period

Mon–Fri09:00-12:0014:00-18:00

peak

Input
¥9/M tokens
Output
¥27/M tokens
Cached
¥0.3/M tokens

Specifications

Context
1M
Max output
384K
Supported APIs
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

Other-A

Latency
1.56s
Throughput
70 tokens/s
Context
1M

Pricing

Input
¥12/M tokens
Output
¥24/M tokens
Cached
¥0.1/M tokens

Specifications

Context
1M
Max output
384K
Supported APIs
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

Ali

Latency
1.61s
Throughput
48 tokens/s
Context
1M

Pricing

Input
¥12/M tokens
Output
¥24/M tokens
Cached
¥1/M tokens

Specifications

Context
1M
Max output
384K
Supported APIs
/v1/completions/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

Tencent

Latency
1s
Throughput
63 tokens/s
Context
1M

Pricing

Input
¥4.5/M tokens
Output
¥13.5/M tokens
Cached
¥0.15/M tokens

Time-based pricing (Beijing Time)

The prices below apply during the listed Beijing Time periods; base pricing applies at other times.

Applicable period

09:00-12:0014:00-18:00

peak

Input
¥9/M tokens
Output
¥27/M tokens
Cached
¥0.3/M tokens

Specifications

Context
1M
Max output
384K
Supported APIs
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

DeepSeek-V4-Pro code examples and API guide

Modelmesh normalizes requests and responses across service providers behind one consistent API.

Modelmesh provides an OpenAI-compatible Completion API for more than 300 models and service providers. Call it directly, through the OpenAI SDK, or with supported third-party SDKs.

Modelmesh-specific request headers in these examples are optional. When supplied, your application can appear on the Modelmesh rankings.

Supported endpointsSelect an endpoint to switch the example below.
/v1/chat/completions
from openai import OpenAI API_KEY = "$SSY_API_KEY" client = OpenAI( base_url="https://router.shengsuanyun.com/api/v1", api_key=API_KEY, ) try: completion = client.chat.completions.create( model="deepseek/deepseek-v4-pro", messages=[{"role": "user", "content": "Which number is larger, 9.11 or 9.8?"}], temperature=0.6, top_p=0.7, stream=True, ) response_text = "" for chunk in completion: if chunk.choices and chunk.choices[0].delta.content is not None: content = chunk.choices[0].delta.content print(content, end="", flush=True) response_text += content except Exception as error: print(f"Request failed: {error}")
                
              

Related Models