API pricing per million tokens
- Input
- $0.3
- per 1M, list
- Output
- $0.9
- per 1M tokens
- Cached input
- $0.03
- batch $0.15 / $0.45
- Context
- 256K
- 205K max output
Where to buy it (2)
Mistral AI (list)the lab's own API$0.3 / $0.9cached $0.03
Mistral AIeu+10%$0.33 / $0.99cached $0.033
Through a gateway
Your own numbers100M input and 20M output tokens a month: $48.00 direct.
Helicone$48.00+0%
Kong AI Gateway$48.00+0%
LiteLLM$48.00+0%
Vercel AI Gateway$48.00+0%
AWS Bedrock$48.00+0%
Azure AI Foundry$48.00+0%
Google Vertex AI$48.00+0%
Databricks Mosaic AI$48.00+0%
Hugging Face Inference$48.00+0%
Cloudflare AI Gateway$50.40+5%
Requesty$50.40+5%
Eden AI$50.64+5.5%
OpenRouter$50.64+5.5%
Snowflake Cortex AI$57.60+20%
Martian Gatewayn/a
Portkeyn/a
TrueFoundry AI Gatewayn/a
IBM watsonx.ain/a
OCI Generative AIn/a
BigQuery MLn/a
Cloudflare Workers AIn/a
NVIDIA NIMn/a
Related models
Mistral Medium 3.5Mistral AI · 262K$1.5 / $7.5in / out per 1M$1.5$7.5n/a262KApr 30, 2026
Mistral Small 4Mistral AI · 262K$0.15 / $0.6in / out per 1M$0.15$0.6$0.015262KMar 16, 2026
Ministral 3 14B 2512Mistral AI · 262K$0.2 / $0.2in / out per 1M$0.2$0.2$0.02262KDec 2, 2025
Ministral 3 3B 2512Mistral AI · 131K$0.1 / $0.1in / out per 1M$0.1$0.1$0.01131KDec 2, 2025
GLM 4.6Z.ai · via Venice (fp4) · 205K$0.43 / $1.75in / out per 1M$0.43$1.75$0.08205KSep 30, 2025
DeepSeek V4.1 FlashDeepSeek · 1M$0.15 / $0.6in / out per 1M$0.15$0.6$0.0031MSep 10, 2026
Kimi K2.5Moonshot AI · via SiliconFlow (int4) · 262K$0.45 / $2.25in / out per 1M$0.45$2.25$0.07262KJan 27, 2026
Gemini 3.1 Flash LiteGoogle Gemini API · 1M$0.25 / $1.5in / out per 1M$0.25$1.5$0.0251MMay 7, 2026
About Codestral 2508
Mistral's cutting-edge language model for coding released end of July 2025.
Takes text, files in and returns text. First listed Aug 12, 2025. Blended price $0.45 per 1M tokens at 3 input to 1 output.
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, or $0.15 and $0.45 through the Batch API.
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.
List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.