Codestral

Mistral AIcoding

Mistral's dedicated code model. Optimized for code generation, completion, and review across 80+ languages.

Context Window

256K

tokens

Max Output

8K

tokens

Input Price

$0.3

per 1M tokens

Output Price

$0.9

per 1M tokens

Speed

195

tokens/sec

Released

Jan 2025

2025-01-14

Blended Cost

$0.60

per 1M tokens

Value Score

126.7

quality per $

Capabilities

ChatCode GenerationFunction Calling

Benchmarks

Quality Index
76
MMLU Pro
72.1
HumanEval (Coding)
92.5
MATH
67.8

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.