Model Comparison

GPT-4 vs Codestral-22B

Codestral-22B significantly outperforms across most benchmarks.

Performance Benchmarks

Comparative analysis across standard metrics

1 benchmarks

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

Codestral-22B significantly outperforms across most benchmarks.

Sat Apr 18 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Cost data unavailable.

Lowest available price from all providers
Sat Apr 18 2026 • llm-stats.com
OpenAI
GPT-4
Input tokens$30.00
Output tokens$60.00
Best providerAzure
Mistral AI
Codestral-22B
Input tokens$0.00
Output tokens$0.00
Best providerUnknown Organization
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Only GPT-4 specifies input context (32,768 tokens). Only GPT-4 specifies output context (32,768 tokens).

OpenAI
GPT-4
Input32,768 tokens
Output32,768 tokens
Mistral AI
Codestral-22B
Input- tokens
Output- tokens
Sat Apr 18 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

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

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

GPT-4

Text
Images
Audio
Video

Codestral-22B

Text
Images
Audio
Video

License

Usage and distribution terms

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

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

GPT-4

Proprietary

Closed source

Codestral-22B

MNPL-0.1

Open weights

Release Timeline

When each model was launched

GPT-4 was released on 2023-06-13, while Codestral-22B was released on 2024-05-29.

Codestral-22B is 12 months newer than GPT-4.

GPT-4

Jun 13, 2023

2.8 years ago

Codestral-22B

May 29, 2024

1.9 years ago

11mo newer

Knowledge Cutoff

When training data ends

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

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

GPT-4

Dec 2022

Codestral-22B

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Larger context window (32,768 tokens)
Supports multimodal inputs
Has open weights
Higher HumanEval score (81.1% vs 67.0%)

Detailed Comparison

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

FAQ

Common questions about GPT-4 vs Codestral-22B

Codestral-22B significantly outperforms across most benchmarks. GPT-4 is made by OpenAI and Codestral-22B is made by Mistral AI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.
GPT-4 scores AI2 Reasoning Challenge (ARC): 96.3%, HellaSwag: 95.3%, Uniform Bar Exam: 90.0%, SAT Math: 89.0%, LSAT: 88.0%. Codestral-22B scores HumanEvalFIM-Average: 91.6%, HumanEval: 81.1%, MBPP: 78.2%, Spider: 63.5%, HumanEval-Average: 61.5%.
GPT-4 supports 33K tokens and Codestral-22B supports an unknown number of tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.
Key differences include multimodal support (yes vs no), licensing (Proprietary vs MNPL-0.1). See the full comparison above for benchmark-by-benchmark results.
GPT-4 is developed by OpenAI and Codestral-22B is developed by Mistral AI.