Mistral: Codestral 2508 (batch) API Pricing
Mistral: Codestral 2508 (batch) costs $0.150 per 1M input tokens and $0.450 per 1M output tokens (cache reads: $0.015). Context window: 256K. Prices verified 2026-10-21 · source
Alternatives to consider
Cheapest mistralai model — 87% less per month
Rebuilt daily from our snapshot archive — the chart appears once a model has 5+ snapshots of history.
From our own daily snapshot archive — independent of provider announcements.
Token economics
| Token type | Price | vs base input |
|---|---|---|
| Standard input | $0.150 | — |
| Cache read | $0.015 | −90% |
| Output | $0.450 | — |
Prompt caching stores repeated context server-side: reads cost far less, but writes carry a one-time premium.
Training data ends here — newer events require retrieval or web search.
What would Mistral: Codestral 2508 (batch) cost you per month?
| Workload | Requests/mo | Avg tokens (in/out) | Est. monthly cost |
|---|---|---|---|
| Light chatbot | 10,000 | 800 / 400 | $3.00 |
| Coding agent | 5,000 | 8,000 / 2,000 | $10.50 |
| RAG pipeline | 30,000 | 4,000 / 500 | $24.75 |
| Doc summarizer | 2,000 | 20,000 / 1,000 | $6.90 |
Estimates use list prices without prompt caching. Caching can cut input cost by up to 90% on repeated context.
About Mistral: Codestral 2508 (batch)
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)
Compare Mistral: Codestral 2508 (batch) with
- 2508 (batch) vs OpenAI: GPT-5.6 Terra Pro
- 2508 (batch) vs Anthropic: Claude Fable 5
- 2508 (batch) vs Anthropic: Claude Opus 5
- 2508 (batch) vs OpenAI: GPT-5.6 Sol
Popular head-to-heads — see all on the comparisons index.
Frequently asked questions
How much does Mistral: Codestral 2508 (batch) cost?
Mistral: Codestral 2508 (batch) costs $0.150 per 1M input tokens and $0.450 per 1M output tokens; cached input tokens cost $0.015 per 1M. Verified 2026-10-21 — provider source.
What is the context window?
256K tokens, with up to 205K output tokens per response. That's roughly 320 pages of text in a single request.
Does it support prompt caching?
Yes — cached input is $0.015/1M, about 90% cheaper than standard input. Agents and RAG workloads with repeated context benefit most.
What's a cheaper alternative?
ScaleDown: Summarize saves about 88% on a typical workload with comparable quality.
Official resources
- Mistral: Codestral 2508 (batch) on OpenRouter — live endpoint, pricing source of record.
- Artificial Analysis leaderboard → — independent intelligence and performance rankings.
- Mistral models → — first-party model specifications and limits.
- Shred your current bill — paste a CSV and see if switching saves money.