Model Comparison

Comprehensive side-by-side analysis of model capabilities and performance

Mistral AI

Codestral-22B

Mistral AI

Codestral-22B is a language model developed by Mistral AI. It achieves strong performance with an average score of 65.9% across 7 benchmarks. It excels particularly in HumanEvalFIM-Average (91.6%), HumanEval (81.1%), MBPP (78.2%). The model is available through 2 API providers. Released in 2024, it represents Mistral AI's latest advancement in AI technology.

Google

Gemma 3n E4B Instructed

Google

Gemma 3n E4B Instructed is a multimodal language model developed by Google. The model shows competitive results across 18 benchmarks. Notable strengths include HumanEval (75.0%), MGSM (67.0%), MMLU (64.9%). The model is available through 1 API provider. As a multimodal model, it can process and understand text, images, and other input formats seamlessly. Released in 2025, it represents Google's latest advancement in AI technology.

Mistral AI

Codestral-22B

Mistral AI

2024-05-29

Google

Gemma 3n E4B Instructed

Google

2025-06-26

1 year newer

Pricing Comparison

Cost per million tokens (USD)

Mistral AI

Codestral-22B

$59.20 cheaper
Input:$0.20
Output:$0.60
Google

Gemma 3n E4B Instructed

Input:$20.00
Output:$40.00

Performance Metrics

Context window and performance specifications

Mistral AI

Codestral-22B

Larger context
Max Context:65.5K
Parameters:22.2B
Google

Gemma 3n E4B Instructed

Max Context:64.0K
Parameters:8.0B

Average performance across 2 common benchmarks

Mistral AI

Codestral-22B

+10.3%
Average Score:79.7%
Google

Gemma 3n E4B Instructed

Average Score:69.3%

Performance comparison across key benchmark categories

Mistral AI

Codestral-22B

code
+32.3%
71.2%
general
34.0%
Google

Gemma 3n E4B Instructed

code
38.9%
general
+7.6%
41.6%
Benchmark Scores - Detailed View
Side-by-side comparison of all benchmark scores
Knowledge Cutoff
Training data recency comparison

Gemma 3n E4B Instructed

2024-06-01

More recent knowledge cutoff means awareness of newer technologies and frameworks

Provider Availability & Performance

Available providers and their performance metrics

Mistral AI

Codestral-22B

2 providers

Google

Throughput: 42 tok/s
Latency: 0.4ms

Mistral AI

Throughput: 0.1 tok/s
Latency: 0.5ms
Google

Gemma 3n E4B Instructed

1 providers

Together

Throughput: 42.09 tok/s
Latency: 0.43ms
Mistral AI

Codestral-22B

+10.3%
Avg Score:79.7%
Providers:2
Google

Gemma 3n E4B Instructed

Avg Score:69.3%
Providers:1