Model Comparison

Claude 3 Haiku vs Phi 4

Phi 4 significantly outperforms across most benchmarks. Phi 4 is 5.7x cheaper per token.

Performance Benchmarks

Comparative analysis across standard metrics

6 benchmarks

Claude 3 Haiku outperforms in 1 benchmarks (DROP), while Phi 4 is better at 5 benchmarks (GPQA, HumanEval, MATH, MGSM, MMLU).

Phi 4 significantly outperforms across most benchmarks.

Sat Apr 18 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Phi 4 costs less

For input processing, Claude 3 Haiku ($0.25/1M tokens) is 3.6x more expensive than Phi 4 ($0.07/1M tokens).

For output processing, Claude 3 Haiku ($1.25/1M tokens) is 8.9x more expensive than Phi 4 ($0.14/1M tokens).

In conclusion, Claude 3 Haiku is more expensive than Phi 4.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Sat Apr 18 2026 • llm-stats.com
Anthropic
Claude 3 Haiku
Input tokens$0.25
Output tokens$1.25
Best providerAnthropic
Microsoft
Phi 4
Input tokens$0.07
Output tokens$0.14
Best providerDeepinfra
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Claude 3 Haiku accepts 200,000 input tokens compared to Phi 4's 16,000 tokens. Claude 3 Haiku can generate longer responses up to 200,000 tokens, while Phi 4 is limited to 16,000 tokens.

Anthropic
Claude 3 Haiku
Input200,000 tokens
Output200,000 tokens
Microsoft
Phi 4
Input16,000 tokens
Output16,000 tokens
Sat Apr 18 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Claude 3 Haiku supports multimodal inputs, whereas Phi 4 does not.

Claude 3 Haiku can handle both text and other forms of data like images, making it suitable for multimodal applications.

Claude 3 Haiku

Text
Images
Audio
Video

Phi 4

Text
Images
Audio
Video

License

Usage and distribution terms

Claude 3 Haiku is licensed under a proprietary license, while Phi 4 uses MIT.

License differences may affect how you can use these models in commercial or open-source projects.

Claude 3 Haiku

Proprietary

Closed source

Phi 4

MIT

Open weights

Release Timeline

When each model was launched

Claude 3 Haiku was released on 2024-03-13, while Phi 4 was released on 2024-12-12.

Phi 4 is 9 months newer than Claude 3 Haiku.

Claude 3 Haiku

Mar 13, 2024

2.1 years ago

Phi 4

Dec 12, 2024

1.3 years ago

9mo newer

Knowledge Cutoff

When training data ends

Phi 4 has a documented knowledge cutoff of 2024-06-01, while Claude 3 Haiku's cutoff date is not specified.

We can confirm Phi 4's training data extends to 2024-06-01, but cannot make a direct comparison without Claude 3 Haiku's cutoff date.

Claude 3 Haiku

Phi 4

Jun 2024

Provider Availability

Claude 3 Haiku is available from Anthropic, Bedrock, Google. Phi 4 is available from DeepInfra.

Claude 3 Haiku

anthropic logo
Anthropic
Input Price:Input: $0.25/1MOutput Price:Output: $1.25/1M
bedrock logo
AWS Bedrock
Input Price:Input: $0.25/1MOutput Price:Output: $1.25/1M
google logo
Google
Input Price:Input: $0.25/1MOutput Price:Output: $1.25/1M

Phi 4

deepinfra logo
Deepinfra
Input Price:Input: $0.07/1MOutput Price:Output: $0.14/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Larger context window (200,000 tokens)
Supports multimodal inputs
Higher DROP score (78.4% vs 75.5%)
Less expensive input tokens
Less expensive output tokens
Has open weights
Higher GPQA score (56.1% vs 33.3%)
Higher HumanEval score (82.6% vs 75.9%)
Higher MATH score (80.4% vs 38.9%)
Higher MGSM score (80.6% vs 75.1%)
Higher MMLU score (84.8% vs 75.2%)

Detailed Comparison

AI Model Comparison Table
Feature
Anthropic
Claude 3 Haiku
Microsoft
Phi 4

FAQ

Common questions about Claude 3 Haiku vs Phi 4

Phi 4 significantly outperforms across most benchmarks. Claude 3 Haiku is made by Anthropic and Phi 4 is made by Microsoft. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.
Claude 3 Haiku scores ARC-C: 89.2%, GSM8k: 88.9%, HellaSwag: 85.9%, DROP: 78.4%, HumanEval: 75.9%. Phi 4 scores MMLU: 84.8%, HumanEval+: 82.8%, HumanEval: 82.6%, MGSM: 80.6%, MATH: 80.4%.
Phi 4 is 3.6x cheaper for input tokens. Claude 3 Haiku costs $0.25/M input and $1.25/M output via anthropic. Phi 4 costs $0.07/M input and $0.14/M output via deepinfra.
Claude 3 Haiku supports 200K tokens and Phi 4 supports 16K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.
Key differences include context window (200K vs 16K), input pricing ($0.25 vs $0.07/M), multimodal support (yes vs no), licensing (Proprietary vs MIT). See the full comparison above for benchmark-by-benchmark results.
Claude 3 Haiku is developed by Anthropic and Phi 4 is developed by Microsoft.