MistralReleased on May 29, 2024

Codestral-22B: API Pricing, Context Window & Benchmarks

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

Rankings

Quality Tracker

Codestral-22B Performance Across Datasets

Scores sourced from the model's scorecard, paper, or official blog posts

LLM Stats Logollm-stats.com - Tue Jul 21 2026
Notice missing or incorrect data?

Codestral-22B API

Available from the model provider

Codestral-22B has an official provider API. It is not currently routed through the LLM Stats gateway.

Read the official API documentation

Codestral-22B latency

Codestral-22B time to first token, sustained output throughput, and failed-request rate from live API traffic 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: api 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.

Is Codestral-22B available via API?

Yes, Codestral-22B is available via API. See the official documentation for authentication and endpoint details.

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 API availability.