Skip to navigation

DeepSeek V4 Pro

DeepSeek V4 Pro is a balanced model by DeepSeek, available through the OpenAI-compatible API under the model id deepseek-v4-pro. Input costs $0.49 and output $0.98 per 1M tokens. It has a 1M-token context window and up to 384k output tokens per response.

DeepSeek · DeepSeek · Balanced

UnavailableDiscount −50%

DeepSeek's larger V4 model for harder coding and reasoning, text input only.

Requests to this model fail right now: it has no working upstream. The rates below are what it will cost when it returns.

DeepSeek V4 Pro key facts
VendorDeepSeek
Model IDdeepseek-v4-pro
Input price per 1M tokens$0.49 (regular $0.66)
Output price per 1M tokens$0.98 (regular $1.98)
Context window1M tokens
Max output384k tokens
API formatsOpenAI
Prices checked

Model id

deepseek-v4-pro

Price per 1M tokens

Input
Regular rate $0.66now $0.49
Output
Regular rate $1.98now $0.98
Cached input
$0.02296% below input

50% below the market rate.

Output is 2× the input rate. $1 covers about 1,020 prompts of 1,000 input + 500 output tokens. 1 credit = $1 of usage. All rates

Start using DeepSeek V4 Pro

Set ONEAIAPIKEY_API_KEY to a key from your console, then run any example. Streaming is on so long answers are not cut off by idle-connection timeouts.

curl https://api.oneaiapikey.com/v1/chat/completions \
  -H "Authorization: Bearer $ONEAIAPIKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-pro",
    "stream": true,
    "messages": [{"role": "user", "content": "Make the failing test in checkout.test.ts pass without changing the test."}]
  }'
import os
from openai import OpenAI

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

stream = client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[{"role": "user", "content": "Make the failing test in checkout.test.ts pass without changing the test."}],
    stream=True,  # recommended for long outputs
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.oneaiapikey.com/v1",
  apiKey: process.env.ONEAIAPIKEY_API_KEY,
});

