• DeepSeek
  • Text
  • 1M context
  • Reasoning

DeepSeek V4 Pro API: pricing, capabilities and setup

DeepSeek V4 Pro API through llmbox: the larger model of the V4 generation with a 1M-token context window, for agents, code and knowledge-heavy tasks.

pay as you go · no subscription · key right after sign-up

Model ID
Input
$0.19 / 1M $0.66
Output
$0.555 / 1M $1.98
Get a key No subscription · pay as you go

How much DeepSeek V4 Pro costs

  • Input
    $0.19
    per 1M tokens
    $0.66 −71%
  • Output
    $0.555
    per 1M tokens
    $1.98 −72%
  • Cache read
    $0.038
    per 1M tokens
  • Cache write
    $0.19
    per 1M tokens · same as input

Cost calculator

50 M tokens

75%

The rest is output

Direct from the provider
$50
With llmbox
$14
Savings
$36

What a typical task costs

TaskTokens (input / output)With llmboxDirect
Short chat2 000 / 500$0.00066$0.00231
Code review20 000 / 2 000$0.00491$0.01716
Document summary40 000 / 2 000$0.00871$0.03036
Agent session600 000 / 30 000$0.13065$0.4554

Specs

  • Context
    1M
    tokens
  • Max output
    384K
    tokens

Capabilities

  • Tool calling
  • JSON schema output
  • Reasoning
  • Streaming
  • Prompt caching
  • Image input

Endpoints

  • /v1/chat/completions
  • /v1/responses
  • /v1/messages

Setup in three steps

  1. 01
    Get a key

    Sign up and create an API key in the dashboard.

    Get a key →
  2. 02
    Set the base URL

    In any OpenAI-compatible client, point the API address to:

  3. 03
    Pass the model id

    Put this identifier in the model field:

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://llmbox.cc/v1",
    api_key=os.environ["LLMBOX_API_KEY"],
)
resp = client.chat.completions.create(
    model="deepseek/deepseek-v4-pro",
    messages=[{"role": "user", "content": "Hi! Tell me about yourself in two sentences."}],
)
print(resp.choices[0].message.content)

What DeepSeek V4 Pro is good for

DeepSeek V4 Pro is the larger model of the DeepSeek V4 generation. It is a mixture-of-experts model with 1.6 trillion parameters, 49 billion of which are active for each token — several times larger than V4 Flash. According to DeepSeek's documentation, the context window is 1M tokens, a single response can run up to 384K tokens, and the model replies with text. The weights are open under the MIT license.

What it's good for

DeepSeek released V4 Pro as the flagship of the V4 generation for agentic programming, math and knowledge-heavy tasks. DeepSeek dedicated the August 13 update to agent scenarios, and at the same time the model gained the Responses format, adapted for Codex. That makes V4 Pro a fit for agents that work with a repository for a long time and for tasks where the model has to rely on its own knowledge: getting to grips with a subject area, answering questions from documentation, hard technical questions.

DeepSeek ties the model's large size specifically to the breadth of its factual knowledge: per its description, the smaller V4 Flash falls behind Pro where knowledge matters most and in the most complex agent scenarios. Reasoning is on by default; DeepSeek recommends the max level for hard tasks and low for simple ones. Output can be constrained to a JSON schema.

When to pick another model

  • A new project with code and agents — test DeepSeek V4.1 Flash first: DeepSeek cites comparisons from several sources in which it outperforms V4 Pro.
  • Tasks with screenshots, charts and document scans — DeepSeek describes native image understanding for V4.1 Flash.
  • High-volume uniform requests where the per-token rate decides — that's what DeepSeek's Flash models are built for.

How to connect

The model is available in the Chat Completions and Responses formats, so it connects to Cursor, OpenCode, Codex CLI and the official OpenAI SDK. All you need is an llmbox key and the model ID deepseek/deepseek-v4-pro — no DeepSeek account or API key. The base URL is in the Quickstart, Codex setup is in Codex CLI, and settings for the other tools are in Integrations. You can compare V4 Pro with the other DeepSeek models and with other vendors using the same key.

Pricing and billing

Rates per 1M input and output tokens, as well as for cache reads and cache writes, are listed on this page. Reasoning tokens count as output, so keep the max level for tasks where the model really needs to think for a long time. You pay from a prepaid balance as you go; there is no subscription. Spend for every request is visible in the request log in your dashboard.

Typical tasks

  • Coding agents in Codex CLI, Cursor and OpenCode
  • Tasks that rely on the model's factual knowledge
  • Multi-step planning and reasoning at the max level
  • Analysis of long documents and codebases

DeepSeek V4 Pro or DeepSeek V4.1 Flash?

ModelInput · 1MOutput · 1M
DeepSeek V4 Pro$0.19$0.555
DeepSeek V4.1 Flash$0.10$0.27

DeepSeek V4 Pro vs neighbours

ModelInput · 1MOutput · 1M
DeepSeek V4 Pro$0.19$0.555
DeepSeek V4.1 Flash $0.10$0.27
DeepSeek V4 Flash 0731 $0.10$0.28
DeepSeek V4 Pro 0813 $0.10$0.28
DeepSeek V4 Flash $0.144$0.396
Qwen3.7 Max Qwen$0.19$0.57
All DeepSeek models

DeepSeek V4 Pro is also compared with

Other DeepSeek models

Articles about the model

FAQ

How is DeepSeek V4 Pro different from V4.1 Flash?

V4 Pro is the large model of the V4 generation; V4.1 Flash is a newer model on the new architecture. DeepSeek cites comparisons from several sources in which V4.1 Flash outperforms V4 Pro. V4 Pro is worth testing separately on tasks that need factual knowledge.

Does V4 Pro work with Codex CLI?

Yes. According to DeepSeek's documentation, the model supports the Responses format and is adapted for Codex. Through llmbox it's available in that format; setup is in the Codex CLI section of the docs.

Which reasoning levels are supported?

Per DeepSeek's documentation, reasoning can be turned off or set to low, high (the default) or max. DeepSeek recommends low for simple tasks, high for everyday agent work and max for hard problems.

Do I need a DeepSeek API key?

No. Create an llmbox key in the API keys section of your dashboard and pass it instead of a DeepSeek key. The same key works with every other model in the catalog.

What model name do I pass to the API?

Pass deepseek/deepseek-v4-pro. The model is available in the Chat Completions and Responses formats, so it works with the OpenAI SDK, Cursor, OpenCode and Codex CLI.

How is DeepSeek V4 Pro billed?

Per input and output token, from a prepaid balance as you go, with no subscription. The rates, including cache rates, are listed on this page. The max reasoning level increases the number of output tokens, so keep it for hard tasks.