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

DeepSeek V4 Pro 0813: Model Overview, Pricing & API Guide

Published on 2026.04.30 by DeepInfra
DeepSeek V4 Pro 0813: Model Overview, Pricing & API Guide

Updated November 2026 for the DeepSeek-V4-Pro-0813 release.

DeepSeek V4 Pro 0813 is the general-availability release of DeepSeek’s flagship V4 Pro model, published by DeepSeek on August 13, 2026 and available on DeepInfra since August 18, 2026. It is a text-in, text-out Mixture-of-Experts model with 1.6 trillion total and 49 billion active parameters, a 1M-token context window and an MIT license that allows commercial use (Hugging Face model card).

0813 is not a new architecture. DeepSeek describes it as “the official release of DeepSeek-V4-Pro, superseding the preview version,” built on the same model structure as the April 24 preview, with new post-training and a DSpark speculative decoding module attached. The practical changes are large agentic and coding gains (vendor-reported), a three-level reasoning_effort control and new sampling guidance.

DeepInfra serves the model in fp8 with the full 1M context and up to 384K output tokens, under a zero-retention policy. The model string for this guide is deepseek-ai/DeepSeek-V4-Pro-0813.

What changed in 0813 vs the April preview

Every benchmark number in this section is vendor-reported: DeepSeek ran them with the minimal mode of its own DeepSeek Harness, at max reasoning effort, temperature 1.0 and top_p 0.95 for code-agent tasks (model card). No independent party has reproduced them.

Coding and software engineering agents

The largest jump is on long-horizon software tasks:

  • DeepSWE: 12.8 → 62.7 (+49.9 points), the biggest gain in DeepSeek’s table. Fable-5 (70.0) and Kimi K3 (67.5) still score higher.
  • NL2Repo (building a repository from a natural-language spec): 38.5 → 61.5. 0813 leads the open-weights models DeepSeek compared against, but Opus-4.8 leads overall at 69.7.
  • Terminal Bench 2.1: 72.1 → 87.9. Kimi K3 (88.3) and Fable-5 (88.0) are marginally ahead.

Cybersecurity

  • Cybergym: 52.7 → 83.3. This is one of two rows where 0813 has the top score in DeepSeek’s table, just ahead of Fable-5 at 83.1.

Reasoning and knowledge

  • Humanity’s Last Exam, no tools: 37.7 → 42.7, the smallest gain (+5.0). Closed models lead clearly here: Fable-5 53.3, Opus-4.8 49.8. Kimi K3 (43.5) is also slightly ahead.
  • HLE with tools: 48.2 → 60.0, which beats Kimi K3 (56.0) and Opus-4.8 (57.9) but not Fable-5 (63.0).

API and serving changes

  • Three-level reasoning_effort: low for simple tasks, high for daily agent workflows, max for complex tasks (DeepSeek release notes). The preview used three modes (Non-think, Think High, Think Max) and triggered Think Max with a special system prompt. That is no longer needed.
  • Built-in DSpark speculative decoding: a speculative decoding module ships inside the checkpoint, so open-source serving stacks (vLLM, SGLang) can run speculative decoding without a separate draft model. It is a serving-speed feature and does not change output quality.
  • Recommended top_p 0.95 for agentic use (temperature 1.0). For other tasks DeepSeek still recommends top_p 1.0.
  • Max output guidance: DeepSeek recommends up to 384K output tokens at high and max effort.

Context length (1M), modality (text only) and the base architecture are unchanged from the preview.

An independent view

Artificial Analysis scores 0813 (Max) at 23 on its Intelligence Index v5.0.1, exactly the median for open-weights models of similar size, and 21 at High effort. That index is weighted toward agentic and knowledge tasks run by AA itself, so it is a useful counterweight to the vendor table. AA has no v5.0.1 score for the preview, so there is no independent before/after comparison, and older index versions are not comparable. On the same page, DeepSeek-V4.1-Flash scores higher than 0813.

Technical architecture

The architecture is the one DeepSeek introduced with the V4 preview, its first new design since V3:

  • Mixture-of-Experts: 61 layers, 384 routed experts plus 1 shared expert, 6 experts active per token; hidden size 7,168, 128 attention heads, 129,280-token vocabulary (config).
  • Hybrid attention: Compressed Sparse Attention (CSA) combined with Heavily Compressed Attention (HCA). DeepSeek reports that at 1M context, V4 Pro needs 27% of the single-token inference FLOPs and 10% of the KV cache of DeepSeek-V3.2 (preview card).
  • Manifold-Constrained Hyper-Connections (mHC): stabilize signal propagation through the deep layer stack.
  • Training: Muon optimizer, more than 32T pre-training tokens. DeepSeek released the preview weights in mixed precision (FP4 MoE experts, FP8 for most other parameters).
  • DSpark (new in 0813): a speculative decoding head attached to the last three layers (block size 5). The Hugging Face card includes vLLM and SGLang launch flags for it.

