Mistral logo Retired May 2026

Devstral Medium

Mistral AI's mid-size model for agentic software engineering, with an undisclosed parameter count.

Key Specifications

Context window
128K tokens
Max output
33K tokens
Released
Inputs
Text
Capabilities Show details
Function calling Connect to external tools, APIs, and systems. Code execution Write and execute code in a sandboxed environment.

Frequently Asked Questions

What is Devstral Medium good for?

Agent-style software engineering across a codebase. Text in, text out.

When is Devstral Medium not a good fit?

Any new work: Mistral retired it from its API in May 2026. Closed weights, so no self-hosting, and no image input.

Can I self-host Devstral Medium?

No. Mistral does not publish the weights; Devstral Medium is available only through hosted APIs.

More from Mistral

Model Context Input /1M Output /1M
Mistral Ministral 3 14B Open weights 256K $0.20 $0.20
Mistral Ministral 3 3B Open weights 256K $0.10 $0.10
Mistral Ministral 3 8B Open weights 256K $0.15 $0.15
Mistral Mistral Large 3 Open weights 256K $0.50 $1.50
Mistral Mistral Medium 3.5 Open weights 256K $1.50 $7.50
Mistral Mistral Small 4 Open weights 256K $0.15 $0.60
Mistral Codestral 128K $0.30 $0.90
Mistral Devstral Small Open weights 128K No hosted price