
Codestral 22B
Mistral's 22B code specialist — research/non-production license.
About
Codestral 22B (mistralai/Codestral-22B-v0.1), released May 2024, is Mistral AI's code-generation specialist: 22B parameters, trained on 80+ programming languages, with strong fill-in-the-middle support for IDE-style completion. Weights are downloadable from Hugging Face (not gated) but licensed under MNPL — the Mistral Non-Production License: research and testing only, no production use. It is not open source and must not be described as such. For production code assistance, use a commercially-licensed model or API.
Specs
Context window
Pricing
Free quota
API access
Weights
Released
Benchmarks
Provider-reported (Mistral, May 2024): competitive with larger code models on HumanEval, RepoBench, and fill-in-the-middle benchmarks — provider-reported, now dated (2024); treat comparisons against 2025-2026 code models as stale.
Provider-reported unless a source says otherwise. Benchmarks are marketing-adjacent by nature — treat them as directional.
Use cases
Trust score — 6/10
Scored 6/10 (metrics tier, metrics-v1). Evidence: HF: mistralai/Codestral-22B-v0.1; HF downloads 19,952 (peer-normalized); released 867 days ago. Manual review: Mistral's 22B code specialist (80+ langs, fill-in-the-middle); 2024-era, superseded; modest HF traction (20k dl). License: MNPL — Mistral Non-Production License: research/testing ONLY, no production use; describe as 'open weights', never 'open source'.
How the trust score is built
Full methodology →- Adoption · stars/downloads, log-scaled vs peers
- 6.6/10
- Maintenance · recency, releases, issue load
- 4.0/10
- Openness · license + docs
- 5.8/10
- Manual review · sanity read + red-flag check
- 7.0/10
- · HF: mistralai/Codestral-22B-v0.1
- · HF downloads 19,952 (peer-normalized)
- · released 867 days ago
- · manual review: Mistral's 22B code specialist (80+ langs, fill-in-the-middle); 2024-era, superseded; modest HF traction (20k dl)