- 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
How much DeepSeek V4 Pro costs
- Input$0.19per 1M tokens
$0.66−71% - Output$0.555per 1M tokens
$1.98−72% - Cache read$0.038per 1M tokens
- Cache write$0.19per 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
| Task | Tokens (input / output) | With llmbox | Direct |
|---|---|---|---|
| Short chat | 2 000 / 500 | $0.00066 | $0.00231 |
| Code review | 20 000 / 2 000 | $0.00491 | $0.01716 |
| Document summary | 40 000 / 2 000 | $0.00871 | $0.03036 |
| Agent session | 600 000 / 30 000 | $0.13065 | $0.4554 |
Specs
- Context1Mtokens
- Max output384Ktokens
Capabilities
- Tool calling
- JSON schema output
- Reasoning
- Streaming
- Prompt caching
- Image input
Endpoints
/v1/chat/completions/v1/responses/v1/messages
Setup in three steps
- 01Get a key
Sign up and create an API key in the dashboard.
Get a key → - 02Set the base URL
In any OpenAI-compatible client, point the API address to:
- 03Pass 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?
| Model | Input · 1M | Output · 1M |
|---|---|---|
| DeepSeek V4 Pro | $0.19 | $0.555 |
| DeepSeek V4.1 Flash | $0.10 | $0.27 |
DeepSeek V4 Pro vs neighbours
| Model | Input · 1M | Output · 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 |
DeepSeek V4 Pro is also compared with
- GLM-5.3
GLM-5.3 is the open-weight flagship model from Z.ai (Zhipu): a 1M-token context window and responses up to 128K tokens, for complex software development, agents and finding vulnerabilities in code.
- Kimi K3
Kimi K3 is Moonshot AI's open-weight model with 2.8T parameters: a 1M-token context window and text, image and video input, for long coding tasks, knowledge work and reasoning.
- Kimi K3.1 Pro
Kimi K3.1 Pro is Moonshot AI's strongest open-weight model in the 3T-parameter class: a 1M-token context window and text, image and video input, for agents and code.
Other DeepSeek models
Articles about the model

How much does 1M tokens cost: GPT, Gemini, DeepSeek, Qwen
Current per-million-token rates for GPT, Gemini, DeepSeek and Qwen models: what input, output, cache and reasoning mean, and how to estimate a project's usage.

DeepSeek API in Python: chat, streaming, JSON and functions
Python code examples for DeepSeek models: a first request, a conversation, streaming, JSON-schema output and function calling with the official openai SDK.

llmbox: one key for GPT, Gemini, DeepSeek, Qwen and other models
llmbox launched in August 2026: one key and one API address for models from different vendors — text, images, video and audio. You pay from a balance as you go.
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.