Skip to content

Codestral: API pricing, context window and capabilities

Prices from official vendor price lists · October 2026

Codestral costs $0.3 per 1M input tokens and $0.9 per 1M output tokens, with a 128K context window. Mid-priced: dearer than 27% of this rating, with Mistral Small 4 as the nearest cheaper Mistral AI option. Recorded for coding, free tier.

API $/1M (in / out)
$0.3 / $0.9
Capabilities
Text & chatCodingStructured JSON output
Context window
128K tokens
Price / mo
API only

Codestral reviews: developer ratings and feedback