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

“Our cutting-edge language model for code completion released end of July 2025, Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM) and code generation.”

Pricing

Prices in US dollars per 1M tokens, as Mistral's official pricing page printed them when they were last verified, on November 16, 2026.

Input $0.30 per 1M tokens
Output $0.90 per 1M tokens
Cached input $0.03 per 1M tokens · 0.1× the input price

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 16th cheapest input price of the 82 current models with a verified price on AI Signal, and the 6th of Mistral's 9. Output costs 3.0× the input price.

Recorded price changes

Every change AI Signal has recorded for Codestral, with the date it took or takes effect and why. Corrections of our own reading are listed too, and say so.

Every price change recorded on AI Signal →

Specifications

Codestral's API identifier, provider and limits, from the same row of the dataset as the prices above.

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 November 16, 2026.
What does a cached input token cost on Codestral?
$0.03 per 1M cached input tokens, 10% of the $0.30 input price.

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. Cached input read on Mistral's pricing page (docs.mistral.ai/inference/pricing) on 2026-10-22, table 'Model | Input | Cached input | Output |': 'Codestral ↗ | $0.3 | $0.03 | $0.9 |'. The page printed it before; this row lacked it until then (priceChanges entry mistral-cached-input-found).

Verified November 16, 2026 against Mistral's official pricing page. Confidence: confirmed. 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.