Claude 4 Sonnet vs GPT-4o

Side-by-side benchmark comparison across knowledge, coding, math, and reasoning.

Quick Verdict

Claude 4 Sonnet wins overall with a score of 59 vs 56 (3 point difference).Claude 4 Sonnet wins 4 out of 4 categories.

Knowledge

Claude 4 Sonnet

Claude 4 Sonnet

71.5

GPT-4o

64.5

73
MMLU
66
73
GPQA
66
71
SuperGPQA
64
69
OpenBookQA
62

Coding

Claude 4 Sonnet

Claude 4 Sonnet

65

GPT-4o

58

65
HumanEval
58

Mathematics

Claude 4 Sonnet

Claude 4 Sonnet

72

GPT-4o

65

73
AIME 2023
66
75
AIME 2024
68
74
AIME 2025
67
69
HMMT Feb 2023
62
71
HMMT Feb 2024
64
70
HMMT Feb 2025
63
72
BRUMO 2025
65

Reasoning

Claude 4 Sonnet

Claude 4 Sonnet

70

GPT-4o

63

71
SimpleQA
64
69
MuSR
62

Frequently Asked Questions

Which is better, Claude 4 Sonnet or GPT-4o?

Claude 4 Sonnet scores higher overall with 59 vs 56, a difference of 3 points across all benchmarks.

Which is better for knowledge tasks, Claude 4 Sonnet or GPT-4o?

Claude 4 Sonnet leads in knowledge tasks with an average score of 71.5 vs 64.5.

Which is better for coding, Claude 4 Sonnet or GPT-4o?

Claude 4 Sonnet leads in coding with an average score of 65 vs 58.

Which is better for math, Claude 4 Sonnet or GPT-4o?

Claude 4 Sonnet leads in math with an average score of 72 vs 65.

Which is better for reasoning, Claude 4 Sonnet or GPT-4o?

Claude 4 Sonnet leads in reasoning with an average score of 70 vs 63.