Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4 vs GLM-4.6

Anthropic · released

Wins 3 of 6 areas

Coding · Long documents · Following instructions

Z.ai · released

Wins 2 of 6 areas

Agents · Reasoning

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

Scores updated · 42 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$3.00 to read · $15.00 to write$18Price from anthropic
GLM-4.6$0.57 to read · $2.20 to write$2.78Price from Artificial Analysis

GLM-4.6 costs 85% 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+65points aheadClaude Sonnet 470.9GLM-4.65.9
  • Long, multi-file coding tasks in real codebasesSWE-bench Pro+33points aheadClaude Sonnet 442.7GLM-4.69.7
  • Reasons across sets of long documentsAA-LCR+16.3points aheadClaude Sonnet 470.3GLM-4.654

Where GLM-4.6 pulls ahead

  • Recent programming contest problemsLiveCodeBench v6+34.3points aheadGLM-4.682.8Claude Sonnet 448.5
  • Finds hard-to-locate facts by browsing the webBrowseComp+32.9points aheadGLM-4.645.1Claude Sonnet 412.2
  • Command-line tasks in a real terminalTerminal-Bench 2.1+13.1points aheadGLM-4.649.4Claude Sonnet 436.3

Every test, side by side

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

CodingClaude Sonnet 4

Full coding ranking

AgentsGLM-4.6

Full agents ranking

ReasoningGLM-4.6

Full reasoning ranking

FactsEven

Full facts ranking

Long documentsClaude Sonnet 4
  • AA-LCRClaude Sonnet 4 by 16.370.354+16.3

Full long documents ranking

Following instructionsClaude Sonnet 4

Full following instructions ranking

Other results23 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.6?

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

Which is better for coding?

Claude Sonnet 4. It wins 5 of the 7 coding tests both models report; GLM-4.6 wins 2.

Which is cheaper?

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

How do you compare the two?

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