# Claude Sonnet 4.5 vs Phi-4

> Claude Sonnet 4.5 is the stronger model overall, scoring 44.1 to 31.2 on the Noometry Index. Phi-4 costs 69× less per token, which makes it the better buy when Claude Sonnet 4.5's lead doesn't matter for your workload.

- Canonical page: https://noometry.com/compare/claude-sonnet-4-5-vs-phi-4
- Last updated: 2026-10-11
- Shared benchmarks: 24

## Summary

- They share 24 benchmarks with published results for both. Claude Sonnet 4.5 scores higher in 9 categories and Phi-4 in 0 categories; 9 gaps are clear of the uncertainty.
- The widest gap is in writing & preference, where Claude Sonnet 4.5 leads 66.5 to 40.5.
- The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 77.8% for Claude Sonnet 4.5 and 13.8% for Phi-4.
- Phi-4 is cheaper at $0.07 / $0.14 per million input/output tokens, against $3 / $15 for Claude Sonnet 4.5.
- Claude Sonnet 4.5 accepts more context: 200K tokens versus 128K.
- Phi-4 has downloadable open weights; the other is API-only.

## Snapshot

| | Claude Sonnet 4.5 | Phi-4 |
|---|---|---|
| Provider | Anthropic | Microsoft |
| Noometry Index | 44.1 | 31.2 |
| Rank | 81 | 279 |
| Context | 200K | 128K |
| Input $/M | $3 | $0.07 |
| Output $/M | $15 | $0.14 |
| Weights | Proprietary | Open |

## Coding

