---
id: "mistralai/codestral-2508"
also: ["mistralai/codestral-2508"]
card_usd_per_m: "0.3 in, 0.9 out, at mistral"
cheapest_list_usd_per_m: "0.3 in, 0.9 out, at mistral on openrouter"
cheapest_effective_usd_per_m: "0.195 in, 0.8984 out, at mistral on openrouter"
context: 256000
max_output: 204800
input: ["text", "file"]
output: ["text"]
released: "2025-08-01"
api: ["/api/v1/chat/completions", "/api/v1/completions", "/api/v1/messages", "/api/v1/responses"]
params: ["frequency_penalty", "max_tokens", "prediction", "presence_penalty", "response_format", "seed", "stop", "structured_outputs", "temperature", "tool_choice", "tools", "top_p"]
endpoints: 2
gateways: "openrouter (2)"
no_training: 2
trains: 0
retains_prompts: 0
---
# Mistral: Codestral 2508

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)