Codestral-22B vs GPT-4o mini
Codestral-22B and GPT-4o mini are closely matched at 0.2 and 3.9 on the LLM Stats Score.
Mistral AI · OpenAI · Updated for 2026
Which is better?
Codestral-22B and GPT-4o mini are closely matched on the overall LLM Stats Score at 0.2 and 3.9.
In the 1 individual benchmarks reported for both models, GPT-4o mini wins 1; this is a narrower head-to-head signal than the composite indexes.
Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.
Choose Codestral-22B
- you need open weights you can self-host or fine-tune
Choose GPT-4o mini
- you value its reported benchmark strengths — it wins 1 of 1 exact shared results
- you want the most recent training data — it shipped Jul 2024
At a glance
The differences that matter most.
Individual benchmarks
7 reported for Codestral-22B · 9 for GPT-4o mini
Codestral-22B outperforms in 0 benchmarks, while GPT-4o mini is better at 1 benchmark (HumanEval).
GPT-4o mini significantly outperforms across most benchmarks.
Human preference
Blind head-to-head votes and playground preference scores
Context Window
Maximum input and output token capacity
Only GPT-4o mini specifies input context (128,000 tokens). Only GPT-4o mini specifies output context (16,384 tokens).
Input capabilities
Documented input modalities across available providers
GPT-4o mini supports multimodal inputs, whereas Codestral-22B does not.
GPT-4o mini can handle both text and other forms of data like images, making it suitable for multimodal applications.
Codestral-22B
GPT-4o mini
License
Usage and distribution terms
Codestral-22B is licensed under MNPL-0.1, while GPT-4o mini uses a proprietary license.
License differences may affect how you can use these models in commercial or open-source projects.
MNPL-0.1
Open weights
Proprietary
Closed source
Release Timeline
When each model was launched
Codestral-22B was released on 2024-05-29, while GPT-4o mini was released on 2024-07-18.
GPT-4o mini is 2 months newer than Codestral-22B.
May 29, 2024
2.3 years ago
Jul 18, 2024
2.1 years ago
1mo newerKnowledge Cutoff
When training data ends
GPT-4o mini has a documented knowledge cutoff of 2023-10-01, while Codestral-22B's cutoff date is not specified.
We can confirm GPT-4o mini's training data extends to 2023-10-01, but cannot make a direct comparison without Codestral-22B's cutoff date.
—
Oct 2023
Outputs Comparison
Judge for yourself.
Run your own prompts against Codestral-22B and GPT-4o mini side-by-side, then vote on the output you prefer.
FAQ
Common questions about Codestral-22B vs GPT-4o mini.