Codestral
Open in the interactive archive →
Download the covers: Floppy card · VHS cover · Vinyl cover
Codestral: the A to Z
- A · App
- No
- B · Built By
- Mistral AI
- C · CEO & Politics
- Arthur Mensch — No public partisan activity documented (France-based); Mistral lobbied in 2023 to loosen EU AI Act rules for foundation models
- D · Date
- 2024-05-29
- E · Expertise
- Intermediate+
- F · Free Tier
- Yes
- G · Generates
- Text only
- H · Deployment
- Cloud + Local
- I · AIDb ID
- mistral-codestral
- J · Jurisdiction
- France
- K · Key Staffers
- Guillaume Lample (Co-founder)
- L · Lifecycle
- Released
- M · Model Type
- Code LLM
- N · Safety Issues
- May reproduce copyrighted code. Security vulnerabilities.
- O · Open Source
- Partly open · MNPL-0.1
- P · Pricing
- Open weights for non-production use only (Mistral AI Non-Production License); Mistral API retired this version (codestral-2405) on June 16, 2025
- Q · AIDb Rating
- 5/10 · composite 4.53 rounded half-up · AIDb v2.0 (rule-based): Capability 4/10 · Currency 4/10 · Access 6.5/10 · Significance 5/10
- R · What Makes It Special
- Mistral AI's Codestral (May 29, 2024), its first code model: a 22B open-weight model trained on 80+ programming languages that completes functions, writes tests and fills in partial code with a fill-in-the-middle mechanism, with a 32K-token context and evaluation on HumanEval, MBPP, CruxEval and the RepoBench long-range code task; released under the Mistral AI Non-Production License with commercial licenses on request, it had a free beta endpoint. This version left the API June 16, 2025.
- S · Stock / Status
- Private (€21B+ valuation, Sep 2026)
- T · Training Cutoff
- Not documented
- U · Usable Context
- 32,000 tokens
- V · Voice Chat
- No
- W · Weights
- Partly open (check the licence)
- X · X Handle
- @MistralAI
- Y · Year Founded
- 2023
- Z · Bottom Line
- A 22B code model with fill-in-the-middle and a 32K context, but the weights are non-production only and this version left Mistral's API in June 2025.
Data completeness 96% · Last verified 2026-06-11 · Primary source ↗
Codestral FAQ
What is Codestral?
Codestral is a Code LLM from Mistral AI (France). A 22B code model with fill-in-the-middle and a 32K context, but the weights are non-production only and this version left Mistral's API in June 2025.
When was Codestral released?
Codestral was released on May 29, 2024.
Who makes Codestral?
Codestral is made by Mistral AI, based in France and founded in 2023. Mistral AI is led by Arthur Mensch.
Is Codestral open source?
Partly open · MNPL-0.1. Weights: Partly open (check the licence).
How much does Codestral cost?
Open weights for non-production use only (Mistral AI Non-Production License); Mistral API retired this version (codestral-2405) on June 16, 2025. A free tier is available.
What is Codestral's context window?
Codestral accepts up to 32,000 tokens of context.
What can Codestral generate?
Text only. AIDb counts an output only when the vendor's own app produces it.
Is Codestral still available?
AIDb lists Codestral as released; it has not been marked deprecated or retired.
How does AIDb rate Codestral?
AIDb rates Codestral 5/10. AIDb v2.0 (rule-based): Capability 4/10 · Currency 4/10 · Access 6.5/10 · Significance 5/10 → 4.53.
Codestral vs similar models
The 4 Code LLM models in AIDb closest to Codestral by release date:
| Model | Vendor | Released | Context (tokens) | Open weights | AIDb rating |
|---|---|---|---|---|---|
| Codestral | Mistral AI | May 29, 2024 | 32,000 | Partial | 5/10 |
| DeepSeek Coder V2 | DeepSeek | June 14, 2024 | 163,840 | Partial | 5/10 |
| DeepSeek-Coder-V2-Lite | DeepSeek | June 17, 2024 | 163,840 | Partial | 7/10 |
| Granite Code Models | IBM | May 6, 2024 | 4,096 | Yes | 4/10 |
| CodeGemma | Google DeepMind | April 9, 2024 | — | Partial | 6/10 |
How to cite Codestral
“Codestral.” AIDb — The AI Database. Verified 2026-06-11. https://theaidatabase.com/m/mistral-codestral.html
More from Mistral AI
Codestral Embed · Codestral Mamba · Devstral 2 · Mathstral · Ministral 3 · Mistral 7B · Mistral Devstral Medium · Mistral Embed