- DeepSeek
- Text
- 1M context
DeepSeek V4 Flash 0731 API: pricing, capabilities and setup
DeepSeek V4 Flash 0731 API: the July 31, 2026 build of DeepSeek V4 Flash with stronger agentic skills and a 1M-token window, for projects pinned to this version.
pay as you go · no subscription · key right after sign-up
How much DeepSeek V4 Flash 0731 costs
- Input$0.10per 1M tokens
- Output$0.28per 1M tokens
- Cache read$0.038per 1M tokens
- Cache write$0.10per 1M tokens · same as input
Cost calculator
100 M tokens
75%
The rest is output
- With llmbox
- $15
What a typical task costs
| Task | Tokens (input / output) | With llmbox |
|---|---|---|
| Short chat | 2 000 / 500 | $0.00034 |
| Code review | 20 000 / 2 000 | $0.00256 |
| Document summary | 40 000 / 2 000 | $0.00456 |
| Agent session | 600 000 / 30 000 | $0.0684 |
Specs
- Context1Mtokens
- Inputtext
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-flash-0731",
messages=[{"role": "user", "content": "Hi! Tell me about yourself in two sentences."}],
)
print(resp.choices[0].message.content)What DeepSeek V4 Flash 0731 is good for
DeepSeek V4 Flash 0731 is the July 31, 2026 build of the smaller model in the DeepSeek V4 generation. On that day DeepSeek released the official version of V4 Flash to replace the preview: per the company, the architecture and size stayed the same, while the model was re-post-trained, with enhanced agentic capabilities. According to DeepSeek's documentation, the context window is 1M tokens and the model answers in text. The weights are open under the MIT license.
What it's good for
The number in the name is the build date: if your quality checks were run on the July 31 V4 Flash, the dated name points to that version explicitly. 0731 was the first official V4 Flash: before it the model was only available as a preview.
In substance this is the same V4 Flash described on the DeepSeek V4 Flash page: a lighter version of V4 Pro that, per DeepSeek, comes close to the larger model in reasoning and matches it on simple agentic tasks. On the model card DeepSeek lists the low, high and max reasoning levels. The 1M-token window holds a long conversation history, and a repeated request prefix may be served from cache — useful for chatbots and utility steps in agents.
In DeepSeek's own lineup, the V4 Flash generation has already been replaced: the company has retired V4 Flash in its API and offers DeepSeek V4.1 Flash. So 0731 makes sense where the switch has not been tested yet.
When it's not the right fit
- A new project with code and agents — start with DeepSeek V4.1 Flash: through llmbox it supports your functions, JSON-schema output, image input and Codex CLI.
- Tasks that rely on deep knowledge and the most complex agentic scenarios — per DeepSeek, DeepSeek V4 Pro is stronger there.
How to connect
You call the model from your own code through the OpenAI SDK or another OpenAI-compatible client with an llmbox key and the model ID deepseek/deepseek-v4-flash-0731. You don't need a DeepSeek API key; the key and base URL are covered in the Quickstart. Moving to V4.1 Flash only means changing the model ID — the key stays the same.
DeepSeek V4 Flash 0731 API pricing
The rates per 1M input and output tokens, as well as cache read and write rates, are on this page. Reasoning tokens count as output. You pay from a prepaid balance as you go, with no subscription. Every request with its tokens and cost is in the request log in your dashboard, so 0731 and V4.1 Flash are easy to compare on spend for the same workload.
Typical tasks
- Projects tuned and evaluated on the 0731 build specifically
- Comparing V4 Flash and V4.1 Flash on your own requests
- Utility steps in agents and short text answers
- Chatbots with long conversation history
DeepSeek V4 Flash 0731 or DeepSeek V4 Flash?
| Model | Input · 1M | Output · 1M |
|---|---|---|
| DeepSeek V4 Flash 0731 | $0.10 | $0.28 |
| DeepSeek V4 Flash | $0.144 | $0.396 |
DeepSeek V4 Flash 0731 vs neighbours
| Model | Input · 1M | Output · 1M |
|---|---|---|
| DeepSeek V4 Flash 0731 | $0.10 | $0.28 |
| DeepSeek V4.1 Flash 1017 | $0.09 | $0.36 |
| DeepSeek V4.1 Flash | $0.10 | $0.27 |
| DeepSeek V4 Pro 0813 | $0.10 | $0.28 |
| DeepSeek V4 Flash | $0.144 | $0.396 |
| Gemini 3.1 Flash Lite Google | $0.10 | $0.40 |
Other DeepSeek models
FAQ
How is DeepSeek V4 Flash 0731 different from DeepSeek V4 Flash?
The 0731 in the name is the build date: on July 31, 2026 DeepSeek released the official version of V4 Flash, replacing the preview. Per DeepSeek, the architecture and size did not change; the model was only re-post-trained, with enhanced agentic capabilities. The dated name points to this build explicitly.
How is the official 0731 release different from the V4 Flash preview?
Per DeepSeek, 0731 replaced the preview: same architecture and size, re-post-trained, with substantially enhanced agentic capabilities. With this build V4 Flash left preview status.
How is 0731 different from DeepSeek V4.1 Flash?
V4.1 Flash is the next generation, built on DeepSeek's new architecture. In its own API DeepSeek has retired V4 Flash and offers V4.1 Flash instead.
How do I connect the model through llmbox?
Create a key in your dashboard and pass it, together with the llmbox base URL, to any OpenAI-compatible client, with deepseek/deepseek-v4-flash-0731 as the model. Step-by-step setup is in the Quickstart.
How is DeepSeek V4 Flash 0731 billed?
Per input and output token, from a prepaid balance as you go; the rates, including cache rates, are on this page. Reasoning tokens count as output.