Back to Models
MistralAIProprietary

Devstral Medium

Devstral Medium is a programming-specialized foundation model developed by MistralAI. It is equipped with a wide 128K context window, making it suitable for handling large codebases.

Parameters

Undisclosed

Context Window

128K

License

Proprietary

Release Date

2025-07-10

API Pricing

API pricing for this model is not yet available

Strengths

  • Advanced code generation capability
  • Long 128K context retention
  • Specialization for programming

Weaknesses

  • Non-public license
  • Closed operating environment
  • Unclear performance on general tasks

Use Cases

  • Automated generation of complex code
  • Analysis of large-scale projects
  • Efficient bug fixing and verification

Deep Analysis

SWE-Bench Verified

61.6%

Surpasses Gemini 2.5 Pro and GPT-4.1

Context Window

128K tokens

Pricing

$0.40/$2.00 per 1M tokens

GPQA Diamond

49.2%

Release Date

July 10, 2025

Strengths

  • Strong SWE-Bench Verified (61.6%) at low cost
  • Cost-effective at $0.40/$2.00 per 1M tokens
  • Supports tool use and enterprise deployment

Weaknesses

  • Weak reasoning and math benchmarks
  • API-only, not open-weight
  • Low AIME score (6.7%)

Competitor Comparison

ModelSWEGPQAPrice
Devstral Small 1.153.6%41.4%$0.10/$0.30
Claude 3.5 Haiku40.6%$0.80/$4.00
GPT-4.1-mini23.6%$0.40/$1.60

Devstral Medium is a high-performance coding model from Mistral AI and All Hands AI. Achieves 61.6% SWE-Bench Verified, surpassing Gemini 2.5 Pro and GPT-4.1 at fraction of cost.

Sources

Analysis generated: 2026-05-24