- input
- $0.30
- cached
- $0.03
- output
- $0.90
- Context
- 256Ktokens
- Released
- 1y ago
Cost/1M tokens
Codestral 2508 is a model from Mistral AI, introduced as the company's first-ever code model. The launch announcement claims it sets a new standard on the performance/latency space for code generation compared to previous models used for coding. It is designed for code generation tasks, trained on a diverse dataset of 80+ programming languages, and can complete coding functions, write tests, and complete partial code using a fill-in-the-middle mechanism.
- Language model
- Accepts files
- Tools
- Structured output
How it compares
Additional source evidence
- Source model
- mistral/codestral-2508
- Source family
- codestral
- Last updated
- 2025-07-30
- Model context
- 128K
- Model output limit
- 8K
- Open weights
- No
- File attachments
- No
- Reasoning
- No
- Tool calling
- Yes
- Temperature control
- Yes
Complete source record (JSON)
{
"id": "mistral/codestral-2508",
"name": "Codestral 25.08",
"description": "Mistral code model for low-latency completion, fill-in-the-middle, and code generation",
"family": "codestral",
"last_updated": "2025-07-30",
"attachment": false,
"reasoning": false,
"tool_call": true,
"temperature": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 128000,
"output": 8192
},
"release_date": "2025-07-30",
"open_weights": false
}Frequently asked questions
API and pricing
Codestral 2508 is listed at $0.30 per 1M input tokens and $0.90 per 1M output tokens.
Yes, cached input for Codestral 2508 costs $0.03 per 1M tokens, compared with $0.30 for uncached input, a 90% discount.
Yes, Mistral offers batch pricing for Codestral 2508 at $0.30 per 1M input tokens and $0.90 per 1M output tokens.
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0039 with Codestral 2508 at the cheapest provider, Mistral.
1 of 1 tracked Codestral 2508 endpoints had 99% uptime or better over the last day. The best was Mistral at 100.0%.
Privacy and data
Mistral offers zero data retention for Codestral 2508, so prompts are not stored after the request.
Capabilities and specs
Codestral 2508 has a 256K token context window. It can write up to 205K output tokens per response.
Yes, Codestral 2508 accepts files such as PDFs as input alongside text.
Yes, Codestral 2508 supports tool calling (function calling), so it can request calls to tools you define.
Yes, Codestral 2508 supports structured output, so responses can be constrained to JSON.
No, Codestral 2508 is not listed with a reasoning mode.
Codestral 2508 has a knowledge cutoff of 2025-03-31, so it does not know about later events unless you provide them.
Quality and benchmarks
Similar models from other labs include Qwen3 Coder Flash (Qwen), Qwen3 Coder 480B A35B (Qwen) and GLM 4.5 Air (Z.ai). They are the closest matches by kind, price and release date.
Qwen3 Coder FlashCodestral 2508 vs Qwen3 Coder FlashQwen3 Coder 480B A35BCodestral 2508 vs Qwen3 Coder 480B A35BGLM 4.5 AirCodestral 2508 vs GLM 4.5 Air
Kimi K3 is the highest-ranked open-weight model on Arena Text (#22), so it is the strongest open alternative to Codestral 2508 by that measure.
Licensing and access
No, Codestral 2508 is a closed model: Mistral AI has not published its weights, so it is available only through APIs and apps.
Basics
Codestral 2508 was made by Mistral AI. It was released on July 30, 2025.
No, Codestral 2508 is a paid API model, listed at $0.30 per 1M input tokens and $0.90 per 1M output tokens.
Generated from Vertical Tabs data, updated November 26, 2026.

Discussion
No comments yet
Be the first to share your thoughts.