Comprehensive side-by-side LLM comparison
Devstral Medium offers 190.5K more tokens in context window than GPT-4. Devstral Medium is $87.60 cheaper per million tokens. GPT-4 supports multimodal inputs. Both models have their strengths depending on your specific coding needs.
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 was created as a large multimodal model capable of accepting image and text inputs while producing text outputs. Developed to exhibit human-level performance on various professional and academic benchmarks, it marked a significant advancement in reliability, creativity, and handling of nuanced instructions compared to its predecessors.
2 years newer

GPT-4
OpenAI
2023-06-13

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

Devstral Medium

GPT-4
Context window and performance specifications
GPT-4
2022-12-31
Available providers and their performance metrics

Devstral Medium
Mistral AI

GPT-4

Devstral Medium

GPT-4

Devstral Medium

GPT-4
Azure
OpenAI