Model Comparison

Codestral-22B vs GPT-5 miniWhich is better in 2026?

Comparing Codestral-22B and GPT-5 mini across benchmarks, pricing, and capabilities.

Verdict: Codestral-22B vs GPT-5 mini — which is better?

Codestral-22B (by Mistral AI) and GPT-5 mini (by OpenAI) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

Choose Codestral-22B if…

  • you need open weights you can self-host or fine-tune

Choose GPT-5 mini if…

  • you want the most recent training data — it shipped Aug 2025

Performance Benchmarks

Comparative analysis across standard metrics

No common benchmarks found

Codestral-22B and GPT-5 minidon't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.

Arena Performance

Human preference votes

Context Window

Maximum input and output token capacity

Only GPT-5 mini specifies input context (400,000 tokens). Only GPT-5 mini specifies output context (128,000 tokens).

Mistral AI
Codestral-22B
Input- tokens
Output- tokens
OpenAI
GPT-5 mini
Input400,000 tokens
Output128,000 tokens
Thu Jun 11 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

GPT-5 mini supports multimodal inputs, whereas Codestral-22B does not.

GPT-5 mini can handle both text and other forms of data like images, making it suitable for multimodal applications.

Codestral-22B

Text
Images
Audio
Video

GPT-5 mini

Text
Images
Audio
Video

License

Usage and distribution terms

Codestral-22B is licensed under MNPL-0.1, while GPT-5 mini uses a proprietary license.

License differences may affect how you can use these models in commercial or open-source projects.

Codestral-22B

MNPL-0.1

Open weights

GPT-5 mini

Proprietary

Closed source

Release Timeline

When each model was launched

Codestral-22B was released on 2024-05-29, while GPT-5 mini was released on 2025-08-07.

GPT-5 mini is 15 months newer than Codestral-22B.

Codestral-22B

May 29, 2024

2.0 years ago

GPT-5 mini

Aug 7, 2025

10 months ago

1.2yr newer

Knowledge Cutoff

When training data ends

GPT-5 mini has a documented knowledge cutoff of 2024-05-30, while Codestral-22B's cutoff date is not specified.

We can confirm GPT-5 mini's training data extends to 2024-05-30, but cannot make a direct comparison without Codestral-22B's cutoff date.

Codestral-22B

GPT-5 mini

May 2024

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Has open weights
Larger context window (400,000 tokens)
Supports multimodal inputs

Detailed Comparison

AI Model Comparison Table
Feature
Mistral AI
Codestral-22B
OpenAI
GPT-5 mini

FAQ

Common questions about Codestral-22B vs GPT-5 mini.

Which is better, Codestral-22B or GPT-5 mini?

Codestral-22B (Mistral AI) and GPT-5 mini (OpenAI) each have strengths in different areas. Compare their benchmark scores, pricing, context windows, and capabilities above to determine which fits your needs.

How does Codestral-22B compare to GPT-5 mini in benchmarks?

Codestral-22B scores HumanEvalFIM-Average: 91.6%, HumanEval: 81.1%, MBPP: 78.2%, Spider: 63.5%, HumanEval-Average: 61.5%. GPT-5 mini scores AIME 2025: 91.1%, HMMT 2025: 87.8%, GPQA: 82.3%, FrontierMath: 22.1%, Humanity's Last Exam: 16.7%.

What are the context window sizes for Codestral-22B and GPT-5 mini?

Codestral-22B supports an unknown number of tokens and GPT-5 mini supports 400K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Codestral-22B and GPT-5 mini?

Key differences include multimodal support (no vs yes), licensing (MNPL-0.1 vs Proprietary). See the full comparison above for benchmark-by-benchmark results.

Who makes Codestral-22B and GPT-5 mini?

Codestral-22B is developed by Mistral AI and GPT-5 mini is developed by OpenAI.