Mistral: Codestral 2508 API Pricing & Cost Breakdown
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)
mistralai/codestral-2508
Technical Specifications
| Canonical ID | mistralai/codestral-2508 |
| Provider | Mistral AI |
| Input Modalities | text, file |
| Output Modalities | text |
| Open-Weight | No (Proprietary API) |
| Reasoning Optimized | Standard |
| Vision Support | Text-only |
Estimated Monthly API Spend
| Stage | Monthly Tokens | Est. Cost |
|---|---|---|
| Prototype / MVP 500 req/day |
22.5M in / 6.0M out | $12.15/mo |
| Growing SaaS 10,000 req/day |
600.0M in / 150.0M out | $315.00/mo |
| Scale Production 100,000 req/day |
7500.0M in / 1800.0M out | $3,870/mo |
Deploy or Route Mistral: Codestral 2508
OpenRouter
Unified API gateway for 300+ LLMs with automatic fallbacks and unified billing.
Together AI
High-throughput serverless inference & fine-tuning for Llama, DeepSeek, and Qwen.
Fireworks AI
Ultra-low-latency inference engine built for production structured outputs and function calling.
Some outbound infrastructure and API gateway links on KostoZero are partner referrals that help keep this observatory free and independent at no extra cost to you.
Cheaper Alternatives to Mistral: Codestral 2508
| Model | Provider | Input / 1M | Output / 1M | Blended | Context |
|---|---|---|---|---|---|
| MiniMax: MiniMax M2.5 | Minimax | $0.27 | $0.95 | $0.44 | 198K |
| DeepSeek: DeepSeek V3 0324 | DeepSeek | $0.25 | $1.00 | $0.438 | 164K |
| Z.ai: GLM Latest | Z Ai | $0.07 | $1.40 | $0.402 | 1.05M |
| TheDrummer: UnslopNemo 12B | Thedrummer | $0.40 | $0.40 | $0.40 | 1.02M |
| Qwen: Qwen-Plus | Qwen | $0.26 | $0.78 | $0.39 | 1M |
| Qwen: Qwen3 Coder Flash | Qwen | $0.195 | $0.975 | $0.39 | 1M |
Direct Head-to-Head Comparisons
Frequently Asked Questions
How much does Mistral: Codestral 2508 API cost per 1M tokens?
Mistral: Codestral 2508 costs $0.30 per 1M input tokens and $0.90 per 1M output tokens ($0.45 blended at a 3:1 ratio).
What is the maximum context window of Mistral: Codestral 2508?
Mistral: Codestral 2508 supports up to 256,000 tokens (256K) of input context and up to 204,800 output completion tokens.
What are cheaper alternatives to Mistral: Codestral 2508?
Lower-cost options tracked right now include MiniMax: MiniMax M2.5 ($0.44/1M), DeepSeek: DeepSeek V3 0324 ($0.438/1M), Z.ai: GLM Latest ($0.402/1M).
Get Instant Price-Drop (>10%), New AI Bot & SaaS Cliff Alerts
Every 6 hours our autonomous sync checks 40+ LLMs, AI crawlers, and SaaS pricing cliffs—alerting you when prices drop >10% or new scrapers appear.