- Organizations
- Mistral
- Codestral-22B
Codestral-22B: Benchmarks, Pricing & Context Window
Codestral-22B is a language model from Mistral, released in May 2024.
A 22B parameter code generation model trained on 80+ programming languages including Python, Java, C, C++, JavaScript, and Bash. Supports both instruction-following and fill-in-the-middle (FIM) capabilities for code completion and
Codestral-22B benchmarks
Capability tiers
Standing within each category, adjusted for leaderboard depth.
Real tasks performance
High-confidence performance for Codestral-22B across real-world prompt categories. Only 95% intervals at most 4 points wide are shown.
Performance by conversation depth
How Codestral-22B holds up as conversations get longer.
Quality Tracker
Codestral-22B Performance Across Datasets
Scores sourced from the model's scorecard, paper, or official blog posts
Benchmark Scores
Every benchmark Codestral-22B has been evaluated on, with rank and source.
| Benchmark | Rank | Score | Source |
|---|---|---|---|
Average evaluation of HumanEval Fill-in-the-Middle benchmark variants (single-line, multi-line, random-span) for assessing code infilling capabilities of language models | — | 0.92/1 Methodology: pass@1 | mistral.ai |
A benchmark that measures functional correctness for synthesizing programs from docstrings, consisting of 164 original programming problems assessing language comprehension, algorithms, and simple mathematics | — | 0.81/1 Methodology: pass@1 | mistral.ai |
MBPP* MBPP (Mostly Basic Python Problems) is a benchmark of 974 crowd-sourced Python programming problems designed to be solvable by entry-level programmers. Each problem consists of a task description, code solution, and 3 automated test cases covering programming fundamentals and standard library functionality. | — | 0.78/100 Methodology: pass@1 | mistral.ai |
A large-scale, complex and cross-domain semantic parsing and text-to-SQL dataset annotated by 11 college students. Contains 10,181 questions and 5,693 unique complex SQL queries on 200 databases with multiple tables, covering 138 different domains. Requires models to generalize to both new SQL queries and new database schemas, making it distinct from previous semantic parsing tasks that use single databases. | — | 0.64/1 Methodology: pass@1 | mistral.ai |
* Self-reported by the model provider. Score may not be independently verified.
Rankings Across Benchmarks
See how Codestral-22B ranks against other models in each benchmark it participates in.
No ranking data available for these benchmarks.
Try now
Make it with
Codestral-22B.
Codestral-22B latency
Codestral-22B time to first token, sustained output throughput, and failed-request rate from live model usage over the trailing 7 days.
Codestral-22B examples
Recent arena outputs from Codestral-22B, picked from the highest-ranked matchups.
Codestral-22B license
Codestral-22B is a proprietary model available under its provider's product and API terms, has 22.2B parameters.
- License
- MNPL-0.1
- Hosted access
- Parameters
- 22.2B
Codestral-22B resources
Official sources for Codestral-22B: provider documentation, official playground, official launch post, model weights.
Codestral-22B vs other models
The most-compared alternatives to Codestral-22B are Llama 3.1 70B Instruct, Nova Micro, Phi 4. Open any pair side-by-side for benchmarks, pricing, context, and latency.
Models like Codestral-22B
Models ranked just above and below Codestral-22B by LLM Stats score.
FAQ
Common questions about Codestral-22B.