The AI arena is free today

Open Superagent

Codestral-22B vs GPT-4 Turbo

Codestral-22B and GPT-4 Turbo are closely matched at 0.5 and 9.6 on the LLM Stats Score.

Mistral AI · OpenAI · Updated for 2026

Which is better?

Codestral-22B and GPT-4 Turbo are closely matched on the overall LLM Stats Score at 0.5 and 9.6.

In the 1 individual benchmarks reported for both models, GPT-4 Turbo 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 want the most recent training data — it shipped May 2024
  • you need open weights you can self-host or fine-tune

Choose GPT-4 Turbo

  • you value its reported benchmark strengths — it wins 1 of 1 exact shared results

At a glance

The differences that matter most.

Core performance indexes
0.5
#304
9.6
#250
0.4
#297
9.7
#242
2.6
#209
7.3
#171
Cost, coverage & limits
Benchmark wins
0 of 1
1 of 1
Input price
— / M
$10.00 / M
Output price
— / M
$30.00 / M
Context window
128,000

Individual benchmarks

7 reported for Codestral-22B · 6 for GPT-4 Turbo

1 shared

Codestral-22B outperforms in 0 benchmarks, while GPT-4 Turbo is better at 1 benchmark (HumanEval).

GPT-4 Turbo significantly outperforms across most benchmarks.

Fri Aug 28 2026 • llm-stats.com

Human preference

Blind head-to-head votes and playground preference scores

Context Window

Maximum input and output token capacity

Only GPT-4 Turbo specifies input context (128,000 tokens). Only GPT-4 Turbo specifies output context (4,096 tokens).

Mistral AI
Codestral-22B
Input- tokens
Output- tokens
OpenAI
GPT-4 Turbo
Input128,000 tokens
Output4,096 tokens
Fri Aug 28 2026 • llm-stats.com

License

Usage and distribution terms

Codestral-22B is licensed under MNPL-0.1, while GPT-4 Turbo 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-4 Turbo

Proprietary

Closed source

Release Timeline

When each model was launched

Codestral-22B was released on 2024-05-29, while GPT-4 Turbo was released on 2024-04-09.

Codestral-22B is 2 months newer than GPT-4 Turbo.

Codestral-22B

May 29, 2024

2.2 years ago

1mo newer
GPT-4 Turbo

Apr 9, 2024

2.4 years ago

Knowledge Cutoff

When training data ends

GPT-4 Turbo has a documented knowledge cutoff of 2023-12-31, while Codestral-22B's cutoff date is not specified.

We can confirm GPT-4 Turbo's training data extends to 2023-12-31, but cannot make a direct comparison without Codestral-22B's cutoff date.

Codestral-22B

GPT-4 Turbo

Dec 2023

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against Codestral-22B and GPT-4 Turbo side-by-side, then vote on the output you prefer.

Codestral-22B
✓ Preferred
GPT-4 Turbo
Open in Playground

FAQ

Common questions about Codestral-22B vs GPT-4 Turbo.

Which is better, Codestral-22B or GPT-4 Turbo?

Codestral-22B and GPT-4 Turbo are closely matched on the LLM Stats Score at 0.5 and 9.6. Codestral-22B is made by Mistral AI and GPT-4 Turbo is made by OpenAI. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does Codestral-22B compare to GPT-4 Turbo in benchmarks?

Codestral-22B scores HumanEvalFIM-Average: 91.6%, HumanEval: 81.1%, MBPP: 78.2%, Spider: 63.5%, HumanEval-Average: 61.5%. GPT-4 Turbo scores MGSM: 88.5%, HumanEval: 87.1%, MMLU: 86.5%, DROP: 86.0%, MATH: 72.6%.

What are the context window sizes for Codestral-22B and GPT-4 Turbo?

Codestral-22B supports an unknown number of tokens and GPT-4 Turbo supports 128K 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-4 Turbo?

Key differences include LLM Stats Score (0.5 vs 9.6), licensing (MNPL-0.1 vs Proprietary). See the full comparison above for benchmark-by-benchmark results.

Who makes Codestral-22B and GPT-4 Turbo?

Codestral-22B is developed by Mistral AI and GPT-4 Turbo is developed by OpenAI.