DeepSeek V4 Pro 0813 API

deepseek/deepseek-v4-pro-0813
DeepSeek V4 Pro 0813 is DeepSeek-AI's production reasoning model for generation, coding, and agentic tool-use workflows.
Context
1.0M tokens
Input
$2.393196 / 1M tokens
Output
$4.786392 / 1M tokens
Released
Aug 12, 2026

How to use DeepSeek V4 Pro 0813 API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to deepseek/deepseek-v4-pro-0813.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/chat/completions",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "deepseek/deepseek-v4-pro-0813",
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ]
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "deepseek/deepseek-v4-pro-0813",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek/deepseek-v4-pro-0813","messages":[{"role":"user","content":"Hello!"}]}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

DeepSeek V4 Pro 0813 API Pricing

TypePrice
Input
$2.393196 / 1M tokens
Output
$4.786392 / 1M tokens
Cached input
$0.199433 / 1M tokens

DeepSeek V4 Pro 0813 has documented time-dependent pricing with off-peak rates and higher peak-hour rates, and cached input is billed at a separate discounted rate.

DeepSeek V4 Pro 0813 Benchmarks

BenchmarkScoreWhat it measuresSourceRetrieved
Intelligence
36.3
Composite score across standardised reasoning, knowledge and problem-solving evaluations, measured independently by Artificial AnalysisSourceSeptember 12, 2026
Coding
68.8
Composite score across standardised coding evaluations, measured independently by Artificial AnalysisSourceSeptember 12, 2026

DeepSeek V4 Pro 0813 vs other models

ModelInputOutputContextBest for
$2.393196 / 1M tokens
$4.786392 / 1M tokens
1.0M tokens
Agentic workflows and structured output
$0.0975 / 1M tokens
$0.325 / 1M tokens
1M tokens
Coding + agentic reasoning
$0.82524 / 1M tokens
$8.2524 / 1M tokens
1.04M tokens
Reasoning + agents
$0.41262 / 1M tokens
$3.4385 / 1M tokens
1M tokens
Reasoning + agents

Frequently asked questions

DeepSeek V4 Pro 0813 has a 1,048,576 tokens context window and can return up to 384,000 tokens.

DeepSeek V4 Pro 0813 takes text as input and returns text.

Use deepseek/deepseek-v4-pro-0813 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

DeepSeek V4 Pro 0813 became available on August 12, 2026.

DeepSeek V4 Pro 0813 is priced at input $2.393196 / 1M tokens, output $4.786392 / 1M tokens, cached input $0.199433 / 1M tokens.

Yes, DeepSeek V4 Pro 0813 can stream responses as they are generated.

DeepSeek V4 Pro 0813 was built by DeepSeek.

Start building with DeepSeek V4 Pro 0813

Get API Key
1000+ models, one API.