342.1K Downloads Updated 2 months ago
Updated 2 months ago
2 months ago
9bd74193e939 ยท 14GB
Devstral is an agentic LLM for software engineering tasks built under a collaboration between Mistral AI and All Hands AI ๐. Devstral excels at using tools to explore codebases, editing multiple files and power software engineering agents. The model achieves remarkable performance on SWE-bench which positionates it as the #1 open source model.
It is finetuned from Mistral Small 3.1, therefore it has a long context window of up to 128k tokens. As a coding agent, Devstral is text-only and before fine-tuning from Mistral-Small-3.1
the vision encoder was removed.
Devstral achieves a score of 46.8% on SWE-Bench Verified, outperforming prior open-source state-of-the-art by 6%.
Model | Scaffold | SWE-Bench Verified (%) |
---|---|---|
Devstral | OpenHands Scaffold | 46.8 |
GPT-4.1-mini | OpenAI Scaffold | 23.6 |
Claude 3.5 Haiku | Anthropic Scaffold | 40.6 |
SWE-smith-LM 32B | SWE-agent Scaffold | 40.2 |
When evaluated under the same test scaffold (OpenHands, provided by All Hands AI ๐), Devstral exceeds far larger models such as Deepseek-V3-0324 and Qwen3 232B-A22B.
In the chart below, we also compare Devstral to closed and open models evaluated under any scaffold (including ones custom for the model). Here, we find that Devstral achieves substantially better performance than a number of closed-source alternatives. For example, Devstral surpasses the recent GPT-4.1-mini by over 20%.