Codestral
Mistral's dedicated code model. Optimized for code generation, completion, and review across 80+ languages.
256K
tokens
8K
tokens
$0.3
per 1M tokens
$0.9
per 1M tokens
195
tokens/sec
Jan 2025
2025-01-14
$0.60
per 1M tokens
126.7
quality per $
Capabilities
Benchmarks
About Codestral
Codestral is a coding AI model by Mistral AI, released on January 14, 2025. It supports a context window of 256K tokens and can generate up to 8K output tokens.
At $0.3 per million input tokens and $0.9 per million output tokens, its blended cost of $0.60/1M tokens makes it one of the most affordable models available. Its value score of 126.7 reflects the balance of quality and cost.
Using Codestral with Swfte
Access Codestral through Swfte Connect, our unified LLM gateway. Connect gives you a single API for 50+ models, with automatic routing, cost optimization, and fallback handling. You can also try Codestral in our AI Playground before integrating.