by Mistral AI

Mistral: Codestral 2508.

text open weights 256K ctx
Cheapest input
$0.3/M
on Mistral La Plateforme
Cheapest output
$0.9/M
on Mistral La Plateforme
Fastest
74 tok/s
on OpenRouter
Hosted equiv.
~$0.32/hr
@ 100 tok/s on Mistral La Plateforme

Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation. [Blog Post](h

Where to use it

Cheapest hosted endpoints.

Provider Access $/M in $/M out
Mistral La Plateforme api direct $0.3 $0.9 Launch ↗
OpenRouter api aggregator $0.3 $0.9 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 73.8 516 ms 1790 ms
FAQ

Frequently asked.

How do I run Mistral: Codestral 2508?
Mistral: Codestral 2508 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: Codestral 2508?
Mistral: Codestral 2508 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: Codestral 2508?
API pricing starts at $0.3/M input tokens and $0.9/M output tokens. Self-hosting cost depends on the GPU you rent — see the Run It Yourself tab.
Is Mistral: Codestral 2508 open-source or proprietary?
Mistral: Codestral 2508 is open-weight under the license. You can download and self-host it.