codestral-2508 by openrouter - AI Model Details, Pricing, and Performance Metrics

mistralai
codestral-2508
mistralai

codestral-2508

completions
On:openroutermistralai

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)

ProviderInputOutput
openrouter
openrouter
$0.3 / 1M tokens$0.9 / 1M tokens
mistralai
mistralai
$0.3 / 1M tokens$0.9 / 1M tokens
Released
Jan 13, 2025
Knowledge
Jul 17, 2024
Context
256K
Input
$0.3 / 1M tokens
Output
$0.9 / 1M tokens
Capabilities: tools
Accepts: text
Returns: text

Access codestral-2508 through LangDB AI Gateway

Recommended

Integrate with mistralai's codestral-2508 and 250+ other models through a unified API. Monitor usage, control costs, and enhance security.

Unified API
Cost Optimization
Enterprise Security
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests
Available from 2 providers
Provider:

Category Scores

Benchmark Tests

View Other Benchmarks
AIME
4.3
Mathematics
AA Coding Index
24.5
Programming
AAII
13.2
General
GPQA
31.2
STEM (Physics, Chemistry, Biology)
HLE
4.5
General Knowledge
LiveCodeBench
24.3
Programming
MATH-500
60.7
Mathematics
MMLU-Pro
44.6
General Knowledge
SciCode
24.7
Scientific

Code Examples

Integration samples and API usage