← All Models

Codestral

Mistral AIArena Rank #18

Mistral's code-specialized model trained on 80+ programming languages. Optimized for FIM (fill-in-the-middle) code completion.

Specifications

Context Window

256K

Parameters

22B

Input Price / 1M tokens

$0.30

Output Price / 1M tokens

$0.90

Release Date

January 14, 2025

Arena Rank

#18

Open Source

No

Best For

Code generationcode completiondebugging

Pricing (per 1M tokens)

Input

$0.30

Output

$0.90

Frequently Asked Questions

What is Codestral?
Mistral's code-specialized model trained on 80+ programming languages. Optimized for FIM (fill-in-the-middle) code completion.
How much does Codestral cost?
Codestral costs $0.30 per 1M input tokens and $0.90 per 1M output tokens.
What is Codestral best for?
Codestral is best for: Code generation, code completion, debugging.
Is Codestral open source?
No, Codestral is a proprietary model available through Mistral AI's API.