Mistral AI launches Devstral 2: open-source AI for developers

Mistral AI launches Devstral 2: open-source AI for developers

Mistral AI introduces two new open-source models focused on software development: Devstral 2 and Devstral Small 2. Additionally, the company launches Vibe CLI, an assistant based on the new models.

The French company Mistral AI has launched Devstral 2, an open-source model for code generation with 123 billion parameters. The model achieves 72.2 percent on the SWE-bench Verified, a benchmark that evaluates software engineering tasks.

Devstral 2 also has a smaller counterpart, Devstral Small 2, with 24 billion parameters. This model scores 68 percent and is suitable for local execution on consumer hardware. Both models support a context window of 256,000 tokens.

Devstral 2 is released under a customized MIT license, and Devstral Small 2 is available under Apache 2.0. The launch follows the introduction of the Mistral 3 family earlier this month. These AI models are also open source.

Efficient

According to Mistral, Devstral 2 is up to seven times more cost-efficient than competitors like Claude Sonnet for performing practical tasks. Devstral Small 2 can run without a GPU and also supports image input, making it suitable for multimodal applications.

The models are currently available for free via API. After an initial free period, rates apply per million tokens: $0.40 for input and $2.00 for output with Devstral 2, and $0.10 and $0.30 with Devstral Small 2.

For large-scale deployment, Devstral 2 requires at least four H100 GPUs, while Devstral Small 2 is also suitable for single GPUs or even CPUs. Support for NVIDIA NIM is coming soon.

Vibe CLI

In addition to the models, Mistral also launches Vibe CLI, an open-source command-line assistant for software development, based on Devstral 2. This tool can explore, edit code files, and execute commands via natural language. Vibe CLI supports project context, version control, file structure recognition, and command automation. The assistant works via the terminal or integrates with IDEs through the Agent Communication Protocol.

Vibe CLI can analyze and modify multiple files simultaneously, and supports features like autocomplete, persistent history, and configuration via a config.toml file. The tool is available under an Apache 2.0 license and is integrated into the IDE Zed. Mistral also collaborates with development tools like Kilo Code and Cline to make Devstral 2 available within existing workflows.