const stream = await client.chat.completions.create({
  model: "deepseek-v4-pro",
  messages: [{ role: "user", content: "Make the failing test in checkout.test.ts pass without changing the test." }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
}

More: quickstart · API reference · try it in Chat first

Benchmarks reported by the vendor

Scores for DeepSeek V4 Pro as its maker published them, with the setting they state. We have not re-run them. Versions and settings differ between vendors, so compare only identical benchmark names; compare models side by side.

Tokens per day, by model

Last 7 days, UTC days

Hover, tap or drag across any day, or focus the chart and use the arrow keys, to see how every model did that day.

Real tokens served through this gateway, updated every 30 minutes. Ranked by usage, not quality.

Full ranking insights

DeepSeek line-up

DeepSeek V4 Pro or DeepSeek V4.1 Flash or DeepSeek V4 Flash 0731 Thinking?

Of the 9 DeepSeek models on this site, DeepSeek V4.1 Flash is the step up from DeepSeek V4 Pro and DeepSeek V4 Flash 0731 Thinking the step down. Each comparison lists the published rates and limits, then what favours each side.

DeepSeek V4 ProvsDeepSeek V4.1 Flash

Per 1M tokensDeepSeek V4 ProDeepSeek V4.1 Flash
Context1M7.6× larger131.1k

Pick DeepSeek V4 Pro when

  • prompts run past 131.1k tokens: DeepSeek V4 Pro reads up to 1M.
  • the work is coding agents, hard reasoning and math, which this catalogue lists for DeepSeek V4 Pro and not for DeepSeek V4.1 Flash.

Pick DeepSeek V4.1 Flash instead when

  • a free model covers the work until the promotion ends.
  • DeepSeek V4 Pro falls short and you want the flagship model of the pair.
  • your workload looks like reasoning, coding and chat, labels the catalogue gives DeepSeek V4.1 Flash only.

Pick DeepSeek V4 Pro when

  • the work is coding agents, hard reasoning and math, which this catalogue lists for DeepSeek V4 Pro and not for DeepSeek V4 Flash 0731 Thinking.

Pick DeepSeek V4 Flash 0731 Thinking instead when

  • a free model covers the work until the promotion ends.
  • your workload looks like reasoning, coding and agent tasks, labels the catalogue gives DeepSeek V4 Flash 0731 Thinking only.

Use cases

What DeepSeek V4 Pro is listed for, and what it costs

The catalogue lists DeepSeek V4 Pro for coding agents, hard reasoning and math. Each row prices one typical request at the published rates, with the arithmetic shown. The market-rate figure shows the same request at the lowest public price elsewhere. Token counts are examples; your prompts will differ.

Model your own traffic

  1. Coding agents

    One step of an agent loop that edits files and runs tests: 40,000 tokens of context, 34,000 of them cached, and 2,500 tokens out.

    Works well as the main model in an agent loop that edits files and runs tests.

    “Make the failing test in checkout.test.ts pass without changing the test.”

    Same request on DeepSeek V4.1 Flash $0 and DeepSeek V4 Flash 0731 Thinking $0. Cheapest balanced-tier model in the family: DeepSeek V4 Flash 0731 Thinking at $0 while its free promotion runs, 100% less for now.

    $0.006138

    per agent step, about 1,629 per $10

    $0.009658 at the market rate

    0.006 × $0.49 + 0.034 × $0.022 + 0.0025 × $0.98

  2. Hard reasoning

    A multi-step problem: 5,000 tokens in, 12,000 tokens out, most of it reasoning.

    Reserve it for problems where a cheaper model has already struggled.

    “Find the bug in this lock-free queue and prove the fix is correct.”

    Same request on DeepSeek V4.1 Flash $0 and DeepSeek V4 Flash 0731 Thinking $0. Cheapest balanced-tier model in the family: DeepSeek V4 Flash 0731 Thinking at $0 while its free promotion runs, 100% less for now.

    $0.01421

    per problem, about 703 per $10

    $0.02706 at the market rate

    0.005 × $0.49 + 0.012 × $0.98

  3. Math

    A calculation or proof with every step shown: 1,000 tokens in, 6,000 tokens out.

    Ask it to show intermediate steps so results can be checked.

    “Show step by step whether the series of 1/(n log n) converges.”

    Same request on DeepSeek V4.1 Flash $0 and DeepSeek V4 Flash 0731 Thinking $0. Cheapest balanced-tier model in the family: DeepSeek V4 Flash 0731 Thinking at $0 while its free promotion runs, 100% less for now.

    $0.00637

    per problem, about 1,569 per $10

    $0.01254 at the market rate

    0.001 × $0.49 + 0.006 × $0.98

Overview

When DeepSeek V4 Pro fits

DeepSeek V4 Pro is a balanced model from DeepSeek, available here under the exact model id “deepseek-v4-pro”. In the DeepSeek line-up here it sits between DeepSeek V4.1 Flash and DeepSeek V4 Flash 0731 Thinking. DeepSeek released it on 13 Aug 2026, and it has been on One AI API Key since 8 Oct 2026.

DeepSeek documents tools, reasoning, json mode and prompt caching for it.

It costs $0.49 per million input tokens and $0.98 per million output tokens, so output is 2× the input rate. That is 50% below the market rate of $0.66 input and $1.98 output per million tokens, the lowest public price we found at other API gateways. On the use cases below, output makes up 40% of the bill for coding agents, 83% for hard reasoning and 92% for math, so capping max tokens and asking for diffs saves more than trimming the prompt.

Cached input bills at $0.022 per million tokens, 96% below the standard input rate. In the coding agents example, 34k of the 40k input tokens come from cache, which brings one agent step from $0.02205 down to $0.006138.

It is served through the OpenAI-compatible format at https://api.oneaiapikey.com/v1, so any SDK or tool that lets you set a custom base URL, for example Codex CLI, Cursor and Cline, can use it. It is not offered on the Anthropic Messages endpoint; pick an Anthropic-format model for Claude Code.

Use DeepSeek V4 Pro with any balance.

DeepSeek V4 Pro is a paid model: any balance above $0 pays for it, the $10.00 sign-up credit included. When it runs out, add credit to your wallet. Every request is billed at the rates above, with a receipt in your usage log.

DeepSeek V4 Pro is developed by DeepSeek. Model names and trademarks belong to their owners. One AI API Key is an independent API gateway and is not affiliated with, endorsed by or sponsored by DeepSeek.

New accounts$10 credit on sign-up
Claim $10 credit →