Codestral
Codestral is Mistral’s dedicated code-generation family, introduced as an open-weight 22B model trained across more than eighty programming languages. The original 24.05 checkpoint supports 32K context, completion, and fill-in-the-middle workflows under the Mistral AI Non-Production License. Later 25.01 and 25.08 service checkpoints improve low-latency code completion and fill-in-the-middle; their date-stamped refreshes remain variants of this named coding tier. Their deployment limits and weight availability differ from the original downloadable checkpoint. Codestral Mamba uses a distinct state-space architecture and has a separate page.
2024-05-29
22B (original 24.05; later parameter count undisclosed)
Decoder-only Transformer; later hosted architecture details undisclosed
Mistral AI Non-Production License (original weights); hosted service terms apply to later snapshots
Specifications
- Parameters
- 22B (original 24.05; later parameter count undisclosed)
- Architecture
- Decoder-only Transformer; later hosted architecture details undisclosed
- License
- Mistral AI Non-Production License (original weights); hosted service terms apply to later snapshots
- Context Window
- 32,768 tokens
- Type
- text
- Modalities
- text
Benchmark Scores
Advanced Specifications
- Model Family
- Codestral
- API Access
- Available
- Chat Interface
- Not Available
- Variants
- 24.05 (22B open weights)25.01 (hosted refresh)25.08 (hosted refresh)
Capabilities & Limitations
- Capabilities
- code generationcode completionfill-in-the-middlemulti-language programming
- Known Limitations
- Original weights have non-production licensing restrictionsContext and weight access differ by snapshotGenerated code may contain errors
- Notable Use Cases
- IDE completioncoding assistancetest generation