Comprehensive side-by-side LLM comparison
Grok 4 offers 14.3K more tokens in context window than Devstral-2-123B. Devstral-2-123B is $26.00 cheaper per million tokens. Grok 4 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.
xAI
Grok 4, released by xAI on July 10, 2025, is a large language model featuring first-principles reasoning and comprehensive multimodal support. It features a 260K token context window and demonstrated strong performance on advanced reasoning and coding benchmarks. Grok 4 targets complex multi-step reasoning tasks, scientific analysis, and agentic workflows via the xAI API.
5 months newer

Grok 4
xAI
2025-07-10

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