DeepSeek V4 Flash 0731
Where it stands
Quality in independent tests against price, next to 135 other models. Up means more capable, left means cheaper.
About this model
DeepSeek V4 Flash 0731 is an AI model from DeepSeek, made available through the API on July 31, 2026. It can read up to 1,048,576 tokens in one request, roughly 1,966 pages of text, and write up to 943,718 tokens in a single answer.
Through the API it costs $0.018 per million input tokens and $0.32 per million output tokens. Its pricing puts it among the more affordable models we track, which makes it a good fit for high-volume tasks.
It supports extended reasoning: it can "think" step by step before answering, which helps on maths, code and complex questions. It can call tools and functions, so developers can connect it to search, databases or other software. Its weights are openly published (deepseek-ai/DeepSeek-V4-Flash-0731), so it can also be downloaded and run on your own hardware.
Quality scores
Rankings →- GPQA DiamondVery hard multiple-choice questions in biology, physics and chemistry, written by PhD experts. Random guessing scores 25%.91.0%#21 of 116
- AIME mathCompetition-level math problems in the style of the American Invitational Mathematics Examination. Share solved.94.4%#29 of 112
- FrontierMathOriginal, unpublished math problems written by professional mathematicians, from advanced to research level. Share solved.57.5%#33 of 73
- SimpleQA VerifiedShort factual questions. Measures how often the model gets facts right instead of making something up.33.6%#49 of 69
Where to use it
Companies that serve this model through an API: 30. Prices per million tokens, cheapest first.
| Provider | Inputi | Outputi | Contexti | Uptime (24 h)i |
|---|---|---|---|---|
StreamLakeCheapestfp8 | $0.044 | $0.13 | 1M | 99.5% |
DeepInfrafp8 | $0.06 | $0.18 | 1M | 99.9% |
Makora | $0.09 | $0.20 | 1M | 99.4% |
Sail Researchfp4 | $0.019 | $0.30 | 1M | 98.1% |
Relacefp4 | $0.018 | $0.32 | 1M | 99.8% |
DigitalOcean | $0.12 | $0.24 | 1M | 99.8% |
BaseTenfp8 | $0.13 | $0.26 | 1M | 99.9% |
BaseTenfp8 | $0.13 | $0.26 | 1M | 100.0% |
CoreWeavefp8 | $0.13 | $0.28 | 256K | 99.9% |
Wafer | $0.07 | $0.35 | 1M | 100.0% |
Nebiusfp8 | $0.14 | $0.28 | 1M | 92.9% |
Cohere | $0.14 | $0.28 | 1M | 99.5% |
Together | $0.14 | $0.28 | 1M | 99.7% |
Parasailfp8 | $0.14 | $0.28 | 1M | 99.3% |
Sail Researchfp4 | $0.019 | $0.42 | 1M | 97.1% |
Venice | $0.18 | $0.35 | 1M | 99.7% |
Morphbf16 | $0.14 | $0.40 | 1M | 99.2% |
Reka | $0.021 | $0.53 | 256K | 99.5% |
AtlasCloudfp4 | $0.16 | $0.48 | 1M | 99.8% |
Inceptronfp4 | $0.056 | $0.65 | 1M | 100.0% |
Mancer 2fp8 | $0.20 | $0.60 | 1M | 99.3% |
SiliconFlowfp8 | $0.22 | $0.66 | 1M | 99.5% |
GMICloudfp8 | $0.29 | $0.86 | 1M | 100.0% |
Phala | $0.31 | $0.92 | 1M | 100.0% |
OpenInferencefp8 | $0.012 | $1.25 | 1M | 97.3% |
NextBitfp8 | $0.35 | $1.06 | 1M | 99.9% |
Alibaba | $0.35 | $1.06 | 1M | 99.6% |
Novitafp8 | $0.41 | $1.23 | 1M | 100.0% |
Baidufp8 | $0.44 | $1.32 | 1M | 99.9% |
Cloudflare | $0.44 | $1.32 | 1M | 100.0% |
Availability and prices come from OpenRouter’s public API and are refreshed daily. Uptime is the share of successful requests over the last 24 hours. Some providers run a compressed version of open models (fp8, int4), which is cheaper but can be slightly less accurate.
Use it in your code
Call DeepSeek V4 Flash 0731 through OpenRouter’s OpenAI-compatible API: create a key on openrouter.ai, then run one of these examples.
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek/deepseek-v4-flash-0731", "messages": [{"role": "user", "content": "Hello! What can you do?"}]}'import os
from openai import OpenAI
client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
reply = client.chat.completions.create(
model="deepseek/deepseek-v4-flash-0731",
messages=[{"role": "user", "content": "Hello! What can you do?"}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://openrouter.ai/api/v1", apiKey: process.env.OPENROUTER_API_KEY });
const reply = await client.chat.completions.create({
model: "deepseek/deepseek-v4-flash-0731",
messages: [{ role: "user", content: "Hello! What can you do?" }],
});
console.log(reply.choices[0].message.content);The same code works with every model on this site: only the model ID changes. Many labs also offer their own API and SDK.
What it costs in practice
- 1,000 chat replies$0.105
- Summarise a 100-page document$0.0012
- An app with 10,000 requests a day for a month$43.80
Similar-priced alternatives
| Model | Inputi | Outputi | Contexti | |
|---|---|---|---|---|
Ling 3.0 Flash VLinclusionAI (Ant Group) | $0.021 | $0.062 | 256K | Compare with ⇄ |
gpt-oss-20bOpenAI | $0.018 | $0.09 | 128K | Compare with ⇄ |
Nex-N2.5-MiniNex Agi | $0.025 | $0.10 | 256K | Compare with ⇄ |
Mistral NemoMistral AI | $0.019 | $0.03 | 128K | Compare with ⇄ |
| $0.017 | $0.11 | 131K | Compare with ⇄ | |
Schematron V2 TurboInference Net | $0.03 | $0.15 | 128K | Compare with ⇄ |
News about DeepSeek
See all →Frequently asked questions
- How much does DeepSeek V4 Flash 0731 cost?
- DeepSeek V4 Flash 0731 costs $0.018 per million input tokens and $0.32 per million output tokens through the API. For example, 1,000 chat replies of about 500 tokens in and 300 out cost around $0.105.
- What is the context window of DeepSeek V4 Flash 0731?
- DeepSeek V4 Flash 0731 can read up to 1,048,576 tokens in one request, about 1,966 pages of text. It can write up to 943,718 tokens in a single answer.
- Is DeepSeek V4 Flash 0731 open source?
- Yes. Its weights are published (deepseek-ai/DeepSeek-V4-Flash-0731), so you can download it and run it on your own hardware, or use it through one of 30 API providers.
- Who makes DeepSeek V4 Flash 0731?
- DeepSeek V4 Flash 0731 is made by DeepSeek. It became available through the API on July 31, 2026.
- How good is DeepSeek V4 Flash 0731?
- DeepSeek V4 Flash 0731 has an overall index of 154.5 in Epoch AI’s independent tests, ranking #30 of 136 models we track.
- Can DeepSeek V4 Flash 0731 read images?
- No. DeepSeek V4 Flash 0731 only accepts text as input.
- What are the alternatives to DeepSeek V4 Flash 0731?
- Models with a similar price from other companies include Ling 3.0 Flash VL, gpt-oss-20b and Nex-N2.5-Mini. You can compare them side by side on this page.