M

Codestral 2

Mistral · Text · Nov 2025

Code-specialized model tuned for autocomplete, fill-in-the-middle, and refactors.

Code generationHigh-volume / cheap
Input price
$0.50
per 1M tokens
Output price
$1.50
per 1M tokens
Context window
256K
tokens
Modality
Text
supported
Provider
Mistral
vendor
Released
Nov 2025

Compare Codestral 2

Head-to-head pricing and specs against other models.

Related models

Frequently asked questions

How much does Codestral 2 cost?
Codestral 2 costs $0.50 per 1M input tokens and $1.50 per 1M output tokens.
What is Codestral 2's context window?
Codestral 2 supports a context window of 256K tokens.
What is Codestral 2 best for?
Codestral 2 is well suited for Code generation, High-volume / cheap. Code-specialized model tuned for autocomplete, fill-in-the-middle, and refactors.
Who makes Codestral 2?
Codestral 2 is built by Mistral. It was released in Nov 2025.