by Mistral AI

Mistral: Devstral Medium.

text open weights laptop+ 24B params 131K ctx
Cheapest input
$0.4/M
on Mistral La Plateforme
Cheapest output
$2.0/M
on Mistral La Plateforme
Fastest
49 tok/s
on OpenRouter
Smallest GPU
1× Nvidia RTX A4000
$0.026/hr

Devstral Medium is a high-performance code generation and agentic reasoning model developed jointly by Mistral AI and All Hands AI. Positioned as a step up from Devstral Small, it achieves...

Smallest GPU to run it See all quantisations →

1× Nvidia RTX A4000 · $0.026/hr.

Most-aggressive quantisation we have a working recommendation for. Lower precision = less VRAM = cheaper hardware, at a small accuracy cost.

Where to use it

Cheapest hosted endpoints.

Provider Access $/M in $/M out
Mistral La Plateforme api direct $0.4 $2.0 Launch ↗
OpenRouter api aggregator $0.4 $2.0 Launch ↗
Performance

Speed across providers.

Tokens/sec and time-to-first-token measured against the same prompt template on each provider's API.

Provider Tokens/sec TTFT Total
OpenRouter 49.1 557 ms 2384 ms
FAQ

Frequently asked.

How do I run Mistral: Devstral Medium?
Mistral: Devstral Medium is open-weight, so you can self-host on rented GPUs. See the Run It Yourself tab for GPU configurations + cost estimates, or use one of the hosted inference providers listed on this page.
Where can I access Mistral: Devstral Medium?
Mistral: Devstral Medium is available via Mistral La Plateforme, OpenRouter. Each access option lists its own pricing (per million tokens or hourly hosting).
How much does it cost to run Mistral: Devstral Medium?
API pricing starts at $0.4/M input tokens and $2.0/M output tokens. Self-hosting cost depends on the GPU you rent — see the Run It Yourself tab.
Is Mistral: Devstral Medium open-source or proprietary?
Mistral: Devstral Medium is open-weight under the license. You can download and self-host it.