Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4 vs GLM-4.5

Anthropic · released

Wins 3 of 6 areas

Coding · Long documents · Following instructions

Z.ai · released

Wins 1 of 6 areas

Reasoning

Claude Sonnet 4 wins more areas, narrowly.GLM-4.5 is cheaper and better at reasoning.

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

Where each one wins

Tests won in each of the six areas where both have results. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.

Long documents and following instructions rest on a single test each.

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$3.00 to read · $15.00 to write$18Price from anthropic
GLM-4.5$0.60 to read · $2.20 to write$2.80Price from Z.ai's own price page

GLM-4.5 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 Claude Sonnet 4 pulls ahead

  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+41points aheadClaude Sonnet 470.9GLM-4.529.9
  • Reasons across sets of long documentsAA-LCR+17.6points aheadClaude Sonnet 470.3GLM-4.552.7
  • Follows unfamiliar, precisely checkable instructionsIFBench+10.6points aheadClaude Sonnet 454.7GLM-4.544.1

Where GLM-4.5 pulls ahead

  • Finds hard-to-locate facts by browsing the webBrowseComp+14.2points aheadGLM-4.526.4Claude Sonnet 412.2
  • Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+2.4points aheadGLM-4.525.1Claude Sonnet 422.7
  • Very hard expert questions across many subjectsHumanity's Last Exam+2.3points aheadGLM-4.513Claude Sonnet 410.7

Every test, side by side

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

CodingClaude Sonnet 4

Full coding ranking

AgentsEven

Full agents ranking

ReasoningGLM-4.5

Full reasoning ranking

FactsEven

Full facts ranking

Long documentsClaude Sonnet 4
  • AA-LCRClaude Sonnet 4 by 17.670.352.7+17.6

Full long documents ranking

Following instructionsClaude Sonnet 4
  • IFBenchClaude Sonnet 4 by 10.654.744.1+10.6

Full following instructions ranking

Other results13 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 or GLM-4.5?

Claude Sonnet 4 wins three of the six areas where both have results: coding, long documents and following instructions. GLM-4.5 wins reasoning, and costs 84% less. They are level on agents and facts.

Which is better for coding?

Claude Sonnet 4. It wins 3 of the 3 coding tests both models report; GLM-4.5 wins none.

Which is cheaper?

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

How do you compare the two?

We use the 25 benchmark tests both models have published scores on. The verdict counts the 12 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 13 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.