Codestral 22BOpen Weight

Released

Codestral 22B is an AI model released by Mistral on Wednesday, May 29 2024, 7 days after Mistral 7B v0.3. It is an open-weight model — the trained weights are available to download and run. It is a 22B parameter model with a context window of 32k tokens. Benchmark results (shown below) cover LiveCodeBench, and HumanEval.

Benchmarks

LiveCodeBench
31.5%
#84 of 91
HumanEval
81.1%
#44 of 92

Compare Codestral 22B with

Codestral 22B

About

Codestral 22B was released on May 29, 2024 as Mistral AI's first dedicated code-generation model. It was trained across more than 80 programming languages and supported both instruction-based requests and fill-in-the-middle completion. That combination addressed conversational coding help as well as editor features that insert code between an existing prefix and suffix.

Its 32K-token context could hold surrounding project material, and Mistral offered downloadable weights alongside API access and development-tool integrations. The original checkpoint used the Mistral AI Non-Production License for research and testing, with commercial licensing handled separately. Those terms distinguish Codestral 22B from the Apache-licensed Codestral Mamba release that followed later in 2024.

Frequently asked questions

Codestral 22B was released by Mistral on Wednesday, May 29 2024.

All Mistral releases

45 tracked