All Comparisons

Codestral-22B vs GPT-4.1

Codestral-22B
Mistral AI 🇫🇷
GPT-4.1
OpenAI 🇺🇸
32.8
#238
high
$2.00/M in · $8.00/M out
1.0M context
Most Affordable
GPT-4.1
$2.00/M input
Largest Context
GPT-4.1
1.0M tokens
Best Benchmark Score
GPT-4.1
32.8/100

Model Specifications

SpecCodestral-22BGPT-4.1
ProviderMistral AIOpenAI
Release DateMay 2024Apr 2025
Knowledge Cutoff2024-06-01
Parameters22200000000BUndisclosed
Context Window1.0M
Max Output
Open SourceYesNo
Licensemnpl_0_1proprietary
Tokenizer
Modality
Reasoning ModelNoNo
ModeratedNoNo

Pricing Comparison

Price (per 1M tokens)Codestral-22BGPT-4.1
Input$2.00
Output$8.00

API Provider Pricing

Capabilities

FeatureCodestral-22BGPT-4.1
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-4.1
MMMLU
87.3

coding

BenchmarkCodestral-22BGPT-4.1
SWE-bench Verified
54.6

math

BenchmarkCodestral-22BGPT-4.1
AIME 2025
46.4

reasoning

BenchmarkCodestral-22BGPT-4.1
GPQA Diamond
66.3
Humanity's Last Exam
5.4

multimodal

BenchmarkCodestral-22BGPT-4.1
MMMU
74.8
CharXiv Reasoning
56.7

agent

BenchmarkCodestral-22BGPT-4.1
TAU-Bench Retail
68

Category Winners

coding
GPT-4.1
25.1
math
GPT-4.1
6.0
reasoning
GPT-4.1
27.5
general
GPT-4.1
66.0
multimodal
GPT-4.1
40.2
agent
GPT-4.1
50.7

Compare More Models

Frequently Asked Questions