Model · Mistral AI · Code
Devstral 2
Mistral's frontier code-agents model for software engineering tasks, designed for tool-heavy coding workflows across whole repositories. Retired by Mistral on 2026-07-31 with no dedicated coding successor — Mistral Medium 3.5 is the stated alternative.
- Modality
- Code
- License
- Open weights (Open weights)
- Context window
- 256,000 tokens
- Released
- December 9, 2025
- Last verified
- September 8, 2026
- Runs locally
- Yes
Strengths
- Built for software engineering agents and multi-file code changes
- 256k context window supports repository-scale tasks
- Open weights make self-hosted code-agent experiments possible
Weaknesses
- Specialized for coding rather than broad general-purpose chat
- Smaller ecosystem than the most established code-model lines
Try it
| Where | Type | Notes |
|---|---|---|
| Mistral La Plateforme | hosted-api | API key required |
| Mistral model card | weights | Open weights |
Official sources
- Model card docs
- Announcement announcement
Change log
- — Deprecated — Mistral's deprecation table shows devstral-2512 deprecated 2026-05-22 and retired 2026-07-31, with Mistral Medium 3.5 as the stated alternative. The entry had been showing a retired model as current.
- — Added after verification of Mistral's current frontier coding lineup.
Esc