AI & XML / LLM test suite / Results / Models / devstral:24b

Model description

Devstral: the best open-source model for coding agents

Model family

devstral

Context

128K

Input

Text

Size

14 GB

Family sizes

24b

Readme excerpt

Devstral is an agentic LLM for software engineering tasks, jointly developed by Mistral AI and All Hands AI. It excels at using tools to explore codebases and edit multiple files, supporting software engineering agents. Its remarkable SWE-bench performance makes it the leading open-source model.

Fine-tuned from Mistral Small 3.1, it has a long context window of up to 128K tokens. As a coding agent, Devstral processes text only; the vision encoder was removed before fine-tuning from Mistral-Small-3.1.

Key features:

Agentic coding: designed to excel at agentic programming tasks, making Devstral an excellent choice for software engineering agents. Lightweight: just 24 billion parameters, small enough for a single RTX 4090 or a Mac with 32 GB RAM, suitable for local and on-device deployment. Apache 2.0 license: open license permitting use and modification for commercial and noncommercial purposes. Context window: 128K.

SWE-Bench

Devstral scores 46.8 % on SWE-Bench Verified, beating the previous open-source best by 6 %.

Model Harness SWE-Bench Verified (%) Devstral OpenHands harness 46.8 GPT-4.1-mini OpenAI harness 23.6 Claude 3.5 Haiku Anthropic harness 40.6 SWE-smith-LM 32B SWE-agent harness 40.2

When evaluated with the same harness, OpenHands from All Hands AI, Devstral outperforms much larger models such as Deepseek-V3-0324 and Qwen3 232B-A22B.

The following chart also compares Devstral with closed and open models evaluated with any harness, including model-specific adaptations. Devstral substantially outperforms several closed alternatives; for example, it exceeds the current GPT-4.1-mini by more than 20 %.

Reference

Blog

211 Runs 125 evaluated 27.9 % Score 10.4 % exactly correct

Help on evaluation, score and exact correctness

Score is a graded quality measure: correct = 100 %, mostly_correct = 80 %, partial = 50 %, wrong/not_answered = 0 %.

Exactly correct is stricter: only correct-labeled runs count. Mostly correct increases score but does not count as exactly correct.

Evaluated counts all runs with a substantive judgment. LLM-judge errors also count as evaluated, with score 0 %.

Test case Category

x

back to top