DeepSeek-V4-Flash-0731vsGPT-4.1 mini
DeepSeek-V4-Flash-0731 | GPT-4.1 mini | |
|---|---|---|
| API pricingUSD per 1M tokens · lower wins · base tier | ||
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it. | $0.22 | $0.40 |
Output priceWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one. | $0.66 | $1.60 |
Cached input priceA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again. | $0.007 | $0.10 |
Cheapest inputLowest input rate across third-party providers, excluding the lab itself. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page. | $0.03OpenInference | $0.40Azure |
Cheapest outputLowest output rate across third-party providers, excluding the lab itself. May come from a different provider than the cheapest input. | $0.0899Baidu | $1.60Azure |
| Benchmarks | ||
SWE-Bench VerifiedCoding — Real coding tasks pulled from open-source projects — the AI has to find and fix actual bugs. A human-checked version of the original SWE-Bench. Higher is better. | 79% | 23.6% |
| BenchmarksPublished by one model only | ||
BullshitBench v2Nonsense detection — Given a confidently-worded but nonsensical prompt, does the AI spot that it makes no sense and push back — instead of playing along and inventing an answer? The score is how often it clearly called out the nonsense. Higher is better. | 38% | — |
Terminal-Bench 2.1Agentic terminal coding — Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? Higher is better. | 82.7% | — |
Toolathlon-VerifiedPersonal tool use — Tests how well the AI uses everyday personal tools and apps to get things done — a human-checked version of Toolathlon. Higher is better. | 70.3% | — |
BrowseCompWeb browsing — Can the AI browse the web and track down hard-to-find answers? Higher is better. | 73.2% | — |
CyberGymCybersecurity — Tests the AI on cybersecurity challenges — finding and exploiting software weaknesses inside a safe sandbox. Higher is better. | 76.7% | — |
Humanity's Last Exam · with toolsMultidisciplinary reasoning — Humanity's Last Exam — extremely hard expert questions across many subjects. “With tools” means the AI is allowed to search the web or run code while answering. Higher is better. | 34.8% | — |
AutomationBenchBusiness workflows — Tests whether the AI can run real multi-step business workflows — the kind of end-to-end office processes companies want to automate — from start to finish. Higher is better. | 25.1% | — |
| Overview | ||
| Company | DeepSeek | OpenAI |
| Release date | Jul 31 2026 | Apr 14 2025 |
| Access | Proprietary | Proprietary |
Other comparisons
Frequently asked questions
DeepSeek-V4-Flash-0731 leads GPT-4.1 mini on 1 of the 1 benchmark they both report (SWE-Bench Verified). DeepSeek-V4-Flash-0731 is cheaper on both input and output: $0.22 vs $0.40 per million input tokens, and $0.66 vs $1.60 per million output tokens. Figures are base-tier rates. GPT-4.1 mini shipped 473 days before DeepSeek-V4-Flash-0731, so benchmark comparisons should account for the intervening progress.
Published specifications for these two models are limited — see each model page for the latest details.
On SWE-Bench Verified, DeepSeek-V4-Flash-0731 leads at 79% vs GPT-4.1 mini at 23.6%.
DeepSeek-V4-Flash-0731 was released by DeepSeek on Jul 31 2026.
GPT-4.1 mini was released by OpenAI on Apr 14 2025.
DeepSeek-V4-Flash-0731 leads on SWE-Bench Verified — DeepSeek-V4-Flash-0731 79% vs GPT-4.1 mini 23.6%.
DeepSeek-V4-Flash-0731 is cheaper on both input and output: $0.22 vs $0.40 per million input tokens, and $0.66 vs $1.60 per million output tokens. Figures are base-tier rates. Rates are pay-as-you-go API prices verified on August 18, 2026.