Codestral 2508
Mistral· released 1 Aug 2025
mistralai/codestral-2508- Input / 1M tokens
- $0.3
- Output / 1M tokens
- $0.9
Context window256K tokens
Longest answer: 205K tokens
About
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.
Details
- Lab
- Mistralopenrouter.ai · 3 Oct 2026
- Context
- 256Kopenrouter.ai · 3 Oct 2026
- Input price
- $0.3 / 1Mopenrouter.ai · 3 Oct 2026
- Output price
- $0.9 / 1Mopenrouter.ai · 3 Oct 2026
- Max output
- 204,800 tokensopenrouter.ai · 3 Oct 2026
- Inputs
- text, fileopenrouter.ai · 3 Oct 2026
- Open weights
- Noopenrouter.ai · 3 Oct 2026
More longest-context models
See the listAuto Router ctx2,000KinVaries by model routed tooutVaries by model routed to openrouterAuto Router (Beta) ctx2,000KinVaries by model routed tooutVaries by model routed to openrouterGrok 4.20 ctx2,000Kin$1.25 / 1Mout$2.5 / 1M SpaceXAIGrok 4.20 Multi-Agent ctx2,000Kin$1.25 / 1Mout$2.5 / 1M SpaceXAIPareto Code Router ctx2,000KinVaries by model routed tooutVaries by model routed to openrouterLlama 4 Scout ctx1,311Kin$0.1 / 1Mout$0.3 / 1M Meta
Listed on Inferse
- Longest-Context Models in 2026466 listed
- Newest Models in 2026466 listed
- Cheapest Language Models in 2026437 listed
- Models with Tool Calling in 2026395 listed
- Mistral Models: Pricing per 1M Tokens and Context (2026)23 listed
Sources
- openrouter.ai/mistralai/codestral-2508· checked 3 Oct 2026



