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.

Microsoft

Phi 4

Microsoft

Phi 4 is a language model developed by Microsoft. It achieves strong performance with an average score of 66.0% across 13 benchmarks. It excels particularly in MMLU (84.8%), HumanEval+ (82.8%), HumanEval (82.6%). The model shows particular specialization in math tasks with an average performance of 80.5%. The model is available through 1 API provider. It's licensed for commercial use, making it suitable for enterprise applications. Released in 2024, it represents Microsoft's latest advancement in AI technology.

Anthropic

Claude 3.5 Haiku

Anthropic

2024-10-22

Microsoft

Phi 4

Microsoft

2024-12-12

1 month newer

Pricing Comparison

Cost per million tokens (USD)

Anthropic

Claude 3.5 Haiku

Input:$0.80
Output:$4.00
Microsoft

Phi 4

$4.59 cheaper
Input:$0.07
Output:$0.14

Performance Metrics

Context window and performance specifications

Anthropic

Claude 3.5 Haiku

Larger context
Max Context:400.0K
Microsoft

Phi 4

Max Context:32.0K
Parameters:14.7B

Average performance across 6 common benchmarks

Anthropic

Claude 3.5 Haiku

Average Score:72.1%
Microsoft

Phi 4

+2.1%
Average Score:74.3%

Performance comparison across key benchmark categories

Anthropic

Claude 3.5 Haiku

code
+12.0%
88.1%
math
77.5%
general
57.6%
Microsoft

Phi 4

code
76.1%
math
+3.0%
80.5%
general
+2.6%
60.2%
Benchmark Scores - Detailed View
Side-by-side comparison of all benchmark scores
Knowledge Cutoff
Training data recency comparison

Phi 4

2024-06-01

More recent knowledge cutoff means awareness of newer technologies and frameworks

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
Microsoft

Phi 4

1 providers

DeepInfra

Throughput: 33 tok/s
Latency: 0.2ms
Anthropic

Claude 3.5 Haiku

Avg Score:72.1%
Providers:3
Microsoft

Phi 4

+2.1%
Avg Score:74.3%
Providers:1