Devstral is Mistral AI’s family of models for software-engineering agents. The first Devstral (May 2025), built with All Hands AI, was a 24B model trained to use the tools a coding agent needs: search the codebase, open and edit files, run commands and react to test failures.
The second generation (December 2025) comes in two sizes: Devstral Small 2, a 24B Apache 2.0 model with image input and a 384K context, and Devstral 2, a 123B model under a modified MIT licence. In 2026 Mistral replaced Devstral 2 with Mistral Medium 3.5 inside its own Vibe coding agent, but the Devstral weights remain available.
Codestral (May 2024) is Mistral’s older autocomplete model; its weights use a non-production licence, so for commercial autocomplete use Qwen2.5-Coder instead.
