Mistral: Codestral 2508

Text input Text output
Author's Description

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)

Key Specifications
Cost
$$$
Context
256K
Parameters
2.5B (Rumoured)
Released
Aug 01, 2025
Speed
Ability
Reliability
Supported Parameters

This model supports the following parameters:

Presence Penalty Tool Choice Temperature Stop Max Tokens Structured Outputs Seed Tools Top P Frequency Penalty Response Format
Features

This model supports the following features:

Tools Response Format Structured Outputs
Performance Summary

Mistral's Codestral 2508, a coding-focused language model, demonstrates competitive response times, performing among the average models with a 50th percentile speed ranking. It also offers cost-effective solutions, ranking in the 65th percentile for price across various benchmarks. The model exhibits a mixed performance across different categories. Its primary strength lies in its exceptional cost efficiency in Mathematics, achieving a top 3 ranking for cost, despite a very low accuracy of 3.0%. Codestral 2508 also shows reasonable performance in Instruction Following (57.0% accuracy) and Email Classification (94.0% accuracy). However, its performance in General Knowledge (49.5% accuracy) and Coding (48.0% accuracy) is below average, ranking in the 17th and 22nd percentiles respectively. A notable weakness is its extremely low accuracy in Mathematics, indicating it is not suited for complex mathematical problem-solving. The model's reasoning capabilities are also modest at 46.0% accuracy. While its Ethics accuracy is high at 97.0%, its percentile ranking is average.

Model Pricing

Current Pricing

Feature Price (per 1M tokens)
Prompt $0.3
Completion $0.9

Price History

Available Endpoints
Provider Endpoint Name Context Length Pricing (Input) Pricing (Output)
Mistral
Mistral | mistralai/codestral-2508 256K $0.3 / 1M tokens $0.9 / 1M tokens
Benchmark Results
Benchmark Category Reasoning Strategy Free Executions Accuracy Cost Duration
Other Models by mistralai