Benchmarks

The table below is DeepSeek’s own, run with its harness at max effort. DSBench-FullStack and DSBench-Hard are internal DeepSeek test sets that outsiders cannot reproduce.

BenchmarkV4 Pro 0813V4 Pro (Preview)GLM-5.2Kimi K3Opus-4.8Fable-5
HLE (no tools / with tools)42.7 / 60.037.7 / 48.240.5 / 54.743.5 / 56.049.8 / 57.953.3 / 63.0
Terminal Bench 2.187.972.181.088.385.088.0
NL2Repo61.538.548.9–69.7–
Cybergym83.352.7–80.078.383.1
DeepSWE62.712.846.267.558.070.0
Toolathlon-Verified74.155.959.976.576.277.9
Agents’ Last Exam25.716.523.827.625.7–
AutomationBench (Public)31.812.812.930.827.229.1
DSBench-FullStack (internal)71.141.861.873.771.677.2
DSBench-Hard (internal)67.231.154.563.071.768.3

Source: DeepSeek-V4-Pro-0813 model card. Fable-5 is DeepSeek’s “w/ fallback” configuration.

Who leads which row. 0813 has the top score in the table on Cybergym and AutomationBench, and ties Opus-4.8 on Agents’ Last Exam. The closed models lead on HLE (both settings, Fable-5), NL2Repo (Opus-4.8), DeepSWE, Toolathlon and DSBench-FullStack (Fable-5), and DSBench-Hard (Opus-4.8).

Where it loses to open weights. Kimi K3 beats 0813 on HLE without tools, Terminal Bench 2.1, DeepSWE, Toolathlon, Agents’ Last Exam and DSBench-FullStack. 0813 leads the open-weights models in the table on HLE with tools, NL2Repo, Cybergym, AutomationBench and DSBench-Hard.

Gaps vs the preview. The widest gain is DeepSWE (+49.9 points); the narrowest is HLE without tools (+5.0). DeepSeek did not republish the preview’s knowledge and math rows (MMLU-Pro, GPQA, LiveCodeBench, Codeforces) for 0813, so those April numbers should not be read as 0813 results.

To see how 0813 compares with other models on DeepInfra, use the model comparison page. For provider-level speed and latency, see our DeepSeek V4 Pro API benchmarks.

Pricing

DeepSeek V4 Pro 0813 has no promotional rate on DeepInfra; the standard price is the list price. Pricing as of 2026-11-16, per 1M tokens (model page, pricing page):

TierInputOutputCached input
Standard$1.30$2.60$0.10
Flex (0.8×)$1.04$2.08$0.08
Priority (1.5×)$1.95$3.90$0.15

Among the eight providers Artificial Analysis tracks for this model, DeepInfra has the lowest output price ($2.60), the second-lowest blended price ($0.59 on AA’s 7:2:1 cache-hit:input:output blend) and a 0% error rate in AA’s runs. Output price matters more than usual here: at max effort, AA measured 119M output tokens to run its Intelligence Index, against a class median of 104M. Reasoning tokens are billed as output tokens. DeepInfra is not the fastest endpoint for this model; on AA, DigitalOcean and Baseten lead on output speed and time to first answer token.

Flex is a best-effort tier at 0.8× the standard price. Send "service_tier": "flex"; if capacity is short, the request waits up to 10 minutes and then returns HTTP 429, and a rejected Flex request is not charged. It suits batch jobs, evals and background agents that can retry. Details are in the Flex service tier announcement.

Priority ("service_tier": "priority") costs 1.5× and is for latency-sensitive traffic that should not queue.

Caching: cached input is $0.10, 92% below the standard input rate. For long agent sessions you can keep the cache warm for up to an hour with prompt_cache_options (see prompt cache retention).

Startups can apply for free credits through DeepStart. For worked cost scenarios and a comparison with other providers, see the DeepSeek V4 Pro pricing guide.

Getting started

The API is OpenAI-compatible:

  • Base URL: https://api.deepinfra.com/v1/openai
  • Endpoint: POST /chat/completions
  • Auth header: Authorization: Bearer $DEEPINFRA_API_KEY

Full request schema is on the model’s API page. The model supports JSON mode, structured output and tool calling.

Parameters

Model-specific parameters first. Pass non-standard fields through extra_body in the OpenAI SDK.

