Mistral

Codestral 2508

mistralai/codestral-2508
Released Aug 1, 2025Open Weights
Toolsopen weights

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

Cost / 1M tokens

Low usage

$0.30

input

$0.03

cached input

$0.90

output

Context Window

256K

Up to 205K max output

Modalities

text, file → text

Mistral tokenizer

Quickstart & API

mistralai/codestral-2508
Open the model picker in ChatOSS Desktop (Code, Kanban, or Chat) and select or paste this model ID.

Best for & Strengths

Key Strengths

Open weightsTool & agent callingLong context window

Recommended Workloads in ChatOSS

  • Coding agents
  • Open-source AI workflows
Available in ChatOSS Code, Kanban Orchestrate, and Chat modes via Plus, Max, or BYOK.

Verified Evaluations

Benchmarks & Frontier Comparison

How Codestral 2508 compares against leading open-weight and proprietary frontier models across independent agentic coding and reasoning suites.

View full Top 40 Leaderboard →
Benchmark (Metric)Codestral 2508DeepSeek V4.1 FlashGLM 5.3Kimi K3.1 ProClaude Opus 5.5
Agentic & Software Engineering
ChatOSS Agentic Coding Index (%)—63.2%58.3%65%74.1%
SWE-Bench Verified (%)—91.5%95.4%94.8%97%
DeepSWE v1.1 (Pass@1 %)—77%69%73.5%74.2%
Vibe Code Bench v1.1 (%)—87.7%78.1%88.4%90.3%
Terminal-Bench 4.0 (%)—42.3%42%46.2%65.2%
Code Migration (%)—45.6%44.2%52%66.7%
Intelligence & Token Economics
Artificial Analysis Intelligence Index (0–100)—39.544.855.157.6
Input Price (/ 1M tokens)$0.30$0.15$1.40$2.00$4.00
Output Price (/ 1M tokens)$0.90$0.60$4.40$10.00$20.00

Design Arena: Code Generation

Design Arena · Rank #127 (38.5% win)

1005 Elo

Design Arena: Data Visualization

Design Arena · Rank #115 (41.1% win)

1017 Elo

Design Arena: Game Dev

Design Arena · Rank #129 (36.3% win)

966 Elo

Design Arena: UI Components

Design Arena · Rank #116 (46.7% win)

1012 Elo

Active Provider Endpoints (2)

Upstream inference providers serving Codestral 2508, with per-provider pricing, context limits, quantization, and 24-hour uptime.

ProviderInput / 1MOutput / 1MCache Read / 1MContextMax OutputQuantizationUptime (24h)
Mistralcache
mistral
$0.30$0.90$0.03256K205K—100.0%
Mistralcache
mistral/eu
$0.33$0.99$0.033256K205K——

Supported API Parameters

Parameters accepted by this model when called through ChatOSS or OpenRouter.

frequency_penaltymax_tokenspredictionpresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_p

Compare Similar Models

Browse all models →