Codestral
Codestral is Mistral AI's entry in a crowded field. Context window: 0.032K tokens.
Context
32K
Input
$0.30
Key Specifications
Arena Rank
Not disclosed
Context Window
32K
Input Price
per 1M tokens
$0.30
Output Price
per 1M tokens
$0.90
Parameters
22B
Open Source
Best For
About Codestral
Codestral, developed by Mistral AI, is a specialized code model with 22 billion parameters and a 32K token context window trained on over 80 programming languages. The model is optimized specifically for software development tasks including code completion, generation, refactoring, documentation, and test writing. Unlike general-purpose models, Codestral's focused training delivers stronger performance on code-specific tasks, particularly fill-in-the-middle completion for IDE integration. It features low-latency inference suitable for real-time autocomplete in development environments. Priced at $0.30 per million input tokens and $0.90 per million output tokens. Codestral powers coding assistants and integrates with popular development tools including VS Code and JetBrains IDEs. Its specialized architecture achieves competitive scores on HumanEval and MBPP benchmarks, rivaling much larger general-purpose models on coding tasks.
Pricing per 1M tokens
Input Tokens
$0.30
Output Tokens
$0.90
Compare Codestral
See how Codestral stacks up against other leading AI models