Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

GLM-5 vs GPT-5.2

Z.ai · released

Wins 0 of 7 areas

—

OpenAI · released

Wins 5 of 7 areas

Coding · Reasoning · Math · Long documents · Following instructions

GPT-5.2 is the stronger all-rounder.GLM-5 is cheaper.

Scores updated · 38 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.

GLM-5$1.00 to read · $3.20 to write$4.20Price from Artificial Analysis
GPT-5.2$1.75 to read · $14.00 to write$16Price from Artificial Analysis

GLM-5 costs 73% less for the same work.

The biggest differences

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

Where GPT-5.2 pulls ahead

  • Abstract visual puzzles that people can solveARC-AGI-2+48points aheadGPT-5.252.9GLM-54.9
  • Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+18points aheadGPT-5.244.3GLM-526.3
  • Harvard-MIT high-school math contest problemsHMMT Feb. 2026+14.2points aheadGPT-5.297GLM-582.8

Where GLM-5 pulls ahead

  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+45.9points aheadGLM-564.7GPT-5.218.8
  • Long, multi-file coding tasks in real codebasesSWE-bench Pro+25.2points aheadGLM-555.1GPT-5.229.9
  • Finds hard-to-locate facts by browsing the webBrowseComp+10.1points aheadGLM-575.9GPT-5.265.8

Every test, side by side

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

CodingGPT-5.2

Full coding ranking

AgentsEven

Full agents ranking

ReasoningGPT-5.2

Full reasoning ranking

FactsEven

Full facts ranking

MathGPT-5.2

Full math ranking

Long documentsGPT-5.2

Full long documents ranking

Following instructionsGPT-5.2

Full following instructions ranking

Other results16 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, GLM-5 or GPT-5.2?

GPT-5.2 wins five of the seven areas where both have results: coding, reasoning, math, long documents and following instructions. GLM-5 wins none, but costs 73% less. They are level on agents and facts.

Which is better for coding?

GPT-5.2. It wins 3 of the 5 coding tests both models report; GLM-5 wins 2.

Which is cheaper?

GLM-5 costs $1.00 per million input tokens and $3.20 per million output tokens; GPT-5.2 costs $1.75 and $14.00. That makes GLM-5 about 73% cheaper for the same work.

How do you compare the two?

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