Devstral is the family of agentic coding models from Mistral AI in Paris. The models are trained to explore codebases with tools, edit multiple files and power software agents. The line started in May 2025 with Devstral Small (24B); on 9 December 2025, Devstral 2 (123B) and Devstral Small 2 (24B) followed together with the coding agent Mistral Vibe.
As of 29 November 2026 there is no newer Devstral version: Mistral has retired all Devstral endpoints of its API and now builds coding into its general-purpose models. The open weights of Devstral 2 and Devstral Small 2 remain on Hugging Face, and Devstral 2 also runs as a legacy model on AWS Bedrock until 30 March 2027. This page explains the status; our Mistral AI page covers the current Mistral models.
Current models at a glance
What you can still use today, plus the successors Mistral names:
| Model | Status (29 Nov 2026) | Licence | Context | Use |
|---|---|---|---|---|
| Devstral 2 (123B) | Open weights; Bedrock legacy until 30 Mar 2027; Mistral API retired | Modified MIT licence | 256K | Self-hosting for coding agents |
| Devstral Small 2 (24B) | Open weights; Mistral API retired | Apache 2.0 | 256K | Local coding agents, e.g. with Vibe |
| Mistral Large 4 (successor) | GA on the Mistral API, open weights | Mistral Ecosystem Open-Weight License | 1M | Agentic coding via API, default model in Vibe |
| Mistral Small 4 (local alternative) | GA, open weights | Apache 2.0 | 256K | Coding and reasoning when self-hosting |
Devstral 2
Per Mistral, Devstral 2 is a dense transformer with 123 billion parameters and 256K context. Mistral reports 72.2% on SWE-bench Verified, 61.3% on SWE-bench Multilingual and 32.6% on Terminal Bench 2 (vendor figures from December 2025). For deployment, Mistral specifies at least four H100-class GPUs; the model card puts GPU memory at about 297 GB in BF16 and about 75 GB in FP4. The weights are published as an FP8 instruct model under mistralai/Devstral-2-123B-Instruct-2512 on Hugging Face. Mistral still maintains the repository, most recently on 24 November 2026 with an updated chat template.
Licence: Devstral 2 uses a modified MIT licence. It allows use, modification and distribution, but excludes companies whose global consolidated monthly revenue (or that of the employer) exceeded USD 20 million in the preceding month. These companies need a commercial licence from Mistral; the limit also applies to derivatives.
Status: Mistral deprecated Devstral 2 on 22 May 2026 and retired it on the API on 31 July 2026; the model card names Mistral Medium 3.5 as the replacement. On AWS Bedrock (mistral.devstral-2-123b), AWS lists the model as legacy with EOL on 30 March 2027, in-region in Frankfurt, Stockholm, Milan and Ireland among others. Per the AWS lifecycle policy, new customers cannot use legacy models, and existing customers may lose access after 15 days of inactivity.
Devstral Small 2
Devstral Small 2 is a dense 24B model with 256K context, image input and an Apache 2.0 licence. Per Mistral, it reaches 68.0% on SWE-bench Verified and runs on a single RTX 4090 or a Mac with 32 GB RAM; the model card lists about 78 GB of GPU memory in BF16 and about 20 GB in FP4. API access (labs-devstral-small-2512) has been retired since 31 March 2026. For running the Vibe CLI locally, the Mistral documentation still recommends Devstral Small 2 or Mistral Small 4, served for example with vLLM, llama.cpp, LM Studio or Ollama; for long contexts it suggests FP8 on an H100 or A100, and a 24 GB GPU for 4-bit precision with 32K context.
Mistral Vibe
Mistral Vibe launched on 9 December 2025 as an open-source CLI (Apache 2.0) for Devstral. Vibe 2.0 on 27 January 2026 added subagents and skills, and Devstral 2 moved to paid API access at the same time. Since 22 May 2026, Medium 3.5 has replaced Devstral 2 as the model in the Vibe CLI, and since 28 May 2026 Vibe has been Mistral’s unified agent for work and code. Per the current documentation, the Vibe Code CLI uses Mistral Large 4 by default; local models such as Devstral Small 2 can be connected through an OpenAI-compatible API. The GitHub repository mistralai/mistral-vibe is still maintained (version 3.1.5 from 24 November 2026).
Pricing
Devstral no longer incurs costs on the Mistral API because all endpoints are retired. Per the announcement of 9 December 2025, Devstral 2 cost USD 0.40 input and USD 2.00 output per 1M tokens after the free period, and Devstral Small 2 USD 0.10 and USD 0.30 respectively. For the successor Mistral Large 4, the model card lists USD 0.70 input, USD 0.07 cached input and USD 2.10 output per 1M tokens. When self-hosting you only pay for infrastructure; for Devstral 2, companies above the revenue limit also need a commercial licence. Bedrock prices for Devstral 2 are on the AWS pricing page.
EU availability and GDPR
Mistral is a French company headquartered in Paris. Two routes remain for Devstral in the EU:
- Self-hosting the open weights on your own infrastructure or with an EU cloud provider: code and prompts never leave your network. Devstral Small 2 (Apache 2.0) works without licence hurdles; for Devstral 2, check the revenue limit in the licence.
- AWS Bedrock for Devstral 2 in-region in Frankfurt, Stockholm, Milan or Ireland until 30 March 2027, but only for existing customers. London (eu-west-2) is not part of the EU.
For new API projects we recommend the successors: Mistral Large 4 runs on the Mistral API and, per Microsoft’s region table, also on Microsoft Foundry in the Data Zone Standard EU (preview). Check with models.list whether a model is available on the EU endpoint of the Mistral API. Details on endpoints and regions are on our Mistral AI page.
Our recommendation
Do not start new API projects on Devstral: the Mistral endpoints are retired, and Bedrock does not accept new customers for legacy models. For agentic coding via API, Mistral Large 4 is the route Mistral intends, as the default model in the Vibe CLI and with open weights. For local coding agents on a single GPU, Devstral Small 2 under Apache 2.0 remains a pragmatic choice as long as the December 2025 level is enough for you; Mistral Small 4 (Apache 2.0) offers more headroom at a higher memory footprint. Devstral 2 mainly makes sense where it already runs self-hosted in production and the licence terms fit. We connect self-hosted coding models through an OpenAI-compatible interface to CompanyGPT or the AI Gateway Cenodia.
Earlier models
- Devstral Small 1.0 (
devstral-small-2505, 21 May 2025): first Devstral model, 24B, 128K context, Apache 2.0. API retired since 30 November 2025, weights still on Hugging Face. - Devstral Small 1.1 (
devstral-small-2507, 10 July 2025): update of the 24B model, Apache 2.0. API retired since 31 May 2026, replacement per Mistral: Small 4. - Devstral Medium 1.0 (
devstral-medium-2507, 10 July 2025): API-only enterprise model, 128K context. Retired since 31 May 2026, replacement per Mistral: Medium 3.5. - Mistral Medium 3.5, the direct replacement for Devstral 2, has itself been deprecated since 31 October 2026; the Mistral API retires it on 30 April 2027, replacement per Mistral: Large 4.
You can find further superseded models in the AI models archive.
