Codestral

Mistral AICODE Open weight
Provider
Mistral AI
Modality
CODE
Parameters
22B
Context window
32,000 tokens
Weights
Open
Released

Codestral is Mistral's dedicated code model, tuned for code completion and generation across 80+ languages.

It is designed for fast, in-editor autocomplete as well as larger generation tasks.

Best for

  • Fast code autocomplete
  • Code generation across many languages
  • Self-hosted or API-based dev tools

Strengths & how it compares

  • Broad language coverage and low latency.
  • Open weights with a managed API option.
  • Vs DeepSeek Coder V2: comparable quality; choose by latency, hosting and licence.

Benchmarks

Representative public scores (approximate, higher is better) for relative comparison. Check the provider for the latest official results.

HumanEval (coding)81
MBPP (coding)78

How to access

Open weights; managed API available.

Access Codestral
Share: