Codestral 2508 pricing & price history
Codestral 2508 by Mistral AI costs $0.30 per 1M input tokens and $0.90 per 1M output tokens, with a 256K token context window.
Price history
No price changes since tracking began on 2026-09-24. We check every 10 minutes.
Cost calculator
Cheaper alternatives to Codestral 2508
| Model | Input | Output | Context | Intel. | |
|---|---|---|---|---|---|
GLM 5.3 Flash Z.ai (Zhipu) | $0.0399 | $0.0784 | 1M | 27.8 | compare |
DeepSeek V4 Flash 0731 DeepSeek | $0.0434 | $0.30 | 1M | — | compare |
DeepSeek V4.1 Flash DeepSeek | $0.022 | $0.40 | 1M | — | compare |
DeepSeek V4.1 Flash 1017 DeepSeek | $0.098 | $0.29 | 1M | 28.6 | compare |
Llama 4 Scout Meta Llama | $0.10 | $0.30 | 1.3M | — | compare |
MiMo-V2.6-Flash Xiaomi | $0.14 | $0.28 | 1.1M | 26.7 | compare |
Llama Guard 4 12B Meta Llama | $0.18 | $0.18 | 164K | — | compare |
Claude Haiku 5.5 Anthropic | $0.10 | $0.50 | 1M | 36.5 | compare |
Using a relay or third-party API?
Check for free whether it really serves Codestral 2508: output fingerprint, tokenizer and billing evidence, results in 1–3 minutes.
About Codestral 2508
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](https://mistral.ai/news/codestral-25-08)
FAQ
How much does Codestral 2508 cost?
Codestral 2508 by Mistral AI costs $0.30 per 1M input tokens and $0.90 per 1M output tokens, with a 256K token context window. A typical request with 2,000 input and 500 output tokens costs about $0.001.
What is the context window of Codestral 2508?
Codestral 2508 supports up to 256,000 tokens of context and up to 204,800 output tokens per request.
Has Codestral 2508’s price changed?
No price changes recorded since ModelBank started tracking it on 2026-09-24.
Is Codestral 2508 being deprecated?
No retirement date has been announced for Codestral 2508 as of 2026-11-12.
What are cheaper alternatives to Codestral 2508?
Cheaper options include GLM 5.3 Flash ($0.0399/$0.0784), DeepSeek V4 Flash 0731 ($0.0434/$0.30), DeepSeek V4.1 Flash ($0.022/$0.40), DeepSeek V4.1 Flash 1017 ($0.098/$0.29).