SunsetDiff

Replacement for Devstral 2 (25.12): what changes when you switch

The official replacement is mistral-medium-3-5. Devstral 2 (25.12) (devstral-2512) shut down on 2026-07-31 per Mistral's deprecation page (checked 2026-11-12). The published context window changes from 256,000 tokens on devstral-2512 to 256,000 tokens on mistral-medium-3-5.

This is the canonical diff. Model page · Replacement page · Mistral

Devstral 2 (25.12) to Mistral Medium 3.5 (26.04)

Some values not published Checked 2026-11-12.

Price per 1M tokens

Price comparison. Example monthly cost for 10M input tokens and 2M output tokens. Labeled example, not a bill.
FieldOldNewChange
Input Not published Not published Not published
Output Not published Not published Not published
Cached input Not published Not published Not published
Example monthly cost Not published Not published Example only

Context and max output

Token limits
LimitOldNewChange
Context window 256,000 256,000 0% (same)
Max output Not published Not published Not published

Capabilities that differ

No differing capability values are published for both models.

API changes

No parameter change is listed on the official pages we checked. The sample below only swaps the model id.

Code

python before
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(
    model="devstral-2512",
    messages=[{"role": "user", "content": "Hello"}],
)
python after
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(
    model="mistral-medium-3-5",
    messages=[{"role": "user", "content": "Hello"}],
)
typescript before
import OpenAI from "openai";
const client = new OpenAI();
const response = await client.chat.completions.create({
  model: "devstral-2512",
  messages: [{ role: "user", content: "Hello" }],
});
typescript after
import OpenAI from "openai";
const client = new OpenAI();
const response = await client.chat.completions.create({
  model: "mistral-medium-3-5",
  messages: [{ role: "user", content: "Hello" }],
});
curl before
curl https://api.openai.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"devstral-2512","messages":[{"role":"user","content":"Hello"}]}'
curl after
curl https://api.openai.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"mistral-medium-3-5","messages":[{"role":"user","content":"Hello"}]}'

Checklist

  1. Read the shutdown date for devstral-2512 on the linked official page.
  2. Point your requests at mistral-medium-3-5.
  3. Re-check price, context, and parameters on the provider pages linked here.
  4. Ship the change before the published shutdown date.

Questions

What is the replacement for Devstral 2 (25.12)?

The official replacement is mistral-medium-3-5. Devstral 2 (25.12) (devstral-2512) shut down on 2026-07-31 per Mistral's deprecation page (checked 2026-11-12). The published context window changes from 256,000 tokens on devstral-2512 to 256,000 tokens on mistral-medium-3-5.

Is mistral-medium-3-5 cheaper than devstral-2512?

A full price comparison is not published. One or both prices are missing from the official pages we checked.

Does mistral-medium-3-5 have a bigger context window than devstral-2512?

The context window stays 256,000 tokens.