Home › Providers › mistralai › Mistral: Codestral 2508 (batch)
Mistral: Codestral 2508 (batch) API Pricing
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)
How much does Mistral: Codestral 2508 (batch) cost for a real workload?
At 10M input + 2M output tokens per month, Mistral: Codestral 2508 (batch) costs about $2.4 ($1.5 input + $0.9 output). Try your own volumes in the cost calculator.
What are cheaper alternatives to Mistral: Codestral 2508 (batch)?
- PrismML: Ternary Bonsai 2 27B — $0.075 in / $0.5 out per 1M
- NVIDIA: Nemotron 3 Super — $0.08 in / $0.45 out per 1M
- ByteDance Seed: Seed-2.0-Mini — $0.1 in / $0.4 out per 1M
- Google: Gemini 2.5 Flash Lite — $0.1 in / $0.4 out per 1M
- OpenAI: GPT-4.1 Nano — $0.1 in / $0.4 out per 1M
- Z.ai: GLM 4.7 Flash — $0.0605 in / $0.4 out per 1M
Compare Mistral: Codestral 2508 (batch) with other models
Mistral: Codestral 2508 (batch) vs Mistral: Mistral NemoMistral: Codestral 2508 (batch) vs Mistral: Mistral Small 3Mistral: Codestral 2508 (batch) vs Mistral: Ministral 3 8B 2512 (batch)Mistral: Codestral 2508 (batch) vs Mistral: Ministral 3 3B 2512Mistral: Codestral 2508 (batch) vs Mistral: Ministral 3 8B 2512Mistral: Codestral 2508 (batch) vs Mistral: Mistral Small 3.2 24B
Frequently asked questions
How much does Mistral: Codestral 2508 (batch) cost?
Mistral: Codestral 2508 (batch) costs $0.15 per 1M input tokens and $0.45 per 1M output tokens (list price, snapshot October 21, 2026). At 10M input + 2M output tokens per month that is about $2.4.
What is the context window of Mistral: Codestral 2508 (batch)?
Mistral: Codestral 2508 (batch) has a context window of 256,000 tokens and can return up to 204,800 output tokens per response.
What are cheaper alternatives to Mistral: Codestral 2508 (batch)?
Cheaper models include PrismML: Ternary Bonsai 2 27B ($0.075 in / $0.5 out), NVIDIA: Nemotron 3 Super ($0.08 in / $0.45 out), ByteDance Seed: Seed-2.0-Mini ($0.1 in / $0.4 out). See the full list on this page.
Is Mistral: Codestral 2508 (batch) free to use?
No. Mistral: Codestral 2508 (batch) is a paid model at $0.15 input / $0.45 output per 1M tokens. 20 free models are listed on the free models page.
Provider: mistralai · Model ID: mistralai/codestral-2508:batch · Modality: text+file->text · Price snapshot October 21, 2026, refreshed daily. How we collect prices