All Comparisons

Codestral-22B vs GPT-4o

Codestral-22B
Mistral AI 🇫🇷
GPT-4o
OpenAI 🇺🇸
58.1
#150—
high
$2.50/M in · $10.00/M out
128K context
Most Affordable
GPT-4o
$2.50/M input
Largest Context
GPT-4o
128K tokens
Best Benchmark Score
GPT-4o
58.1/100

Model Specifications

SpecCodestral-22BGPT-4o
ProviderMistral AIOpenAI
Release DateMay 2024May 2024
Knowledge Cutoff—Oct 2023
Parameters22200000000Bunknown
Context Window—128K
Max Output——
Open SourceYesNo
Licensemnpl_0_1proprietary
Tokenizer——
Modality——
Reasoning ModelNoNo
ModeratedNoNo

Pricing Comparison

Price (per 1M tokens)Codestral-22BGPT-4o
Input—$2.50
Output—$10.00

API Provider Pricing

Capabilities

FeatureCodestral-22BGPT-4o
Text Input
Image Input (Vision)
Audio Input
Video Input
File Input
Image Output
Audio Output
Tool Use
Structured Output (JSON)
Streaming
Reasoning Tokens
Web Search
Temperature Control
Top-P Sampling
Stop Sequences
Seed (Reproducibility)
Log Probabilities

Category Comparison

Benchmark-by-Benchmark

general

BenchmarkCodestral-22BGPT-4o
MMLU-Pro—
74.5
IFEval—
83.6
Chatbot Arena Elo—
1285

coding

BenchmarkCodestral-22BGPT-4o
HumanEval—
90.2
SWE-bench Verified—
33.2

math

BenchmarkCodestral-22BGPT-4o
AIME 2024—
13.4
GSM8K—
95.8
MATH—
76.6

reasoning

BenchmarkCodestral-22BGPT-4o
GPQA Diamond—
53.6
ARC-Challenge—
96.4
BigBench-Hard—
87.3

language

BenchmarkCodestral-22BGPT-4o
HellaSwag—
96.4
WinoGrande—
85.7

multimodal

BenchmarkCodestral-22BGPT-4o
MMMU—
69.1

safety

BenchmarkCodestral-22BGPT-4o
TruthfulQA—
73.5

Category Winners

coding
GPT-4o
38.2
math
GPT-4o
54.5
reasoning
GPT-4o
54.2
general
GPT-4o
70.5
language
GPT-4o
79.9
multimodal
GPT-4o
52.9
safety
GPT-4o
94.3

Compare More Models

Frequently Asked Questions