Pricing · Mistral

Codestral

Mistral's codestral-2508, 128K tokens of context. Every number on this page was read off Mistral's own pricing page — never estimated, never recalled from memory.

How Mistral describes it

“Low-latency coding model optimized for high-frequency completion, fill-in-the-middle, and code generation tasks.”

Pricing

Input $0.30 per 1M tokens
Output $0.90 per 1M tokens

At the calculator's starting volume, 1M input tokens and 200K output tokens with no cache hits, Codestral costs $0.48: $0.30 for input and $0.18 for output, at the prices above. Same formula as the calculator; change the volume there.

Where this price sits

$0.30 per 1M input tokens is the 13th cheapest input price of the 67 current models with a verified price on this site, and the 5th of Mistral's 9. Output costs 3.0× the input price.

Specifications

API model id codestral-2508
Provider Mistral
Context window 128K tokens
Status Current
Intended use coding

Mistral lists its intended use as coding.

Questions about Codestral pricing

How much does Codestral cost per million tokens?
$0.30 per 1M input tokens and $0.90 per 1M output tokens, read on Mistral's official pricing page on September 28, 2026.

Context window read on Mistral's model page (docs.mistral.ai/models/codestral-25-08) on 2026-09-30: 'Context 128k'. The page prints no maximum output.

Verified September 28, 2026 against Mistral's official pricing page. Confidence: confirmed. No price change recorded for this model. How the data is checked.

Other Mistral models with a verified price

Cheaper or equally priced alternatives

Current models with an input price at or below $0.30 per 1M tokens.