Compare AI models

Specifications
Context window
128k1M
API pricing
Input price
—$0.40
Output price
—$1.60
Cached input price
—$0.10
Cheapest input
—$0.40Azure
Cheapest output
—$1.60Azure
—$160OpenAI list price
Benchmarks
SWE-Bench Verified
61.6%23.6%
Overview
CompanyMistralOpenAI
Release dateJul 10 2025Apr 14 2025
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

Devstral Medium leads GPT-4.1 mini on 1 of the 1 benchmark they both report (SWE-Bench Verified). Only GPT-4.1 mini has a verified first-party price for an available API: $0.40 per million input tokens and $1.60 per million output tokens. No currently available pay-as-you-go API rate is tracked for Devstral Medium. GPT-4.1 mini shipped 87 days before Devstral Medium, so benchmark comparisons should account for the intervening progress.

Context windows are 128k (Devstral Medium) vs 1M (GPT-4.1 mini).

On SWE-Bench Verified, Devstral Medium leads at 61.6% vs GPT-4.1 mini at 23.6%.