Mistral: Codestral 2508 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 Mistral: Codestral 2508 from OpenRouter costs $0.300 per 1M input tokens and $0.900 per 1M output tokens. Cached input is $0.030 per 1M. Context window 256,000 tokens.
API id mistralai/codestral-2508 · OpenRouter · source · updated 2026-11-10 · general-purpose
$0.300
Input / 1M tokens
$0.900
Output / 1M tokens
$0.030
Cached input / 1M
256K
Context window
Mistral: Codestral 2508 specifications
- Provider
- OpenRouter
- API id
mistralai/codestral-2508- Model type
- general-purpose
- Context window
- 256K tokens
- Max output
- 205K tokens
- Currency
- USD
- Price source
- Provider API
- Last checked
- 2026-11-10
What Mistral: Codestral 2508 costs in practice
| Workload | Input tokens | Output tokens | Estimated cost |
|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0008 |
| Document summary | 50,000 | 2,000 | $0.02 |
| 1M tokens in, 200K out | 1,000,000 | 200,000 | $0.48 |
Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.
Common questions
- How much does Mistral: Codestral 2508 cost per 1M tokens?
- Mistral: Codestral 2508 costs $0.300 per 1M input tokens and $0.900 per 1M output tokens on the standard tier. Cached input is $0.030 per 1M.
- What is Mistral: Codestral 2508's context window?
- Mistral: Codestral 2508 accepts up to 256,000 tokens in a single request, and can return up to 204,800 output tokens.
- Is there a cheaper OpenRouter model than Mistral: Codestral 2508?
- Yes. Free Models Router is free per 1M input tokens versus $0.300 for Mistral: Codestral 2508, with a 200,000 token context window.
- Where does this Mistral: Codestral 2508 price come from?
- From the OpenRouter catalogue, because OpenRouter does not publish machine-readable pricing. OpenRouter is a reseller, so its rate can differ from OpenRouter's own — verify before committing spend.
Head-to-head comparisons
Other OpenRouter models
- Nex AGI: Nex-N2.6 $0.120
- Thinking Machines: Inkling 2 Small (free) Free
- Anthropic: Claude Fable 5.2 $8.00
- Meta: Muse Ember $0.100
- LiquidAI: LFM3-1.7B $0.080
- LiquidAI: LFM3-1.7B (free) Free
- Google: Gemini Omni 1.2 Flash $1.50
- Google: Gemini Omni 1.1 Flash $1.50
- Ricursive: Ripple 65B Preview $0.200
- Tencent: Hy4 $0.417
- Z.ai: GLM 5.3 FlashX Legal $0.370
- Particle AI: Particle-1 $0.050
- OpenAI: GPT-6.1 Terra Pro $1.00
- OpenAI: GPT-6.1 Terra $1.00
- MoonshotAI: Kimi K3.1 Pro $2.00
- Recursive: Flint (free) Free