← Model list

Codestral (latest)

mistral·mistral/codestral-latest·GA·Open weights·codestral series

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

At a glance
Official price$0.30 / $0.90 per 1M
Cache read · Mistral
Lowest paid$0.30 / $0.90
Merge Gateway Gateway · 3.3× spread
Context256,000
Output limit4,096
Capabilities
ReasoningTool useStructured outputTemperatureAttachments
Modalities
Text
Knowledge cutoff2024-10
Released / updated2024-05-29 / 2025-01-04

Quality & performance

Artificial Analysis doesn't cover this model (267 of 2059 have data). Quality data comes from independent evals covering widely used models.

Available at 4 providers4 with public prices

ProviderTierInputOutputCache readCache writeContextOutput limitStatus
Merge GatewayGateway$0.30$0.90256,0004,096
MistralOfficialFirst-party$0.30$0.90256,0004,096
Vercel AI Gateway
mistral/codestral
Cloud$0.30$0.90256,0004,096
Eden AIGateway$1.00$3.00256,0004,096

Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.

Your usage cost

1Merge Gateway$105.00
2Mistral · Official$105.00
3Vercel AI Gateway$105.00
4Eden AI$350.00
Switch to Merge Gateway to save $0.00/mo (0%). The gap is small, so staying on the official channel is fine.
Note: this is a gateway; verify availability and rate limits yourself.

Benchmark1 items

NameConditionsScoreMetricSource
Aider Polyglot11.1percent correctSource ↗

The same benchmark scores very differently across harness / dataset, so the qualifying conditions must be shown together.

Related models

Price historyone sample accumulated per data sync

Input listOutput listMin blended
$0.90$02026-08-052026-08-132026-08-05 · Input list $0.302026-08-06 · Input list $0.302026-08-07 · Input list $0.302026-08-08 · Input list $0.302026-08-09 · Input list $0.302026-08-10 · Input list $0.302026-08-11 · Input list $0.302026-08-12 · Input list $0.302026-08-13 · Input list $0.302026-08-05 · Output list $0.902026-08-06 · Output list $0.902026-08-07 · Output list $0.902026-08-08 · Output list $0.902026-08-09 · Output list $0.902026-08-10 · Output list $0.902026-08-11 · Output list $0.902026-08-12 · Output list $0.902026-08-13 · Output list $0.902026-08-05 · Min blended $0.452026-08-06 · Min blended $0.452026-08-07 · Min blended $0.452026-08-08 · Min blended $0.452026-08-09 · Min blended $0.452026-08-10 · Min blended $0.452026-08-11 · Min blended $0.452026-08-12 · Min blended $0.452026-08-13 · Min blended $0.45