Skip to content

Devstral Medium vs GPT-5.1-Codex-Mini

Both have similar output pricing, while GPT-5.1-Codex-Mini offers a larger context window. Choose Devstral Medium or GPT-5.1-Codex-Mini based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecDevstral MediumGPT-5.1-Codex-Mini
ProviderMistralOpenAI
Input / 1M tokens$0.40$0.25
Output / 1M tokens$2.00$2.00
Context window128K400K
Parameters——
Open weightsYesNo
ReleasedJul 2025Nov 2025
SWE-bench Verified score53.8—
LMArena WebDev Elo score10711243
LiveBench score—60.8

FAQ

Is Devstral Medium or GPT-5.1-Codex-Mini cheaper?

Devstral Medium and GPT-5.1-Codex-Mini have comparable output pricing.

Which has the larger context window, Devstral Medium or GPT-5.1-Codex-Mini?

GPT-5.1-Codex-Mini has the larger context window (400K tokens).

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.