Devstral Small 2

Deprecated

Small agentic-coding model (v25.12), Labs tier; alias devstral-small-latest -> labs-devstral-small-2512. Open weights: Apache 2.0, 24B. Text + image in, text out. DEPRECATED 2026-02-27 with a stated retirement of 2026-03-31 -> Mistral Medium 3.5. That date has passed, but Mistral still lists the model as deprecated rather than retired and still prices it publicly, so we record the status Mistral states rather than inferring a retirement it has not declared. Price and context from the official docs model schema, corroborated by mistral.ai/pricing/api. Max output and knowledge cutoff not published -> null.

Devstral Small 2 by Mistral costs $0.1 per 1M input tokens and $0.3 per 1M output tokens ($0.15/1M blended), with a 256K (256.000-token) context window. It is deprecated, shutting down 31 Mar 2026; the recommended replacement is Mistral Medium 3.5. Its weights are publicly downloadable, so it can be self-hosted on your own infrastructure.

Last verified: 13 Aug 2026 · sourced from official provider documentation

Lifecycle warning

This model is deprecated. Scheduled shutdown: 31 Mar 2026. Recommended migration: Mistral Medium 3.5.

Read the Devstral Small 2 migration guide → replacement & cheapest alternatives

Provider
Mistral
Status
Deprecated
Input price
$0.1 / 1M tokens
Output price
$0.3 / 1M tokens
Cached input
Blended price
$0.15 / 1M tokens
Context window
256.000 tokens (256K)
Max output
Modality
text, vision
Open weights
Yes — self-hostable
Knowledge cutoff
Released
9 Dec 2025
API string
labs-devstral-small-2512

Source: Mistral official documentation ↗

FAQ

Devstral Small 2 — questions & answers

How much does Devstral Small 2 cost?

Devstral Small 2 is priced at $0.1 per 1M input tokens and $0.3 per 1M output tokens ($0.15/1M blended at a 3:1 input-to-output ratio).

What is the context window of Devstral Small 2?

Devstral Small 2 has a 256.000-token context window (256K).

Is Devstral Small 2 being deprecated or retired?

Devstral Small 2 is deprecated. Its scheduled shutdown date is 31 Mar 2026. The recommended migration is Mistral Medium 3.5.

Does Devstral Small 2 support image or vision input?

Yes — Devstral Small 2 accepts image input. Listed modalities: text, vision.

Can I self-host Devstral Small 2?

Yes — Devstral Small 2 is an open-weight model: its weights are publicly downloadable, so you can run it on your own infrastructure (subject to its license) instead of only calling Mistral's API.

What is the API model string for Devstral Small 2?

The API model identifier for Devstral Small 2 is "labs-devstral-small-2512" when calling Mistral's API.