Comprehensive side-by-side LLM comparison
GPT-5 Mini offers 168.6K more tokens in context window than Devstral-2-123B. Devstral-2-123B is $21.00 cheaper per million tokens. GPT-5 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
GPT-5 mini, released by OpenAI in August 2025, is a smaller variant from the GPT-5 family that inherits GPT-5's unified reasoning architecture and multimodal capabilities at a reduced inference cost. It targets high-volume production use cases requiring a balance of intelligence and response speed, offering GPT-5 capabilities for applications where full GPT-5 inference costs are a concern.
4 months newer

GPT-5 Mini
OpenAI
2025-08

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