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 parameterThe learned values that shape how a model responds. B means billion and T means trillion. For mixture-of-experts models, the total count is larger than the number active for each token. Parameter count alone does not measure quality. model with a context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider. of 32k tokens. Benchmark results (shown below) cover LiveCodeBench, and HumanEval.
Get Mistral releases and AI news.
Every other Monday
Benchmarks
Compare Codestral 22B with
Suggested comparisons
Codestral 22BvsMistral Large 4Codestral 22BvsGPT-6.2 AstraCodestral 22BvsClaude Fable 5.2Codestral 22BvsGemini 4 NeonCodestral 22BvsMuse EmberCodestral 22BvsGrok 4.7Codestral 22BvsDeepSeek-V4.1-Flash-1017Codestral 22BvsKimi K3.1 ProCodestral 22BvsGLM-5.4Codestral 22BvsQwen4-MaxCodestral 22BvsNemotron 3.5 Bolt E4B 4GBCodestral 22BvsErgoCodestral 22BvsMiniMax M4Codestral 22BvsMiMo-V2.6-ProAbout
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.