# Claude Sonnet 4 vs GPT-4.1 mini

> Claude Sonnet 4 is the stronger model overall, scoring 40.8 to 33.6 on the Noometry Index. GPT-4.1 mini costs 8.6× less per token, which makes it the better buy when Claude Sonnet 4's lead doesn't matter for your workload.

- Canonical page: https://noometry.com/compare/claude-sonnet-4-vs-gpt-4-1-mini
- Last updated: 2026-10-12
- Shared benchmarks: 40

## Summary

- They share 40 benchmarks with published results for both. Claude Sonnet 4 scores higher in 8 categories and GPT-4.1 mini in 2 categories; 10 gaps are clear of the uncertainty.
- The widest gap is in math, where Claude Sonnet 4 leads 43.3 to 24.1.
- The biggest single-benchmark swing is SWE-bench Verified (bash only): 64.9% for Claude Sonnet 4 and 23.9% for GPT-4.1 mini.
- GPT-4.1 mini is cheaper at $0.40 / $1.60 per million input/output tokens, against $3 / $15 for Claude Sonnet 4.
- GPT-4.1 mini accepts more context: 1.05M tokens versus 200K.

## Snapshot

| | Claude Sonnet 4 | GPT-4.1 mini |
|---|---|---|
| Provider | Anthropic | OpenAI |
| Noometry Index | 40.8 | 33.6 |
| Rank | 145 | 240 |
| Context | 200K | 1.05M |
| Input $/M | $3 | $0.40 |
| Output $/M | $15 | $1.60 |
| Weights | Proprietary | Proprietary |

## Coding

