Models / Mistral / Codestral (latest)

Mistral · codestral

Codestral (latest)

Mistral code model for completions, refactors, and developer IDE workflows

$0.30 in · $0.90 out

per 1M tokens · first-party price. Reference price from Mistral, the lab's own listing.

Context
256,000
Max output
4,096
Cache read
$0.03
Cache write
—
Reasoning
No
Tool calls
Yes
Structured output
Unknown
Vision
No
Open weights
Yes
License
—
Released
May 29, 2024
Updated in source
Jan 4, 2025
Knowledge
2024-10
Providers
3

Hugging Face weights

What this model costs per month

Prices are USD per 1M tokens. A month is 30 days. Cache hits use the cache-read rate when the model has one; otherwise the cache field is ignored.

monthly = requests/day × 30 × (input tokens × (1 − cache hit) × input price + input tokens × cache hit × cache-read price + output tokens × output price) ÷ 1,000,000

Providers

Base rates from Models.dev. One row per provider.
ProviderInputOutputCache readCache writeStatus
Eden AI$0.30$0.90$0.03——
Merge Gateway$0.30$0.90———
Mistralreference$0.30$0.90$0.03——