The AI arena is free today

Open Superagent

Claude 3.5 Sonnet vs Phi 4

Claude 3.5 Sonnet leads the LLM Stats Score 19.1 to 5.4. Phi 4 is 68.6x cheaper per token.

Anthropic · Microsoft · Updated for 2026

Which is better?

Claude 3.5 Sonnet leads the overall LLM Stats Score 19.1 to 5.4, ranking #213 overall.

In the 7 individual benchmarks reported for both models, Claude 3.5 Sonnet wins 6; this is a narrower head-to-head signal than the composite indexes.

On price, Phi 4 is roughly 68.6x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Claude 3.5 Sonnet also accepts a larger context window (200,000 input tokens), making it the stronger choice for long documents and large codebases.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose Claude 3.5 Sonnet

  • overall performance matters — it scores 19.1 and ranks #213 on LLM Stats
  • your work emphasizes reasoning — it leads those capability indexes
  • you value its reported benchmark strengths — it wins 6 of 7 exact shared results
  • you process long inputs — it offers a 200,000 token context window

Choose Phi 4

  • cost matters — it's about 68.6x cheaper per token
  • you want the most recent training data — it shipped Dec 2024
  • you need open weights you can self-host or fine-tune

At a glance

The differences that matter most.

Core performance indexes
19.1
#213
5.4
#302
20.1
#195
6.5
#293
11.4
#161
3.4
#223
Cost, coverage & limits
Benchmark wins
6 of 7
1 of 7
Input price
$3.00 / M
$0.07 / M
Output price
$15.00 / M
$0.14 / M
Context window
200,000
16,384

Capability indexes

Additional strengths measured across groups of related public benchmarks

3 shared
Index
Claude 3.5 Sonnet
Phi 4
23.2#133
12.8#231
23.3#69
12.9#137
23.3#57
12.9#121
Conservative TrueSkill rating · higher is betterHow scores work

Individual benchmarks

19 reported for Claude 3.5 Sonnet · 13 for Phi 4

7 shared

Claude 3.5 Sonnet outperforms in 6 benchmarks (DROP, GPQA, HumanEval, MGSM, MMLU, MMLU-Pro), while Phi 4 is better at 1 benchmark (MATH).

Claude 3.5 Sonnet significantly outperforms across most benchmarks.

Sat Sep 26 2026 • llm-stats.com

Human preference

Blind head-to-head votes and playground preference scores

Pricing Analysis

Price comparison per million tokens

Phi 4 costs less

For input processing, Claude 3.5 Sonnet ($3.00/1M tokens) is 42.9x more expensive than Phi 4 ($0.07/1M tokens).

For output processing, Claude 3.5 Sonnet ($15.00/1M tokens) is 107.1x more expensive than Phi 4 ($0.14/1M tokens).

In conclusion, Claude 3.5 Sonnet is more expensive than Phi 4.*

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

Lowest available price from all providers
Sat Sep 26 2026 • llm-stats.com
Anthropic
Claude 3.5 Sonnet
Input tokens$3.00
Output tokens$15.00
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.5 Sonnet accepts 200,000 input tokens compared to Phi 4's 16,384 tokens. Claude 3.5 Sonnet can generate longer responses up to 200,000 tokens, while Phi 4 is limited to 16,384 tokens.

Anthropic
Claude 3.5 Sonnet
Input200,000 tokens
Output200,000 tokens
Microsoft
Phi 4
Input16,384 tokens
Output16,384 tokens
Sat Sep 26 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Claude 3.5 Sonnet supports multimodal inputs, whereas Phi 4 does not.

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

Claude 3.5 Sonnet

Text
Images
Audio
Video

Phi 4

Text
Images
Audio
Video

License

Usage and distribution terms

Claude 3.5 Sonnet 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.5 Sonnet

Proprietary

Closed source

Phi 4

MIT

Open weights

Release Timeline

When each model was launched

Claude 3.5 Sonnet was released on 2024-10-22, while Phi 4 was released on 2024-12-12.

Phi 4 is 2 months newer than Claude 3.5 Sonnet.

Claude 3.5 Sonnet

Oct 22, 2024

1.9 years ago

Phi 4

Dec 12, 2024

1.8 years ago

1mo newer

Knowledge Cutoff

When training data ends

Phi 4 has a documented knowledge cutoff of 2024-06-01, while Claude 3.5 Sonnet'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.5 Sonnet's cutoff date.

Claude 3.5 Sonnet

—

Phi 4

Jun 2024

Provider Availability

Claude 3.5 Sonnet is available from Anthropic, Bedrock, Google. Phi 4 is available from DeepInfra.

Claude 3.5 Sonnet

anthropic logo
Anthropic
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
bedrock logo
AWS Bedrock
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
google logo
Google
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/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→

Judge for yourself.

Run your own prompts against Claude 3.5 Sonnet and Phi 4 side-by-side, then vote on the output you prefer.

Claude 3.5 Sonnet
✓ Preferred
Phi 4
Open in Playground

FAQ

Common questions about Claude 3.5 Sonnet vs Phi 4.

Which is better, Claude 3.5 Sonnet or Phi 4?

Claude 3.5 Sonnet leads the LLM Stats Score 19.1 to 5.4. Claude 3.5 Sonnet is made by Anthropic and Phi 4 is made by Microsoft. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does Claude 3.5 Sonnet compare to Phi 4 in benchmarks?

Claude 3.5 Sonnet scores GSM8k: 96.4%, DocVQA: 95.2%, AI2D: 94.7%, HumanEval: 93.7%, BIG-Bench Hard: 93.1%. Phi 4 scores MMLU: 84.8%, HumanEval+: 82.8%, HumanEval: 82.6%, MGSM: 80.6%, MATH: 80.4%.

Is Claude 3.5 Sonnet cheaper than Phi 4?

Phi 4 is 42.9x cheaper for input tokens. Claude 3.5 Sonnet costs $3.00/M input and $15.00/M output via anthropic. Phi 4 costs $0.07/M input and $0.14/M output via deepinfra.

What are the context window sizes for Claude 3.5 Sonnet and Phi 4?

Claude 3.5 Sonnet 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.

What are the main differences between Claude 3.5 Sonnet and Phi 4?

Key differences include LLM Stats Score (19.1 vs 5.4), context window (200K vs 16K), input pricing ($3.00 vs $0.07/M), multimodal support (yes vs no), licensing (Proprietary vs MIT). See the full comparison above for benchmark-by-benchmark results.

Who makes Claude 3.5 Sonnet and Phi 4?

Claude 3.5 Sonnet is developed by Anthropic and Phi 4 is developed by Microsoft.