Comprehensive side-by-side LLM comparison
o4 mini offers 35.8K more tokens in context window than Devstral-2-123B. Devstral-2-123B is $1.50 cheaper per million tokens. o4 mini supports multimodal inputs. Both models have their strengths depending on your specific coding needs.
Mistral AI
Devstral 2, released by Mistral AI on December 9, 2025, is a 123 billion parameter dense transformer model specifically designed for software engineering tasks. It features a 256K token context window and achieved 72.2% on SWE-bench Verified at release, making it a competitive open-weight option for automated coding and agentic development. Devstral 2 targets code generation, multi-file software engineering, and agentic development workflows under a modified MIT license.
OpenAI
OpenAI o4 mini, released by OpenAI in April 2025, is a compact reasoning model from the o4 family that combines multimodal understanding with efficient chain-of-thought processing. It features a 200K token context window and native image understanding, with strong performance on mathematics and coding benchmarks relative to its inference cost. o4 mini targets cost-sensitive applications requiring both visual reasoning and mathematical accuracy.
7 months newer

o4 mini
OpenAI
2025-04-16

Devstral-2-123B
Mistral AI
2025-12-09
Cost per million tokens (USD)
Devstral-2-123B
o4 mini
Context window and performance specifications
Available providers and their performance metrics
Devstral-2-123B
OpenRouter
o4 mini
Devstral-2-123B
o4 mini
Devstral-2-123B
o4 mini
OpenAI