Skip to content

Devstral 2

Hugging Face (open weights) Open weights

The catch: Companies (or employers) with over US$20M monthly revenue get no rights under the licence, and 123B parameters needs several GPUs.

AccessOpen weights
Free limitsFree to download and self-host; you pay only for your own compute. 123B-parameter coding model for agentic software work, 256K-token context; needs several GPUs. Free for companies under US$20M monthly revenue. The Apache-licensed Devstral Small 2 (24B) is the smaller option.
Modalitytext, code
Credit cardNot required
Commercial useAllowed
Trains on your data–
Licence or termsModified MIT (Mistral, US$20M monthly revenue cap)
Context window262,144 tokens
Model idmistralai/Devstral-2-123B-Instruct-2512
Base URL–
Last checked8 Oct 2026

How to use Devstral 2

Download the weights and serve them yourself; the quickstart below shows one way. Licence: Modified MIT (Mistral, US$20M monthly revenue cap).

Quickstart
vllm serve mistralai/Devstral-2-123B-Instruct-2512  # then: curl http://localhost:8000/v1/chat/completions -H "Content-Type: application/json" -d '{"model":"mistralai/Devstral-2-123B-Instruct-2512","messages":[{"role":"user","content":"Hello"}]}'
Paste into Claude Code
I want to run the open-weight model "Devstral 2" (mistralai/Devstral-2-123B-Instruct-2512) for my project.
Please:
1. Check the model card and tell me the hardware it needs and the simplest way to serve it (vLLM, SGLang, Ollama or a hosted endpoint).
2. Give me a minimal working setup and a test request.
3. Tell me the licence terms for commercial use.
4. If a cheaper or smaller variant would do the job, mention it.

Before you ship on it

  • Companies (or employers) with over US$20M monthly revenue get no rights under the licence, and 123B parameters needs several GPUs.
  • Modified MIT License (LICENSE in the HF repo): MIT-style grant including commercial use and sale, but you get no rights at all if your company's (or your employer's) global consolidated monthly revenue exceeded US$20…
  • Free to run means you pay for the GPUs, the serving stack and the on-call.

Questions

Is Devstral 2 free?

Yes. Open weights offers it as open weights, with these limits: Self-host free · Modified MIT. No credit card is needed.

Can I use Devstral 2 commercially?

Yes, under Modified MIT (Mistral, US$20M monthly revenue cap). Check the current terms before you ship.

How do I start with Devstral 2?

Download the weights and serve them yourself; the quickstart below shows one way. Licence: Modified MIT (Mistral, US$20M monthly revenue cap).

Source: huggingface.co/mistralai/Devstral-2-123B-Instruct-2512, checked 8 Oct 2026.