Mistral's cutting-edge language model for coding released end of July 2025.
Ways to buy 2
| Way to buy | Input | Output | In / out per 1M | Cached | Vs list |
|---|---|---|---|---|---|
The lab's own API · cached $0.03 | $0.3 | $0.9 | $0.3 / $0.9List price | $0.03 | List price |
eu · cached $0.033 | $0.33 | $0.99 | $0.33 / $0.99+10% vs list | $0.033 | +10% vs list |
USD per 1M tokens. Regions are separate routes.
Through a gateway
Your own numbers100M input and 20M output tokens a month: $48.00 direct.
Kong AI Gateway$48.00+0%
LiteLLM$48.00+0%
Eden AI$50.64+5.5%
OpenRouter$50.64+5.5%
Cloudflare AI GatewayNot offeredNot offered
HeliconeNot offeredNot offered
Neon AI GatewayNot offeredNot offered
RequestyNot offeredNot offered
Vercel AI GatewayNot offeredNot offered
A dash: not on that gateway's own model list. No published token fee: Martian Gateway, Portkey, TrueFoundry AI Gateway.
Related models
| In / out per 1M | Cheapest route | |||||||
|---|---|---|---|---|---|---|---|---|
Mistral AI · 1M | $0.7 | $2.1 | $0.7 / $2.1 | $1.05 | 1M | on Mistral AI (zdr) | · | Mistral Large 4 is a frontier multimodal (text and image input) model from Mistral AI built for reasoning, coding, and agentic workloads. |
Mistral AI · 262K | $1.5 | $7.5 | $1.5 / $7.5 | $3 | 262K | Lab list price | · | Mistral Medium 3.5 is a dense 128B instruction-following model from Mistral AI. |
Mistral AI · 262K | $0.15 | $0.6 | $0.15 / $0.6 | $0.262 | 262K | on Mistral AI (zdr) | · | Mistral Small 4 is the next major release in the Mistral Small family, unifying the capabilities of several flagship Mistral models into a single system. |
Mistral AI · 262K | $0.4 | $2 | $0.4 / $2 | $0.8 | 262K | on Mistral AI (eu) | · | Devstral 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding. |
DeepSeek · 1MCheapest: $0.081 on Particle AI (us-flex) | $0.15 | $0.6 | $0.15 / $0.6 | $0.262 | 1M | $0.081 on Particle AI (us-flex) | · | DeepSeek V4.1 Flash 1017 is the October 17, 2026 snapshot of DeepSeek V4.1 Flash, served by DeepSeek under the deepseek-flash API model name. |
Z.ai · 1M | $0.179 | $1.4 | $0.179 / $1.4 | $0.484 | 1M | on Wafer (fp4) | · | GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks. |
Z.ai · 1M | $0.37 | $1.25 | $0.37 / $1.25 | $0.59 | 1M | Lab list price | · | GLM-5.3-FlashX-Legal (GLM-Legal) is Z.ai's legal-domain variant of GLM-5.3-FlashX, a native multimodal model that accepts text, image, and video input and produces text. |
Amazon Nova · 0K | $0.8 | Free | $0.8 / Free | $0.6 | 0K | Lab list price | · | Amazon Titan Multimodal Embeddings G1 embeds text, images, or text and image together into a shared vector space for multimodal search and recommendation. |
About Codestral 2508
Takes text, files in and returns text. First listed Aug 12, 2025. Up to 205K output tokens. Blended price $0.45 per 1M tokens at 3 input to 1 output. Model id codestral-2508.
Price history
List price since Aug 12, 2025, from Internet Archive snapshots of the OpenRouter catalog, then daily reads.
Questions
How much does Codestral 2508 cost?
$0.3 per million input tokens and $0.9 per million output tokens, with cached input at $0.03.
What is the context window of Codestral 2508?
256K tokens, with up to 205K tokens of output.
Where is Codestral 2508 cheapest?
Of 2 routes tracked, Mistral AI is cheapest at $0.3 input and $0.9 output per million tokens.