- Claude Sonnet 4: 43.5 (#88)
- GPT-4.1 mini: 30.6 (#293)

| Benchmark | Claude Sonnet 4 | GPT-4.1 mini |
|---|---|---|
| SWE-bench Verified (bash only) | 64.9% | 23.9% |
| Aider Polyglot | 61.3% | 32.4% |
| SciCode | 40% | 40.4% |
| WeirdML | 46.1% | 37.6% |
| LMArena Coding | 1414 | 1367 |
| GSO | 4.9% | — |
| BigCodeBench Instruct | — | 48.9% |
| CadEval | — | 16% |
| ALE-Bench | 655.35 | — |

## Agentic & Tool Use

- Claude Sonnet 4: 38.5 (#31)
- GPT-4.1 mini: 33.3 (#55)

| Benchmark | Claude Sonnet 4 | GPT-4.1 mini |
|---|---|---|
| Berkeley Function Calling Leaderboard | — | 50.5% |
| TheAgentCompany | 33.1% | — |
| Cybench | 35% | — |
| DeepResearch Bench | 46.6% | — |
| OSWorld | 43.9% | — |
| METR Time Horizons | 62% | — |

## Reasoning

- Claude Sonnet 4: 22.9 (#187)
- GPT-4.1 mini: 10.8 (#340)

| Benchmark | Claude Sonnet 4 | GPT-4.1 mini |
|---|---|---|
| ARC-AGI-2 | 5.9% | 0% |
| Kagi LLM Benchmark | 73% | 48.6% |
| ARC-AGI-1 | 40% | 3.5% |
| CritPt | 0.3% | 0% |
| LMArena Hard Prompts | 1372 | 1349 |
| DTBench | 77.1% | 68.8% |
| LMCA | 29% | 21.1% |
| Epoch Capabilities Index | 141.69 | 135.01 |
| SimpleBench | 45.5% | — |
| Chess Puzzles | — | 7% |
| EnigmaEval | 3.1% | — |
| Mystery Game Puzzles | — | 7% |
| ForecastBench | 60.2 | — |

## Math

- Claude Sonnet 4: 43.3 (#80)
- GPT-4.1 mini: 24.1 (#270)

| Benchmark | Claude Sonnet 4 | GPT-4.1 mini |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 71.1% | 44.7% |
| Omni-MATH | 60.2% | 49.1% |
| LMArena Math | 1375 | 1343 |
| MATH Level 5 | 84.4% | 87.3% |
| FrontierMath (Feb 2025 set) | 4.1% | 4.5% |
| FrontierMath (Tiers 1-3) | — | 6.7% |
| FrontierMath Tier 4 (v1) | 0% | — |

## Knowledge

- Claude Sonnet 4: 41.8 (#108)
- GPT-4.1 mini: 34.7 (#194)

| Benchmark | Claude Sonnet 4 | GPT-4.1 mini |
|---|---|---|
| GPQA Diamond | 79.2% | 65.8% |
| MMLU-Pro | 84.3% | 78.3% |
| GPQA (HELM) | 70.6% | 61.4% |
| LMArena Expert | 1372 | 1338 |
| Humanity's Last Exam | 7.8% | — |
| SimpleQA Verified | — | 12.7% |
| Confabulations | 13.2% | — |
| Vectara Hallucination Rate | 10.3% | — |

## Multimodal

- Claude Sonnet 4: 26.2 (#121)
- GPT-4.1 mini: 35.8 (#82)

| Benchmark | Claude Sonnet 4 | GPT-4.1 mini |
|---|---|---|
| LMArena Vision | 1191 | 1181 |
| GeoBench | 37% | — |
| VPCT | 34% | — |
| MindCube | 44.8% | — |

## Multilingual

- Claude Sonnet 4: 46.7 (#156)
- GPT-4.1 mini: 45.7 (#166)

| Benchmark | Claude Sonnet 4 | GPT-4.1 mini |
|---|---|---|
| LMArena Non-English | 1333 | 1318 |
| LMArena Chinese | 1350 | 1329 |
| LMArena French | 1363 | 1358 |
| LMArena German | 1331 | 1351 |
| LMArena Japanese | 1302 | 1290 |
| LMArena Korean | 1291 | 1298 |
| LMArena Russian | 1355 | 1324 |
| LMArena Spanish | 1357 | 1319 |

## Instruction Following

- Claude Sonnet 4: 71.7 (#145)
- GPT-4.1 mini: 73.7 (#118)

| Benchmark | Claude Sonnet 4 | GPT-4.1 mini |
|---|---|---|
| IFEval | 84% | 90.4% |
| LMArena Instruction Following | 1376 | 1333 |

## Long Context

- Claude Sonnet 4: 33.7 (#259)
- GPT-4.1 mini: 31.8 (#275)

| Benchmark | Claude Sonnet 4 | GPT-4.1 mini |
|---|---|---|
| Fiction.LiveBench | 46.9% | 44.4% |
| LMArena Longer Query | 1398 | 1344 |

## Writing & Preference

- Claude Sonnet 4: 57.1 (#132)
- GPT-4.1 mini: 48.6 (#199)

| Benchmark | Claude Sonnet 4 | GPT-4.1 mini |
|---|---|---|
| LMArena Text | 1351 | 1340 |
| LMArena Creative Writing | 1345 | 1300 |
| EQ-Bench Creative Writing | 1483 | 1147 |
| WildBench | 83.8% | 83.8% |
| LMArena Multi-Turn | 1376 | 1354 |
| Short-Story Creative Writing | 81.4% | — |

## FAQ

### Is Claude Sonnet 4 better than GPT-4.1 mini?

Claude Sonnet 4 is the stronger model overall, scoring 40.8 to 33.6 on the Noometry Index. GPT-4.1 mini costs 8.6× less per token, which makes it the better buy when Claude Sonnet 4's lead doesn't matter for your workload.

### Which is cheaper, Claude Sonnet 4 or GPT-4.1 mini?

GPT-4.1 mini is cheaper. It lists at $0.40 per million input tokens and $1.60 per million output tokens; Claude Sonnet 4 lists at $3 and $15.

### Is Claude Sonnet 4 or GPT-4.1 mini better for coding?

Claude Sonnet 4 scores higher on coding benchmarks: 43.5 versus 30.6 in the Noometry coding category.

### Which has the bigger context window?

GPT-4.1 mini does, with 1.05M tokens against 200K.

### How many benchmarks do Claude Sonnet 4 and GPT-4.1 mini share?

40 benchmarks have published results for both models. Claude Sonnet 4 has 58 scored results on Noometry and GPT-4.1 mini has 47.
