Comprehensive side-by-side LLM comparison
Devstral Medium leads with 7.0% higher average benchmark score. GPT-4.1 offers 824.3K more tokens in context window than Devstral Medium. Devstral Medium is $7.60 cheaper per million tokens. GPT-4.1 supports multimodal inputs. Overall, Devstral Medium is the stronger choice for coding tasks.
Mistral AI
Devstral Medium was created as a development-focused model, designed to assist with software engineering workflows and developer-centric tasks. Built to provide balanced capability for coding, debugging, and technical documentation, it serves as a versatile tool for professional development environments.
OpenAI
GPT-4.1 represents an iterative improvement in the GPT-4 series, developed to refine the foundational capabilities established by GPT-4. Built to incorporate learnings and optimizations from the deployment of previous versions, it continues the evolution of OpenAI's flagship model line with enhanced reliability and performance.
2 months newer

GPT-4.1
OpenAI
2025-04-14

Devstral Medium
Mistral AI
2025-07-10
Cost per million tokens (USD)

Devstral Medium

GPT-4.1
Context window and performance specifications
Average performance across 1 common benchmarks

Devstral Medium

GPT-4.1
Performance comparison across key benchmark categories

Devstral Medium

GPT-4.1
GPT-4.1
2024-06-01
Available providers and their performance metrics

Devstral Medium
Mistral AI

GPT-4.1

Devstral Medium

GPT-4.1

Devstral Medium

GPT-4.1
OpenAI