Devstral 2
Devstral 2 is a 123B open-weight agentic coding model with 72.2% on SWE-bench Verified, a context window of 256K tokens, and support for codebase exploration and multi-file orchestration.
import { streamText } from 'ai'
const result = streamText({ model: 'mistral/devstral-2', prompt: 'Why is the sky blue?'})About Devstral 2
Devstral 2 scores 72.2% on SWE-bench Verified per Mistral AI's Devstral 2 announcement. At 123B parameters, it's the larger tier in the Devstral 2 family.
The context window of 256K tokens lets Devstral 2 hold entire repositories, long dependency chains, or extensive test suites in context simultaneously. Multi-file orchestration and dependency tracking in production codebases demand this capacity. Devstral 2 supports codebase exploration, multi-file changes, failure detection, and auto-correction within a single agent loop.
Devstral 2 ships under a modified MIT license, making it suitable for commercial deployments.