Codestral-22B vs GPT-4 Comparison

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

Performance Benchmarks

Comparative analysis across standard metrics

1 benchmarks

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

Codestral-22B significantly outperforms across most benchmarks.

Wed Mar 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
Wed Mar 18 2026 • llm-stats.com
Mistral AI
Codestral-22B
Input tokens$0.00
Output tokens$0.00
Best providerUnknown Organization
OpenAI
GPT-4
Input tokens$30.00
Output tokens$60.00
Best providerAzure
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).

Mistral AI
Codestral-22B
Input- tokens
Output- tokens
OpenAI
GPT-4
Input32,768 tokens
Output32,768 tokens
Wed Mar 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.

Codestral-22B

Text
Images
Audio
Video

GPT-4

Text
Images
Audio
Video

License

Usage and distribution terms

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

Proprietary

Closed source

Release Timeline

When each model was launched

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

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

Codestral-22B

May 29, 2024

1.8 years ago

11mo newer
GPT-4

Jun 13, 2023

2.8 years ago

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.

Codestral-22B

GPT-4

Dec 2022

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

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

Detailed Comparison

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