The AI arena is free today

Open Superagent
MistralReleased on May 29, 2024

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

LLM Stats Logollm-stats.com - Fri Dec 04 2026

Benchmark Scores

Every benchmark Codestral-22B has been evaluated on, with rank and source.

BenchmarkRankScoreSource

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 (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.

Notice missing or incorrect data?

Try now

huggle
Codestral-22Bin Huggle

Make it with
Codestral-22B.

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.

 

Llama 3.1 70B Instruct

Score pending
 

Nova Micro

Score pending
 

Phi 4

Score pending
 

Llama 4 Maverick

Score pending
 

Qwen2 72B Instruct

Score pending
 

IBM Granite 4.0 Tiny Preview

Score pending

FAQ

Common questions about Codestral-22B.

When was Codestral-22B released?

Codestral-22B was released on May 29, 2024 by Mistral. This is the official Codestral-22B release date tracked on LLM Stats.

How big is Codestral-22B?

Codestral-22B has 22.2 billion parameters.

Who created Codestral-22B?

Codestral-22B was created by Mistral.

What is the license for Codestral-22B?

Codestral-22B is released under the MNPL-0.1 license.

Where is the Codestral-22B paper or technical report?

Codestral-22B has a paper or technical report available at https://mistral.ai/news/codestral/. Use that source for architecture, training, release and evaluation details.

What models should I compare Codestral-22B against?

Common Codestral-22B comparisons include Codestral-22B vs Llama 3.1 70B Instruct, Codestral-22B vs Nova Micro, Codestral-22B vs Phi 4. Compare them side by side for benchmark scores, pricing, context window, latency and provider availability.