Model Comparison

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

Anthropic

Claude 3.5 Haiku

Anthropic

Claude 3.5 Haiku is a language model developed by Anthropic. It achieves strong performance with an average score of 60.8% across 9 benchmarks. It excels particularly in HumanEval (88.1%), MGSM (85.6%), DROP (83.1%). It supports a 400K token context window for handling large documents. The model is available through 3 API providers. Released in 2024, it represents Anthropic's latest advancement in AI technology.

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.

Mistral AI

Codestral-22B

Mistral AI

2024-05-29

Anthropic

Claude 3.5 Haiku

Anthropic

2024-10-22

4 months newer

Pricing Comparison

Cost per million tokens (USD)

Anthropic

Claude 3.5 Haiku

Input:$0.80
Output:$4.00
Mistral AI

Codestral-22B

$4.00 cheaper
Input:$0.20
Output:$0.60

Performance Metrics

Context window and performance specifications

Anthropic

Claude 3.5 Haiku

Larger context
Max Context:400.0K
Mistral AI

Codestral-22B

Max Context:65.5K
Parameters:22.2B

Average performance across 1 common benchmarks

Anthropic

Claude 3.5 Haiku

+7.0%
Average Score:88.1%
Mistral AI

Codestral-22B

Average Score:81.1%

Performance comparison across key benchmark categories

Anthropic

Claude 3.5 Haiku

code
+16.9%
88.1%
general
+23.6%
57.6%
Mistral AI

Codestral-22B

code
71.2%
general
34.0%
Benchmark Scores - Detailed View
Side-by-side comparison of all benchmark scores

Provider Availability & Performance

Available providers and their performance metrics

Anthropic

Claude 3.5 Haiku

3 providers

Google

Throughput: 42 tok/s
Latency: 0.4ms

Bedrock

Throughput: 104 tok/s
Latency: 0.5ms

Anthropic

Throughput: 100 tok/s
Latency: 0.3ms
Mistral AI

Codestral-22B

2 providers

Google

Throughput: 42 tok/s
Latency: 0.4ms

Mistral AI

Throughput: 0.1 tok/s
Latency: 0.5ms
Anthropic

Claude 3.5 Haiku

+7.0%
Avg Score:88.1%
Providers:3
Mistral AI

Codestral-22B

Avg Score:81.1%
Providers:2