Mistral AI
Released: 2024-05-29
Codestral 22B
Model Specifications
Context Window 32k tokens
Parameters 22B
Pricing (Input) $1.00 / M tokens
Pricing (Output) $3.00 / M tokens
What is Codestral 22B?
Codestral 22B is Mistral AI’s first open-weight code model, specifically designed for code generation, translation, and fill-in-the-middle tasks. Released in May 2024, it supports over 80 programming languages, including Python, C++, Java, and Rust.
Optimized for developer environment integrations, it offers low latency and high accuracy for completion tasks.
Key Capabilities
- Multi-language support: Trained on a large dataset of software repositories in 80+ languages.
- Fill-in-the-middle capability: Autocompletes code blocks within existing files.
- Open weight deployment: Can be hosted locally on consumer-grade hardware.
Ideal Use Cases
- IDE auto-completion: Serving as a local backend for developer coding assistants.
- Code translation: Porting code from legacy languages to modern ones.
- Unit test creation: Automatically generating test suites based on function definitions.
Historical figures, architectures, and capabilities are for informational purposes only. Not technical, professional, legal, or financial advice. Sources: Benchmark evaluations derived from public developer statements.