by Mistral AI

Codestral 2508.

text closed 256K ctx
Cheapest input
$0.3/M
on Mistral La Plateforme
Cheapest output
$0.9/M
on Mistral La Plateforme
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

Hosted API only

No self-host path — closed weights.

Codestral 2508's weights aren't published. Use it via the access providers below.

Where to use it

Cheapest hosted endpoints.

Provider Access $/M in $/M out Context
Mistral La Plateforme api direct $0.3 $0.9 — Launch ↗
OpenRouter api aggregator $0.3 $0.9 256K Launch ↗
FAQ

Frequently asked.

How do I run Codestral 2508?
Codestral 2508 is a closed-source API model. The cheapest way to access it is through the API providers listed on this page (direct API, aggregators, and hosted chat UIs).
Where can I access Codestral 2508?
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 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 Codestral 2508 open-source or proprietary?
Codestral 2508 is a proprietary model from Mistral AI. Access is API-only — there are no public weights to download.