Skip to main content
Legacy modelMistral AI

Codestral 22B benchmarks, pricing and specs

Codestral 22B is a Mistral AI model released on May 29, 2024 that takes text input and produces text. It is now listed as a legacy model. Its price is not published and accepts up to 32,000 tokens of context.

Context window
32K

Data verified August 6, 2026 · Dataset 2026-10-12

Share this

Key facts

Provider
Mistral AI
Model family
Codestral
Release date
May 29, 2024
Status
Legacy
Access
API and open weights
API model id
Not reported
Context window
32,000 tokens
Max output
Not reported
Input
text
Output
text
Task families
text
Declared capabilities
reasoning

Codestral 22B pricing

UnitPrice (USD)TierAppliesSource
1M input tokensNot reportedstandardCurrent
1M output tokensNot reportedstandardCurrent
1M input tokensNot reportedcachedCurrent

Independent benchmark results

Scores come from independent evaluators that ran the model themselves, pinned to a dated snapshot. Rank is among current models in the same snapshot. Mistral AI's own launch figures are listed under strengths with the publisher named, because they are not measured the same way.

No independent benchmark has published a result for Codestral 22B yet. It is still compared below on price, context and capabilities.

Strengths, cautions and best uses

Strengths

  • Codestral 22B records both API and open-weight access for text inputs and a published 32,000-token context window

Cautions

  • This record is marked legacy; confirm current availability and migration requirements before adoption

Best for

  • Code-generation trials with API or open-weight deployment

Alternatives to Codestral 22B

The closest current textmodels by price. The cheapest model that scores as well or better is listed first; failing that, the cheapest one within 3% of the benchmark's scale.

Codestral 22B FAQ

What is the context window of Codestral 22B?

Codestral 22B accepts up to 32,000 tokens of context. That ranks #45 of 45 current text models by context length.

Is Codestral 22B open source or API only?

Codestral 22B is available both through Mistral AI's API and as open weights you can run yourself.

What are the best alternatives to Codestral 22B?

The closest current alternatives by price and measured performance are DeepSeek-R1 (128K context window vs 32K), Qwen2.5-VL 72B Instruct (128K context window vs 32K), Gemini 2.5 Pro (1.05M context window vs 32K) and Kimi-VL-A3B-Instruct (128K context window vs 32K).

Sources

Cite this page

Van Data Team. "Codestral 22B Benchmarks, Pricing and Specs." AI Model Benchmark Dataset 2026-10-12. https://vandatateam.com/ai-model-benchmarks/codestral-22b

Reuse the data: JSON · CSV · or explore every model in the AI model benchmark comparison.

Production evaluation

Deciding whether Codestral 22B fits your workload?

Public benchmarks narrow the shortlist. We test the finalists on your own tasks, data and cost limits, then build the routing and review controls to run the winner in production.

  • Evaluation cases and acceptance thresholds tied to real work
  • Model routing, fallbacks and cost controls