The AI arena is free today

Open Superagent

DeepSeek-V4-Flash-0731 vs Devstral Medium

Comparing DeepSeek-V4-Flash-0731 and Devstral Medium across benchmarks, pricing, and capabilities.

DeepSeek · Mistral AI · Updated for 2026

Which is better?

DeepSeek-V4-Flash-0731 and Devstral Medium trade strengths across price, capabilities, and technical limits. The better choice depends on the workload.

On price, DeepSeek-V4-Flash-0731 is roughly 7.1x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

DeepSeek-V4-Flash-0731 also accepts a larger context window (1,048,576 input tokens), making it the stronger choice for long documents and large codebases.

Based on current benchmark, pricing, and model metadata for 2026.

Choose DeepSeek-V4-Flash-0731

  • cost matters — it's about 7.1x cheaper per token
  • you process long inputs — it offers a 1,048,576 token context window
  • you want the most recent training data — it shipped Jul 2026
  • you need open weights you can self-host or fine-tune

Choose Devstral Medium

  • you want predictable pricing at $0.40/M input and $2.00/M output

At a glance

The differences that matter most.

Benchmark wins
Input price
$0.09 / M
$0.40 / M
Output price
$0.18 / M
$2.00 / M
Context window
1,048,576
128,000
Released
Jul 2026
Jul 2025
License
MIT
Proprietary

Performance Benchmarks

Comparative analysis across standard metrics

No common benchmarks found

DeepSeek-V4-Flash-0731 and Devstral Mediumdon't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.

Arena Performance

Playground indexes and blind preference scores

Pricing Analysis

Price comparison per million tokens

DeepSeek-V4-Flash-0731 costs less

For input processing, DeepSeek-V4-Flash-0731 ($0.09/1M tokens) is 4.4x cheaper than Devstral Medium ($0.40/1M tokens).

For output processing, DeepSeek-V4-Flash-0731 ($0.18/1M tokens) is 11.1x cheaper than Devstral Medium ($2.00/1M tokens).

In conclusion, Devstral Medium is more expensive than DeepSeek-V4-Flash-0731.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Tue Aug 25 2026 • llm-stats.com
DeepSeek
DeepSeek-V4-Flash-0731
Input tokens$0.09
Output tokens$0.18
Best providerDeepinfra
Mistral AI
Devstral Medium
Input tokens$0.40
Output tokens$2.00
Best providerMistral
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

DeepSeek-V4-Flash-0731 accepts 1,048,576 input tokens compared to Devstral Medium's 128,000 tokens. Devstral Medium can generate longer responses up to 128,000 tokens, while DeepSeek-V4-Flash-0731 is limited to 65,536 tokens.

DeepSeek
DeepSeek-V4-Flash-0731
Input1,048,576 tokens
Output65,536 tokens
Mistral AI
Devstral Medium
Input128,000 tokens
Output128,000 tokens
Tue Aug 25 2026 • llm-stats.com

License

Usage and distribution terms

DeepSeek-V4-Flash-0731 is licensed under MIT, while Devstral Medium uses a proprietary license.

License differences may affect how you can use these models in commercial or open-source projects.

DeepSeek-V4-Flash-0731

MIT

Open weights

Devstral Medium

Proprietary

Closed source

Release Timeline

When each model was launched

DeepSeek-V4-Flash-0731 was released on 2026-07-31, while Devstral Medium was released on 2025-07-10.

DeepSeek-V4-Flash-0731 is 13 months newer than Devstral Medium.

DeepSeek-V4-Flash-0731

Jul 31, 2026

3 weeks ago

1.1yr newer
Devstral Medium

Jul 10, 2025

1.1 years ago

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Provider Availability

DeepSeek-V4-Flash-0731 is available from DeepInfra, Novita, Fireworks. Devstral Medium is available from Mistral AI.

DeepSeek-V4-Flash-0731

deepinfra logo
Deepinfra
Input Price:Input: $0.09/1MOutput Price:Output: $0.18/1M
novita logo
Novita
Input Price:Input: $0.14/1MOutput Price:Output: $0.28/1M
fireworks logo
Fireworks
Input Price:Input: $0.44/1MOutput Price:Output: $1.32/1M

Devstral Medium

mistral logo
Mistral
Input Price:Input: $0.40/1MOutput Price:Output: $2.00/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against DeepSeek-V4-Flash-0731 and Devstral Medium side-by-side, then vote on the output you prefer.

DeepSeek-V4-Flash-0731
✓ Preferred
Devstral Medium
Open in Playground

FAQ

Common questions about DeepSeek-V4-Flash-0731 vs Devstral Medium.

Which is better, DeepSeek-V4-Flash-0731 or Devstral Medium?

DeepSeek-V4-Flash-0731 (DeepSeek) and Devstral Medium (Mistral AI) each have strengths in different areas. Compare their benchmark scores, pricing, context windows, and capabilities above to determine which fits your needs.

How does DeepSeek-V4-Flash-0731 compare to Devstral Medium in benchmarks?

DeepSeek-V4-Flash-0731 scores Terminal-Bench 2.1: 82.7%, CyberGym: 76.7%, Toolathlon: 70.3%, DSBench-FullStack: 68.7%, DSBench-Hard: 59.6%. Devstral Medium scores SWE-Bench Verified: 61.6%.

Is DeepSeek-V4-Flash-0731 cheaper than Devstral Medium?

DeepSeek-V4-Flash-0731 is 4.4x cheaper for input tokens. DeepSeek-V4-Flash-0731 costs $0.09/M input and $0.18/M output via deepinfra. Devstral Medium costs $0.40/M input and $2.00/M output via mistral.

What are the context window sizes for DeepSeek-V4-Flash-0731 and Devstral Medium?

DeepSeek-V4-Flash-0731 supports 1.0M tokens and Devstral Medium supports 128K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between DeepSeek-V4-Flash-0731 and Devstral Medium?

Key differences include context window (1.0M vs 128K), input pricing ($0.09 vs $0.40/M), licensing (MIT vs Proprietary). See the full comparison above for benchmark-by-benchmark results.

Who makes DeepSeek-V4-Flash-0731 and Devstral Medium?

DeepSeek-V4-Flash-0731 is developed by DeepSeek and Devstral Medium is developed by Mistral AI.