We use essential cookies to make our site work. With your consent, we may also use non-essential cookies to improve user experience and analyze website traffic…

DeepInfra raises $107M Series B to scale the inference cloud — read the announcement

deepseek-ai logo

deepseek-ai/

DeepSeek-V4-Pro-0813

$1.30

in

$2.60

out

$0.10

cached

/ 1M tokens

TierInputOutputCached input
Priority (1.5×)Learn More
$1.95$3.90$0.15
Flex (0.8×)Learn More
$1.04$2.08$0.08

per 1M tokens

Prompt cache retentionLearn More
Cache write
Retain for 5m (1.25×)
$1.625
Retain for 1h (2×)
$2.60

per 1M tokens

Retained in whole blocks of 1,024 tokens; the remainder is billed as standard input. Reuse within the window bills at the cached input rate.

**Shown at the standard tier. Priority and Flex scale these rates the same way they scale input and output.

DeepSeek-V4-Pro-0813 is the official release of DeepSeek-V4-Pro, superseding the preview version, with greatly enhanced agentic capabilities and performance improvements that are especially pronounced in production environments. It is built on the DeepSeek-V4-Pro (Preview) model structure, with a DSpark speculative decoding module attached.

Deploy Private Endpoint
Supports Priority Tier
Supports Flex Tier
Public
fp8
1,048,576
JSON
Function
deepseek-ai/DeepSeek-V4-Pro-0813 cover image
deepseek-ai/DeepSeek-V4-Pro-0813 cover image
DeepSeek-V4-Pro-0813

Ask me anything

0.00s

You need to log in to use this model

Log In

Settings

Model Information

license: mit library_name: transformers

DeepSeek-V4-Pro-0813

DeepSeek-V4

Technical Report👁️

Introduction

DeepSeek-V4-Pro-0813 is the official release of DeepSeek-V4-Pro, superseding the preview version, with greatly enhanced agentic capabilities and performance improvements that are especially pronounced in production environments. It is built on the DeepSeek-V4-Pro (Preview) model structure, with a DSpark speculative decoding module attached.

DeepSeek-V4-Pro-0813 outperforms DeepSeek-V4-Pro (Preview) on the benchmarks listed below, and is broadly competitive with the strongest proprietary models available.

BenchmarkDeepSeek-V4-Pro-0813DeepSeek-V4-Flash-0731DeepSeek-V4-Pro (Preview)DeepSeek-V4-Flash (Preview)GLM-5.2Kimi K3Opus-4.8Fable-5 (w/ fallback)
HLE (wo / w tools)42.7 / 60.037.8 / 51.537.7 / 48.234.8 / 45.140.5 / 54.743.5 / 56.049.8 / 57.953.3 / 63.0
Terminal Bench 2.187.982.772.161.881.088.385.088.0
NL2Repo61.554.238.539.448.9-69.7-
Cybergym83.376.752.738.7-80.078.383.1
DeepSWE62.754.412.87.346.267.558.070.0
Toolathlon-Verified74.170.355.949.759.976.576.277.9
Agents' Last Exam25.725.216.515.823.827.625.7-
AutomationBench (Public)31.825.112.810.812.930.827.229.1
DSBench-FullStack †71.168.741.837.061.873.771.677.2
DSBench-Hard †67.259.631.125.854.563.071.768.3

Notes:

  1. For the code-agent tasks among the public benchmarks above, DeepSeek-V4-Pro-0813 is evaluated with the minimal mode of DeepSeek Harness as the agent framework, using the max reasoning effort level with temperature = 1.0, top_p = 0.95.
  2. † DSBench-FullStack is an internal full-stack development test set; DSBench-Hard is an internal test set of difficult coding-agent problems.

Chat Template

This release does not include a Jinja-format chat template. Instead, we provide a dedicated encoding folder with Python scripts and test cases demonstrating how to encode messages in OpenAI-compatible format into input strings for the model, and how to parse the model's text output. Please refer to the encoding folder for full documentation.

The reasoning_effort parameter now supports three levels — low, high, and max — which control how much deliberation the model spends before answering.

A brief example:

from encoding_dsv4 import encode_messages, parse_message_from_completion_text

messages = [
    {"role": "user", "content": "hello"},
    {"role": "assistant", "content": "Hello! I am DeepSeek.", "reasoning_content": "thinking..."},
    {"role": "user", "content": "1+1=?"}
]

# messages -> string
prompt = encode_messages(messages, thinking_mode="thinking", reasoning_effort="max")

# string -> tokens
import transformers
tokenizer = transformers.AutoTokenizer.from_pretrained("deepseek-ai/DeepSeek-V4-Pro-0813")
tokens = tokenizer.encode(prompt)
copy