Home › Model Docs › DeepSeek › DeepSeek V4 Flash 0731

DeepSeek V4 Flash 0731

DeepSeek · Text generation

Official input $0.299 and output $1.19 per 1M tokens. No seller quote in stock right now.

Pricing

Billing unitPer million tokens
Official input$0.299 / 1M tokens
Official output$1.19 / 1M tokens
Our input—
Our output—

Sellers set their own ask as a discount off the official list price, capped at 50%. The figure above is the deepest ask currently in force.

All prices are shown in US dollars; billing and settlement are in CNY.

Parameters

Context window1M tokens
Max output943.7K tokens
Input modalitiestext
Output modalitiestext
Best OpenRouter rank#10

Capabilities

Tool callingVision inputReasoningPrompt cachingStructured output

Measured latency and reliability

First-token latency, real traffic (30 days)4885 ms · 34 requests · 100% success
Probe median latency (7 days)2.76 s · 4 probes
Probe success rate (7 days)100%

Measured on real traffic through this platform, not vendor benchmarks. Last probe: 2026-11-24.

Monthly cost

Usage levelMonthly volume (example)At list priceAt our priceYou save
Prototyping2M in + 0M out tokens$0.60——
Small product20M in + 5M out tokens$11.95——
Mid-size service200M in + 50M out tokens$119.49——

Example volumes are for scale reference only — billing is per call, pay for what you use. Unit: USD per 1M tokens.

Closest alternatives

ModelVendorList price ($ per 1M input tokens)Our priceDiscount
DeepSeek V4 Flash (old name,DeepSeek$0.299$0.2990.0% off
DeepSeek V4 Flash (old name,DeepSeek$0.299$0.2990.0% off
DeepSeek V4 Flash 0423DeepSeek$0.299$0.2990.0% off
DeepSeek V4.1 Flash 1017DeepSeek$0.299$0.2990.0% off
DeepSeek V4.1 FlashDeepSeek$0.299$0.01694.5% off
DeepSeek V4.1 FlashDeepSeek$0.299$0.2990.0% off
Gemini 3.5 Flash LiteGoogle$0.300$0.3000.0% off
Gemini 2.5 FlashGoogle$0.300$0.08372.5% off

The eight models nearest in list price on the same billing unit — the quickest way to judge whether this one is expensive at its tier. See live pricing for the full list.

How to call it

curl

curl https://ai.dijinlong.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reasoning_effort":"high","model":"deepseek-v4-flash-0731","messages":[{"role":"user","content":"Hello"}]}'

Python

from openai import OpenAI

client = OpenAI(base_url="https://ai.dijinlong.com/v1", api_key="YOUR_API_KEY")
resp = client.chat.completions.create(
    model="deepseek-v4-flash-0731",
    reasoning_effort="high",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

DeepSeek V4 Flash 0731 is a text model endpoint; point base_url at the address above and use an API key from your dashboard. Any OpenAI-compatible client works unchanged.

Request parameters

Supported request parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_pparallel_tool_callspresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstop

Reasoning effort can be set to max, high, low, none, default high.

Other DeepSeek models

Explore

FAQ

How much does DeepSeek V4 Flash 0731 cost per million tokens?

The official price is $0.299 for input and $1.19 for output per 1M tokens. Prices are billed in CNY.

What is the context window of DeepSeek V4 Flash 0731?

DeepSeek V4 Flash 0731 supports a context window of 1M tokens.

What is the maximum output length of DeepSeek V4 Flash 0731?

DeepSeek V4 Flash 0731 can return up to 943.7K tokens in a single response, against a 1M-token context window.