LLM Pricing
PricingLeaderboardsToolsProvidersReleasesGuides

© 2026 LLM Pricing

About
·Contact
·Privacy
·RSS
← Model list

Codestral (latest)

mistral·mistral/codestral-latest·GA·Open weights·codestral series
Mistral code model for completions, refactors, and developer IDE workflows

Codestral (latest) by mistral is offered by 4 providers on this page. Its official list price is $0.30 per 1M input tokens and $0.90 per 1M output tokens.

The context window is 256,000 tokens, with an output limit of 4,096 tokens. It supports tool use and structured output. The weights are open, so it can also be self-hosted or served through a gateway of your choice. Its training knowledge cuts off at 2024-10.

Specs & pricing

Input / output per 1M tokens
Official price·Mistral
$0.30 / $0.90
Blended $0.45 · Cache read $0.03
Lowest paid·Vercel AI GatewayCloud
$0.30 / $0.90
Blended $0.45 · 1× spread
Context
256,000
Output limit
4,096
Knowledge cutoff
2024-10
Released / updated
2024-05-29 / 2025-01-04
Capabilities
Reasoning✓ Tool use✓ Structured output✓ TemperatureAttachments
Modalities
Text
Weights
Hugging Face

Available at 4 providers4 with public prices

ProviderTierInputOutputCache readCache writeContextOutput limitStatus
Vercel AI Gateway
mistral/codestral
Cloud$0.30$0.90$0.03—256,0004,096
Merge GatewayGateway$0.30$0.90——256,0004,096
Eden AIGateway$0.30$0.90$0.03—256,0004,096
MistralOfficialFirst-party$0.30$0.90$0.03—256,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

1Vercel AI Gateway$72.60
2Eden AI$72.60
3Mistral · Official$72.60
4Merge Gateway$105.00
Switch to Vercel AI Gateway to save $0/mo (0%). The gap is small, so staying on the official channel is fine.

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

Benchmark1 items

NameConditionsScoreMetricSource
Aider Polyglot—11.1percent correctSource ↗

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

Related models

Codestral 2508same series$0.37 / $1.10Codestral 25.01same series$0.30 / $0.90Codestral-22B-v0.1same series$0.30 / $0.90Command Rcheaper alternative$0.15 / $0.60Gemma 3 4B ITcheaper alternative$0.20 / $0.20Mistral Nemocheaper alternative$0.15 / $0.15Ministral 3Bcheaper alternative$0.04 / $0.04
Data partly from models.dev (MIT) · Mistral official docs ↗