DeepSeek V4 Flash 0731

deepseek/deepseek-v4-flash-0731
NewFeatured
ToolsJSONReasoning
by DeepSeek · 2026-07-31

DeepSeek V4 Flash 0731 is the re-post-trained official release of DeepSeek's efficient V4 Flash mixture-of-experts model — 284B total / 13B active parameters, identical in architecture and size to the April V4 Flash release, with the post-training redone from scratch. It serves a 1M-token context window with up to 384K output tokens, supports both thinking and non-thinking modes (thinking on by default) plus JSON output and tool calls, and natively speaks the Responses API with a targeted adaptation for Codex-style coding agents. The 0731 revision is a major step up in agent capability, outscoring even DeepSeek V4 Pro Preview on DeepSeek's published agent benchmarks — 82.7 on Terminal Bench 2.1, 76.7 on Cybergym, 70.3 on Toolathlon Verified, 54.4 on DeepSWE, and 54.2 on NL2Repo. On the DeepSeek first-party API this revision is what the deepseek-v4-flash model id now serves; the dated identifier lists the same revision for callers that reference it by date. It is a strong pick for coding agents, terminal and tool-use workloads, and high-volume agentic pipelines at flash-tier cost.

ctx1M tokens
Max output384K
Inputtext
Outputtext
p50 TTFT791 ms
INPUT$0.15/ 1M tokens
OUTPUT$0.29/ 1M tokens
p50 TTFT791 ms7d
p95 TTFT1.42 s7d
TRAFFIC4.3Mtokens / 7d

DeepSeek V4 Flash 0731 is a text-only language model from the provider deepseek, available through OrcaRouter at the model ID deepseek/deepseek-v4-flash-0731. Its headline specifications are a…

What is DeepSeek V4 Flash 0731?

Who is this model for?

Where does this model sit in the DeepSeek family on OrcaRouter?

Code samples

Call from any SDK

OpenAI-compatible — keep the SDK you already use

  • OpenAI SDKhttps://api.orcarouter.ai/v1
  • Anthropic SDKhttps://api.orcarouter.ai
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key=os.environ["ORCAROUTER_API_KEY"],
)

response = client.chat.completions.create(
    model="deepseek/deepseek-v4-flash-0731",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Supported parameters

  • frequency_penalty
  • include_reasoning
  • logit_bias
  • logprobs
  • max_tokens
  • min_p
  • presence_penalty
  • reasoning
  • reasoning_effort
  • repetition_penalty
  • response_format
  • seed
  • stop
  • structured_outputs
  • temperature
  • tool_choice
  • tools
  • top_k
  • top_logprobs
  • top_p

Pricing

Input / 1M tokens$0.147
Output / 1M tokens$0.295
Cache read / 1M$0.020
CurrencyUSD

Cost calculator

Tokens / month10MM
Input share70%%
Estimated / month $1.91 · With prompt caching $1.47

Estimate based on list price

Token & cost estimator

Input tokens: 20Cost per request: $0.000150

Estimate only — actual token counts depend on the provider's tokenizer.

Performance

p50 TTFT
791 ms
Output speed
101 tok/s
p95 TTFT
1.42 s
Error rate
0%

Public benchmarks

69.1
AA Coding
Better than 85% of models compared
#18 of 124
49.9
AA Intelligence
Better than 80% of models compared
#24 of 126
Agent Last Exam
25.2
Automation Bench (Public)
25.1
Cybergym
76.7
DeepSWE
54.4
GPQA Diamond
90.8
Humanity's Last Exam
36.8
Long-Context Recall
65.7
NL2Repo
54.2
SciCode
49.9
tau_banking
31.1
Terminal Bench 2.1
82.7
terminalbench_v2_1
78.7
Toolathlon Verified
70.3
Source: artificialanalysis.ai, api-docs.deepseek.com

Community buzz

What developers are saying this week

Hacker News7 mentions · 7dup 7 vs the previous week

How it compares

DeepSeek V4 Flash 0731DeepSeek V4 ProDeepSeek V4 FlashDeepSeek V3
Input $/M$0.15$0.44$0.15$0.15
Output $/M$0.29$0.88$0.29$0.29
Context1.0M1.0M1.0M1.0M
Quality6/108/107/105/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

What does DeepSeek V4 Flash 0731 cost?
It costs $0.15 per 1,000,000 input tokens and $0.29 per 1,000,000 output tokens. OrcaRouter bills at the provider rate with zero markup, so these are the rates you pay. The model card does not describe cached-input pricing or batch discounts.
What context window and output limit does it support?
It supports 1,048,576 tokens of input context and up to 384,000 tokens of output. Input modality is text only. The model card does not specify a separate combined token limit beyond these two caps.
What is the model best at?
Based on the included facts, its strength is terminal and command-line task completion, indicated by an 82.7 score on Terminal Bench 2.1. Its large context and output limits also support long-document text processing and long-form generation. No other benchmark scores are provided.
How does it compare to other models?
The provided facts only cover this model. Compare candidates in the OrcaRouter catalog by context window, max output, modalities, and per-1M-token prices. This model is text-only, has a 1M-token context, a 384K output, and costs $0.15/$0.29 per 1M tokens.
How is data handled when using this model through OrcaRouter?
The available facts do not describe data retention, training use, or storage for this model. Data handling is governed by OrcaRouter's terms and the provider deepseek's policies. Review OrcaRouter's documentation before sending sensitive data.
How do I call this model?
Use OrcaRouter's OpenAI-compatible API at base URL https://api.orcarouter.ai/v1 with the model ID deepseek/deepseek-v4-flash-0731. Send standard chat completion requests with your OrcaRouter API key and text-only messages.
Does it support streaming or function calling?
The available facts do not state whether streaming or function calling is supported. The API is OpenAI-compatible, so test those features before relying on them. Set max_tokens within the 384,000 output cap.
Is this a multimodal model?
No. Input modality is text only. For images, audio, or video, you will need a multimodal model in OrcaRouter's catalog or a separate preprocessing step.

Embed this badge

DeepSeek: DeepSeek V4 Flash 0731$0.15/M in791ms p50via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/deepseek/deepseek-v4-flash-0731" target="_blank"> <img src="https://www.orcarouter.ai/embed/deepseek/deepseek-v4-flash-0731.svg" alt="DeepSeek: DeepSeek V4 Flash 0731 on OrcaRouter" /> </a>
Markdown [![DeepSeek: DeepSeek V4 Flash 0731](https://www.orcarouter.ai/embed/deepseek/deepseek-v4-flash-0731.svg)](https://www.orcarouter.ai/models/deepseek/deepseek-v4-flash-0731)

Model card as data

GET /api/public/models/deepseek/deepseek-v4-flash-0731Open
Machine-readable:/llms.txt/llms-full.txt