Compare/GPT-5.1 Codex mini (high) vs Devstral Medium

GPT-5.1 Codex mini (high)vsDevstral Medium

Side-by-side comparison of pricing, 12 benchmarks, and generation speed.

OpenAI

GPT-5.1 Codex mini (high)

Input
$0.25/M
Output
$2/M
Speed
176 tok/s
TTFT
4.17s
Mistral

Devstral Medium

Input
$0.4/M
Output
$2/M
Speed
78 tok/s
TTFT
0.52s

Winner by Category

Cheaper
GPT-5.1 Codex mini (high)
Faster (tok/s)
GPT-5.1 Codex mini (high)
Lower Latency
Devstral Medium
Benchmarks (11-1)
GPT-5.1 Codex mini (high)

Pricing Comparison

MetricGPT-5.1 Codex mini (high)Devstral Medium
Input ($/M tokens)$0.25$0.4
Output ($/M tokens)$2$2
Cost for 1M input + 100K output tokens:
GPT-5.1 Codex mini (high)$0.45
Devstral Medium$0.60

Speed Comparison

Output Speed (tokens/s) — higher is better
GPT-5.1 Codex mini (high)
176 tok/s
Devstral Medium
78 tok/s
Time to First Token (seconds) — lower is better
GPT-5.1 Codex mini (high)
4.17s
Devstral Medium
0.52s

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
38.618.7
Coding Index
36.415.9
Math Index
91.74.7
GPQA Diamond
81.3%49.2%
MMLU-Pro
82.0%70.8%
LiveCodeBench
83.6%33.7%
AIME 2025
91.7%4.7%
MATH-500
70.7%
Humanity's Last Exam
16.9%3.8%
SciCode
42.6%29.4%
IFBench
67.9%29.9%
TerminalBench
33.3%9.1%
GPT-5.1 Codex mini (high)11 wins
1 winsDevstral Medium

Frequently Asked Questions

Which is cheaper, GPT-5.1 Codex mini (high) or Devstral Medium?

GPT-5.1 Codex mini (high) is cheaper overall. Its blended price (3:1 input/output ratio) is $0.69/M tokens vs $0.80/M for Devstral Medium.

Which model performs better on benchmarks?

GPT-5.1 Codex mini (high) wins 11 out of 12 benchmarks compared to 1 for Devstral Medium. See the detailed benchmark chart above for per-category results.

Which is faster for real-time applications?

GPT-5.1 Codex mini (high) generates tokens faster at 176 tok/s vs 78 tok/s. However, Devstral Medium has lower time-to-first-token (0.52s vs 4.17s).

When should I use GPT-5.1 Codex mini (high) vs Devstral Medium?

Choose based on your priorities: GPT-5.1 Codex mini (high) for lower cost, GPT-5.1 Codex mini (high) for stronger benchmark performance, and GPT-5.1 Codex mini (high) for faster generation. For latency-sensitive apps, check the TTFT comparison above.