ParameterDefaultNotes
reasoning_efforthighDeepSeek’s three levels: low, high, max. "none" turns thinking off. Reasoning tokens bill as output
top_p1DeepSeek recommends 0.95 for agentic use, 1.0 otherwise
temperature1DeepSeek recommends 1.0
service_tierstandardflex (0.8×, may queue up to 10 min then 429) or priority (1.5×)
fail_fastoffReturn 429 immediately instead of queueing
prompt_cache_key, prompt_cache_optionsn/aRoute requests to a shared cache; e.g. {"ttl": "1h"}
model(required)deepseek-ai/DeepSeek-V4-Pro-0813
messages(required)Standard chat messages
max_tokensmin(context − input, 65,536)Up to 393,216 (384K)
streamfalseServer-sent events
stopnoneUp to 16 sequences
n1Up to 4
top_k, min_p0Optional sampling controls
response_formattext{"type": "json_object"} or a JSON schema
tools, tool_choicenoneOpenAI-style function calling

Python

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["DEEPINFRA_API_KEY"],
    base_url="https://api.deepinfra.com/v1/openai",
)

response = client.chat.completions.create(
    model="deepseek-ai/DeepSeek-V4-Pro-0813",
    messages=[
        {"role": "system", "content": "You are a senior backend engineer."},
        {"role": "user", "content": "Plan a migration from REST polling to webhooks for an order service."},
    ],
    temperature=1.0,
    top_p=0.95,          # DeepSeek's recommendation for agentic work
    max_tokens=32768,
    extra_body={
        "reasoning_effort": "high",   # low | high | max; "none" disables thinking
        "service_tier": "flex",       # drop this line for standard tier
    },
)

print(response.choices[0].message.content)
print(response.usage)
copy

For simple classification or extraction, try "reasoning_effort": "low" or "none" first; output tokens, and so cost, drop sharply. Reserve max for hard multi-step tasks.

Output limits

DeepInfra’s common 16,384-token output cap does not apply to this model. You can request up to 393,216 output tokens (384K). If you leave max_tokens unset, DeepInfra uses the smaller of the remaining context and 65,536 tokens. Input plus output must fit in the 1,048,576-token context window.

This matters because DeepSeek’s published results ran at max effort, and DeepSeek recommends a maximum output length of 384K tokens for high and max. A long reasoning trace can use most of a 65,536-token default before the final answer begins. To get closer to DeepSeek’s evaluation setup, set max_tokens explicitly (for example 131,072 or higher), use max effort, and stream the response so long generations do not hit client timeouts. Exact reproduction is still not guaranteed: DeepSeek used its own harness, and DeepInfra serves the model in fp8.

Conclusion

DeepSeek V4 Pro 0813 is a substantial update to the April preview on the same architecture. On DeepSeek’s own benchmarks it moves from far behind to competitive on agentic coding (DeepSWE, NL2Repo, Terminal Bench) and leads the compared set on Cybergym. Closed models still lead on hard reasoning (HLE) and several software-agent tests, Kimi K3 edges it on a handful of rows, and Artificial Analysis puts it at the class median on its independent index.

Where it fits best is long-context agent work that produces many output tokens, where DeepInfra’s $2.60 output rate (or $2.08 on Flex) does the most good. Teams that need faster time to first answer token or a stronger model per dollar on Artificial Analysis’s index should also test DeepSeek-V4.1-Flash.

Next steps

Related articles
MiniMax-M2.5 API Benchmarks: Latency, Throughput & CostMiniMax-M2.5 API Benchmarks: Latency, Throughput & Cost<p>About MiniMax-M2.5 MiniMax-M2.5 is a state-of-the-art open-weights large language model released in February 2026. Built on a 230B-parameter Mixture of Experts (MoE) architecture with approximately 10 billion active parameters per forward pass, it features Lightning Attention and supports a context window of up to 205,000 tokens. The model uses extended chain-of-thought reasoning to work through [&hellip;]</p>
Compare Llama2 vs OpenAI models for FREE.Compare Llama2 vs OpenAI models for FREE.At DeepInfra we host the best open source LLM models. We are always working hard to make our APIs simple and easy to use. Today we are excited to announce a very easy way to quickly try our models like Llama2 70b and [Mistral 7b](/mistralai/Mistral-7B-Instruc...
NVIDIA Nemotron API Pricing Guide 2026NVIDIA Nemotron API Pricing Guide 2026<p>While everyone knows Llama 3 and Qwen, a quieter revolution has been happening in NVIDIA&#8217;s labs. They have been taking standard Llama models and &#8220;supercharging&#8221; them using advanced alignment techniques and pruning methods. The result is Nemotron—a family of models that frequently tops the &#8220;Helpfulness&#8221; leaderboards (like Arena Hard), often beating GPT-4o while being significantly [&hellip;]</p>