EN / 中文
Model prices / Mistral AI / Codestral (latest)

Codestral (latest)Open weights

Mistral AI · released 2024-05-29

The official API price of Codestral (latest) is $0.3 per 1M input tokens and $0.9 per 1M output tokens (as of 2026-11-12). Context window: 256K tokens, up to 4.1K output tokens per request. 4 providers sell it, none below the official price.

Price by providerUSD per 1M tokens

ProviderInputOutputCachedNotes
MistralOfficialcodestral-latest
$0.3$0.9$0.03OfficialOfficial docs
EEden AImistral/codestral-latest
$0.3$0.9$0.03Official docs
MMerge Gatewaymistral/codestral-latest
$0.3$0.9—Official docs
Vercel AI Gatewaymistral/codestral
$0.3$0.9$0.03Official docs
EEden AImistral/codestral-latest@eu
$0.33$0.99$0.033Official docs

Providers are those listed by models.dev. This site has not vetted them one by one; each provider's own page has the binding price.

About

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

Description from models.dev.

Specs

Type
Text
Context
256K
Max output
4.1K
Input
Text, PDF
Output
Text
Reasoning
No
Tool calling
Yes
Structured output
Yes
Knowledge cutoff
2024-10
Open weights
Yes
Released
2024-05-29

Source

Prices and specs come from models.dev (MIT licence), updated 2026-11-12. Each provider's name links to its official docs. A provider priced at 0 usually includes the model in a subscription; it is not necessarily a free API.