- Claude Sonnet 4.5: 47.3 (#61)
- Phi-4: 34.4 (#239)

| Benchmark | Claude Sonnet 4.5 | Phi-4 |
|---|---|---|
| LMArena Coding | 1489 | 1231 |
| SWE-bench Verified | 71.3% | — |
| SWE-bench Verified (bash only) | 71.4% | — |
| LMArena WebDev | 1393 | — |
| SWE-bench Multilingual | 67% | — |
| SciCode | 44.7% | — |
| GSO | 14.7% | — |
| WeirdML | 47.7% | — |
| BigCodeBench Instruct | — | 45.5% |
| LiveBench Coding | — | 30.7% |
| BigCodeBench Complete | — | 55.4% |
| ALE-Bench | 796.15 | — |
| AlgoTune | 1.52 | — |

## Agentic & Tool Use

- Claude Sonnet 4.5: 38.3 (#32)
- Phi-4: 22.8 (#128)

| Benchmark | Claude Sonnet 4.5 | Phi-4 |
|---|---|---|
| Berkeley Function Calling Leaderboard | 73.2% | 28.8% |
| Terminal-Bench | 46.5% | — |
| GDPval | 42.5% | — |
| Remote Labor Index | 2.1% | — |
| τ²-bench Airline | 72% | — |
| τ²-bench Banking | 25.3% | — |
| τ²-bench Retail | 72.4% | — |
| τ²-bench Telecom | 84.9% | — |
| Cybench | 60% | — |
| DeepResearch Bench | 52.6% | — |
| OSWorld | 62.9% | — |
| BALROG | — | 11.6% |
| LMArena Search | 1159 | — |
| METR Time Horizons | 67.4% | — |
| Vending-Bench 2 | 3,839 | — |

## Reasoning

- Claude Sonnet 4.5: 26.9 (#125)
- Phi-4: 17.7 (#291)

| Benchmark | Claude Sonnet 4.5 | Phi-4 |
|---|---|---|
| Chess Puzzles | 12% | 1% |
| LMArena Hard Prompts | 1462 | 1220 |
| Epoch Capabilities Index | 146.84 | 130.42 |
| ARC-AGI-2 | 13.6% | — |
| SimpleBench | 54.3% | — |
| Kagi LLM Benchmark | 57.9% | — |
| NYT Connections (extended) | 37.3% | — |
| ARC-AGI-1 | 63.7% | — |
| CritPt | 1.1% | — |
| EnigmaEval | 6% | — |
| EBR-Bench | 2.4% | — |
| LiveBench Reasoning | — | 47.8% |
| Mystery Game Puzzles | 17% | — |
| DTBench | 83.2% | — |
| LiveBench Data Analysis | — | 45.2% |
| LMCA | 38.8% | — |
| ForecastBench | 61.9 | — |
| LiveBench | — | 41.6% |

## Math

- Claude Sonnet 4.5: 32.3 (#216)
- Phi-4: 20.8 (#285)

| Benchmark | Claude Sonnet 4.5 | Phi-4 |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 77.8% | 13.8% |
| LMArena Math | 1449 | 1246 |
| MATH Level 5 | 97.7% | 64.9% |
| FrontierMath (Tiers 1-3) | 23.9% | — |
| FrontierMath Tier 4 | 2.4% | — |
| ProofBench | 19% | — |
| Omni-MATH | 55.3% | — |
| LiveBench Math | — | 42% |
| FrontierMath (Feb 2025 set) | 15.2% | — |
| FrontierMath Tier 4 (v1) | 4.2% | — |

## Knowledge

- Claude Sonnet 4.5: 48.4 (#76)
- Phi-4: 32.6 (#209)

| Benchmark | Claude Sonnet 4.5 | Phi-4 |
|---|---|---|
| GPQA Diamond | 82.3% | 56.1% |
| Vectara Hallucination Rate | 12% | 3.7% |
| LMArena Expert | 1482 | 1203 |
| Humanity's Last Exam | 13.7% | — |
| SimpleQA Verified | 30.7% | — |
| MMLU-Pro | 86.9% | — |
| Confabulations | — | 29.4% |
| GPQA (HELM) | 68.6% | — |
| MMLU | — | 84.8% |

## Multimodal

- Claude Sonnet 4.5: 34.8 (#89)
- Phi-4: —

| Benchmark | Claude Sonnet 4.5 | Phi-4 |
|---|---|---|
| VPCT | 39.8% | — |
| LMArena Document | 1450 | — |

## Multilingual

- Claude Sonnet 4.5: 53.4 (#69)
- Phi-4: 37.2 (#237)

| Benchmark | Claude Sonnet 4.5 | Phi-4 |
|---|---|---|
| LMArena Non-English | 1425 | 1197 |
| LMArena Chinese | 1459 | 1212 |
| LMArena French | 1458 | 1224 |
| LMArena German | 1427 | 1222 |
| LMArena Japanese | 1390 | 1158 |
| LMArena Korean | 1403 | 1151 |
| LMArena Russian | 1437 | 1209 |
| LMArena Spanish | 1457 | 1234 |

## Instruction Following

- Claude Sonnet 4.5: 75.0 (#78)
- Phi-4: 60.4 (#251)

| Benchmark | Claude Sonnet 4.5 | Phi-4 |
|---|---|---|
| LMArena Instruction Following | 1459 | 1201 |
| LiveBench Instruction Following | — | 58.4% |
| IFEval | 85% | — |

## Long Context

- Claude Sonnet 4.5: 45.2 (#46)
- Phi-4: 36.9 (#226)

| Benchmark | Claude Sonnet 4.5 | Phi-4 |
|---|---|---|
| LMArena Longer Query | 1476 | 1217 |

## Writing & Preference

- Claude Sonnet 4.5: 66.5 (#34)
- Phi-4: 40.5 (#244)

| Benchmark | Claude Sonnet 4.5 | Phi-4 |
|---|---|---|
| LMArena Text | 1439 | 1217 |
| LMArena Creative Writing | 1442 | 1182 |
| LMArena Multi-Turn | 1465 | 1206 |
| Short-Story Creative Writing | — | 62.6% |
| EQ-Bench Creative Writing | 1678 | — |
| WildBench | 85.4% | — |
| LiveBench Language | — | 25.6% |

## FAQ

### Is Claude Sonnet 4.5 better than Phi-4?

Claude Sonnet 4.5 is the stronger model overall, scoring 44.1 to 31.2 on the Noometry Index. Phi-4 costs 69× less per token, which makes it the better buy when Claude Sonnet 4.5's lead doesn't matter for your workload.

### Which is cheaper, Claude Sonnet 4.5 or Phi-4?

Phi-4 is cheaper. It lists at $0.07 per million input tokens and $0.14 per million output tokens; Claude Sonnet 4.5 lists at $3 and $15.

### Is Claude Sonnet 4.5 or Phi-4 better for coding?

Claude Sonnet 4.5 scores higher on coding benchmarks: 47.3 versus 34.4 in the Noometry coding category.

### Which has the bigger context window?

Claude Sonnet 4.5 does, with 200K tokens against 128K.

### How many benchmarks do Claude Sonnet 4.5 and Phi-4 share?

24 benchmarks have published results for both models. Claude Sonnet 4.5 has 73 scored results on Noometry and Phi-4 has 37.
