DeepSeek V4 Flash 0731 vs GPT-5 nano: price, context and capabilities

Choose DeepSeek V4 Flash 0731 for writing and code generation, very long inputs and the latest release. Choose GPT-5 nano for high-volume, cost-sensitive work, reused prompts and documents (RAG, agents) and images as input.

In short

  • GPT-5 nano is 8% cheaper than DeepSeek V4 Flash 0731 at the headline price ($0.1375 / 1M tokens vs $0.1488 / 1M tokens).
  • DeepSeek V4 Flash 0731 reads more per request: 1.05M tokens against 400k.
  • DeepSeek V4 Flash 0731 is the newer model (Jul 31, 2026, against Aug 7, 2025).
  • Only GPT-5 nano offers vision, batch api.

Open in the full comparison table

What a month costsAt 20 million input and 5 million output tokens a month.
  1. DeepSeek V4 Flash 0731DeepSeek$3.57
  2. GPT-5 nanoOpenAI$3.00

Try your own volumes in the calculator

Which should you choose?

Each answer below comes straight from the published prices, specifications and independent benchmark results.

High-volume, cost-sensitive work

Choose GPT-5 nano

GPT-5 nano costs 8% less on a typical mix of three input tokens for every output token ($0.14 against $0.15 per million tokens).

Writing and code generation

Choose DeepSeek V4 Flash 0731

DeepSeek V4 Flash 0731 charges $0.24 per million output tokens, against $0.40 for GPT-5 nano. Output dominates the bill when answers are long.

Reused prompts and documents (RAG, agents)

Choose GPT-5 nano

GPT-5 nano charges <$0.01 per million cached input tokens, against $0.02 for DeepSeek V4 Flash 0731.

Very long inputs

Choose DeepSeek V4 Flash 0731

DeepSeek V4 Flash 0731 reads up to 1.05M tokens per request, against 400k for GPT-5 nano.

Images as input

Choose GPT-5 nano

GPT-5 nano accepts images as input; DeepSeek V4 Flash 0731 does not.

Latest release

Choose DeepSeek V4 Flash 0731

DeepSeek V4 Flash 0731 is the newer release (Jul 31, 2026, against Aug 7, 2025 for GPT-5 nano).

Monthly cost at three volumes

VolumeDeepSeek V4 Flash 0731GPT-5 nanoDifference
Prototype: 1M input, 250K output tokens $0.18 $0.15 GPT-5 nano, $0.03 less
Production: 20M input, 5M output tokens $3.57 $3.00 GPT-5 nano, $0.57 less
Scale: 500M input, 100M output tokens $83.30 $65.00 GPT-5 nano, $18.30 less

Standard rates, without caching or batch discounts. Volumes are per month.

Specifications side by side

DeepSeek V4 Flash 0731GPT-5 nano
ProviderDeepSeekOpenAI
CategoryLanguage modelsLanguage models
StatusGenerally availableLegacy
Headline price$0.1488 / 1M tokens$0.1375 / 1M tokens
Input$0.119 / 1M tokens$0.05 / 1M tokens
Output$0.238 / 1M tokens$0.40 / 1M tokens
Cached input$0.0238 / 1M tokens$0.005 / 1M tokens
Context window1.05M400k
Max output944k128k
ReleasedJul 31, 2026Aug 7, 2025
Knowledge cutoffNo dataMay 2024
LicenceProprietaryProprietary
CapabilitiesReasoning, Tool calling, Structured output, Prompt cachingVision, Reasoning, Tool calling, Structured output, Prompt caching, Batch API
API model iddeepseek-v4-flash-0731gpt-5-nano

Benchmarks side by side

Leader in bold.

BenchmarkDeepSeek V4 Flash 0731GPT-5 nano
Terminal-Bench Hard No data 12.1%
GPQA Diamond No data 67.6%
Humanity's Last Exam No data 9.5%
IFBench (instruction following) No data 67.6%
τ²-Bench (agentic tool use) No data 36.5%
MMMU-Pro (visual reasoning) No data 61%
Long-context reasoning (AA-LCR) No data 45%

Independent evaluations by Artificial Analysis, run the same way for every model, at the reasoning setting shown. Percentages unless marked as an index.

Frequently asked questions

Should I choose DeepSeek V4 Flash 0731 or GPT-5 nano?

Choose DeepSeek V4 Flash 0731 for writing and code generation, very long inputs and the latest release. Choose GPT-5 nano for high-volume, cost-sensitive work, reused prompts and documents (RAG, agents) and images as input.

Which is cheaper, DeepSeek V4 Flash 0731 or GPT-5 nano?

GPT-5 nano is 8% cheaper than DeepSeek V4 Flash 0731 at the headline price ($0.1375 / 1M tokens vs $0.1488 / 1M tokens).

Which has the larger context window, DeepSeek V4 Flash 0731 or GPT-5 nano?

DeepSeek V4 Flash 0731 reads more per request: 1.05M tokens against 400k.

What is the difference between DeepSeek V4 Flash 0731 and GPT-5 nano?

DeepSeek V4 Flash 0731 is made by DeepSeek and GPT-5 nano by OpenAI. GPT-5 nano is 8% cheaper than DeepSeek V4 Flash 0731 at the headline price ($0.1375 / 1M tokens vs $0.1488 / 1M tokens). DeepSeek V4 Flash 0731 reads more per request: 1.05M tokens against 400k. DeepSeek V4 Flash 0731 is the newer model (Jul 31, 2026, against Aug 7, 2025). Only GPT-5 nano offers vision, batch api.

How much do DeepSeek V4 Flash 0731 and GPT-5 nano cost per month?

At 20 million input and 5 million output tokens a month, DeepSeek V4 Flash 0731 costs $3.57 and GPT-5 nano costs $3.00, at standard rates.

Which is newer, DeepSeek V4 Flash 0731 or GPT-5 nano?

DeepSeek V4 Flash 0731 was released on Jul 31, 2026 and GPT-5 nano on Aug 7, 2025.