Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4.5 vs GLM-4.7

Anthropic · released

Wins 3 of 7 areas

Coding · Facts · Long documents

Z.ai · released

Wins 4 of 7 areas

Agents · Reasoning · Math · Following instructions

GLM-4.7 wins more areas, narrowly.Claude Sonnet 4.5 is better at coding.

Scores updated · 40 tests both models report · How we compare

What it costs

Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.

Claude Sonnet 4.5$3.00 to read · $15.00 to write$18Price from Artificial Analysis
GLM-4.7$0.60 to read · $2.20 to write$2.80Price from Artificial Analysis

GLM-4.7 costs 84% less for the same work.

The biggest differences

The three tests each model wins by the widest margin. Scores are out of 100.

Where GLM-4.7 pulls ahead

  • Finds hard-to-locate facts by browsing the webBrowseComp+27.9points aheadGLM-4.752Claude Sonnet 4.524.1
  • Recent programming contest problemsLiveCodeBench v6+20.9points aheadGLM-4.784.9Claude Sonnet 4.564
  • Olympiad math problems with short answersIMOAnswerBench+16.1points aheadGLM-4.782Claude Sonnet 4.565.9

Where Claude Sonnet 4.5 pulls ahead

Every test, side by side

All 40 tests both models report. The winning score is in its model's colour; marks a score checked independently.

CodingClaude Sonnet 4.5

Full coding ranking

AgentsGLM-4.7

Full agents ranking

ReasoningGLM-4.7

Full reasoning ranking

FactsClaude Sonnet 4.5

Full facts ranking

MathGLM-4.7

Full math ranking

Long documentsClaude Sonnet 4.5
  • AA-LCRClaude Sonnet 4.5 by 1.372.371+1.3

Full long documents ranking

Following instructionsGLM-4.7
  • IFBenchGLM-4.7 by 10.657.367.9+10.6

Full following instructions ranking

Other results19 tests, not counted

Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.

Questions people ask

Which is better, Claude Sonnet 4.5 or GLM-4.7?

GLM-4.7 wins four of the seven areas where both have results: agents, reasoning, math and following instructions. Claude Sonnet 4.5 wins coding, facts and long documents.

Which is better for coding?

Claude Sonnet 4.5. It wins 3 of the 7 coding tests both models report; GLM-4.7 wins 2, and 2 are ties.

Which is cheaper?

Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; GLM-4.7 costs $0.60 and $2.20. That makes GLM-4.7 about 84% cheaper for the same work.

How do you compare the two?

We use the 40 benchmark tests both models have published scores on. The verdict counts the 21 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 19 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.