Comprehensive side-by-side LLM comparison
Devstral-2-123B offers 124.9K more tokens in context window than Grok 2. Devstral-2-123B is $8.00 cheaper per million tokens. Grok 2 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 2, released by xAI in August 2024, is a large language model with 131K token context window and native image understanding, developed with access to real-time information from the X platform. It features multimodal input capabilities and improved reasoning over its predecessor. Grok 2 targets conversational assistants, image analysis, and real-time information retrieval tasks via the xAI API.
1 year newer

Grok 2
xAI
2024-08-14

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