Devstral 2: Run Mistral's Open Coding Agent Locally
Devstral 2, released by Mistral AI on December 9, 2025, is an open coding agent that can be run locally, achieving 72.2% on the SWE-bench Verified benchmark, comparable to Claude Sonnet 4.5 but at significantly lower cost. It offers strong performance for real-world GitHub issue resolution while supporting on-premise deployment for enhanced privacy and cost efficiency. Two versions are available—Devstral 2 and Devstral Small 2—differing in size, licensing, and hardware requirements to suit various use cases.
- ▪Devstral 2 achieves 72.2% on SWE-bench Verified, a benchmark based on real GitHub issues, demonstrating its capability in multi-file, multi-step coding tasks.
- ▪The model is available in two variants: the 123B-parameter Devstral 2 and the 24B-parameter Devstral Small 2, with the latter supporting local execution on a single RTX 4090 or Mac with 32GB RAM.
- ▪Devstral Small 2 uses an Apache 2.0 license, allowing broad commercial use, while Devstral 2 uses a modified MIT license with additional commercial deployment restrictions.
- ▪Running locally via Ollama, Devstral Small 2 requires at least 24GB VRAM or 32GB unified memory on Apple Silicon Macs, making it accessible for individual developers and privacy-focused teams.
- ▪Mistral's API pricing for Devstral 2 is $0.40/$2.00 per million tokens (input/output), about 7x cheaper than Claude Sonnet 4.5, with further savings when self-hosted.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 1909290) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Jangwook Kim Posted on May 2 • Originally published at effloow.com Devstral 2: Run Mistral's Open Coding Agent Locally #devstral #mistralai #ollama #localllm Proprietary coding agents are powerful, but every token you send to a cloud API is a token that leaves your codebase. Devstral 2, released December 9, 2025 by Mistral AI, changes that calculus.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).