Mistral: Codestral 2508

codemnpl

Mistral's cutting-edge language model for coding released end of July 2025.

Context
256K
Max output
205K
Input price
$0.3/1M tokens
Output price
$0.9/1M tokens

Capabilities

Reasoning & Interaction
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Fine-tuning

Details

Model IDmistralai/codestral
Provider OpenRouter
Familycodestral
Licensemnpl
Status—
Typecode
Input modalitiestext
Output modalitiestext
Open weightYes
Parameters—
Architecture—
Context window256K tokens
Max input—
Max output205K tokens
Reasoning tokens—
Knowledge cutoff—
Release date
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Pricing

Input
$0.3
Output
$0.9
Cache write
—
Cache read
$0.03
Batch in
—
Batch out
—

Family Comparison: codestral

ModelContextMax outPricing
Mistral: Codestral 2508 (batch)256K205K$0.15$0.45
Mistral: Codestral 2508256K205K$0.3$0.9

API

GET/v1/models/openrouter/mistralai/codestral