LLM prices per 1M tokens

264 models · 161 price changes

Codestral 2508

Mistral AI · 256K context · released Aug 1, 2025 · checked 12h ago

Mistral's cutting-edge language model for coding released end of July 2025.

Ways to buy 2

Way to buyIn / out per 1M
Mistral AI API
The lab's own API · cached $0.03
$0.3 / $0.9List price
Mistral AI
eu · cached $0.033
$0.33 / $0.99+10% vs list

USD per 1M tokens. Regions are separate routes.

Through a gateway

Your own numbers

100M input and 20M output tokens a month: $48.00 direct.

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
Mistral Large 4
Mistral AI · 1M
$0.7 / $2.1Mistral Large 4 is a frontier multimodal (text and image input) model from Mistral AI built for reasoning, coding, and agentic workloads.
Mistral Medium 3.5
Mistral AI · 262K
$1.5 / $7.5Mistral Medium 3.5 is a dense 128B instruction-following model from Mistral AI.
Mistral Small 4
Mistral AI · 262K
$0.15 / $0.6Mistral Small 4 is the next major release in the Mistral Small family, unifying the capabilities of several flagship Mistral models into a single system.
Devstral 2 2512
Mistral AI · 262K
$0.4 / $2Devstral 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding.
DeepSeek V4.1 Flash 1017
DeepSeek · 1MCheapest: $0.081 on Particle AI (us-flex)
$0.15 / $0.6DeepSeek 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.
GLM 5.3
Z.ai · 1M
$0.179 / $1.4GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks.
GLM 5.3 FlashX Legal
Z.ai · 1M
$0.37 / $1.25GLM-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.
Titan Multimodal Embeddings G1
Amazon Nova · 0K
$0.8 / FreeAmazon 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

$0.3$12026Aug 12, 2025Output $0.9Input $0.3

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.