Claude 4 Sonnet vs GLM-4.7-Flash

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

GLM-4.7-Flash

63.8

73
MMLU
66
73
GPQA
65
71
SuperGPQA
63
69
OpenBookQA
61

Coding

Claude 4 Sonnet

Claude 4 Sonnet

65

GLM-4.7-Flash

58

65
HumanEval
58

Mathematics

Claude 4 Sonnet

Claude 4 Sonnet

72

GLM-4.7-Flash

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

GLM-4.7-Flash

62

71
SimpleQA
63
69
MuSR
61

Frequently Asked Questions

Which is better, Claude 4 Sonnet or GLM-4.7-Flash?

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 GLM-4.7-Flash?

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

Which is better for coding, Claude 4 Sonnet or GLM-4.7-Flash?

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

Which is better for math, Claude 4 Sonnet or GLM-4.7-Flash?

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

Which is better for reasoning, Claude 4 Sonnet or GLM-4.7-Flash?

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