Comprehensive side-by-side LLM comparison
GPT-5 offers 168.6K more tokens in context window than Devstral-2-123B. Devstral-2-123B is $146.00 cheaper per million tokens. GPT-5 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, released by OpenAI on August 7, 2025, is a large language model that combines direct generation and extended reasoning in a single unified system with a built-in routing mechanism. It features a 400K token context window, 128K maximum output tokens, native multimodal support (text, image, audio, video), and demonstrated strong results across coding, mathematics, visual understanding, and health benchmarks at release. GPT-5 targets complex multi-step tasks including advanced coding, mathematical problem solving, and long-context analysis.
4 months newer

GPT-5
OpenAI
2025-08-07

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