deepseek-v4-pro
Auto-routerdeepseek/deepseek-v4-pro
Context
1M
Max output
348K
Input / 1M
$0.435
Output / 1M
$0.87
Cached / 1M
$0.0036
Cutoff
May 2024
About this model
DeepSeek-V4-Pro is a powerful flagship model supporting thinking and non-thinking modes with 1M context. Accepts text inputs and produces text outputs.
Best suited for
- Complex reasoning, advanced coding, multi-turn conversation, JSON output, function/tool calling, and high-accuracy pipelines.
Built-in tools
Hosted by the gateway — enable them per request without wiring your own endpoint.
Capabilities
Tools
Native function calling, so agents can invoke your endpoints.
System prompt
Honours a dedicated system role, separate from the user turn.
Reasoning
Emits a separate thinking pass before the answer.
Supported parameters
stopThis parameter tells the model to stop generating text when it reaches any of the specified sequences (like a word or punctuation)
creativity_levelControls randomness. Higher values (0.8) make output more random, lower values (0.2) more focused and deterministic.
probability_cutoffNucleus sampling parameter. The model considers tokens with top_p probability mass.
log_probabilityLog ProbabilitiesWhether to return log probabilities of the output tokens.
max_tokensMax Tokens LimitSpecifies the maximum number of text units (tokens) allowed in a response, limiting its length.
toolsLists tool definitions or capabilities available to the model.
tool_choiceDecides whether to use tools or just the model for generating responses.
response_typeDefines the format or type of the generated response.
parallel_tool_callsEnables parallel execution of tools, allowing multiple tools to run simultaneously.
reasoningControls the level of reasoning used by the model.
streamSends the response in real-time as it's being generated.
service_tier