Model comparison

GLM-5.2 vs Sonar

GLM-5.2 is the stronger model overall, scoring 51.1 to 38.5 on the Noometry Index. Sonar costs 2.1× less per token, which makes it the better buy when GLM-5.2's lead doesn't matter for your workload.

Last verified . 0 shared benchmarks.

GLM-5.2 Z.ai (Zhipu)

51.1

Rank #44 Confirmed

Sonar Perplexity

38.5

Rank #187 Confirmed

Summary

  • The widest gap is in math, where GLM-5.2 leads 55.7 to 33.7.
  • Sonar is cheaper at $1 / $1 per million input/output tokens, against $1.40 / $4.40 for GLM-5.2.
  • GLM-5.2 accepts more context: 1M tokens versus 128K.
  • GLM-5.2 has downloadable open weights; the other is API-only.

Side by side

GLM-5.2 and Sonar specifications
GLM-5.2Sonar
ProviderZ.ai (Zhipu)Perplexity
Noometry Index51.138.5
Released2026-06-132024-01-01
WeightsOpenProprietary
Context window1M128K
Max output131K4K
Input $ / M tokens$1.40$1
Output $ / M tokens$4.40$1
Results tracked517

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding GLM-5.2 leads

GLM-5.2: 51.3 (#41), Sonar: 35.7 (#221)

Coding benchmarks
BenchmarkGLM-5.2Sonar
SWE-bench Verified78.7%—
DeepSWE43.8%—
FrontierCode24.5%—
LMArena WebDev1603—
SciCode50.5%—
WeirdML70.1%—
LiveBench Coding—35.1%
LMArena Coding1485—
ALE-Bench1,047—

Agentic & Tool Use Not comparable

GLM-5.2: 32.4 (#63), Sonar: —

Agentic & Tool Use benchmarks
BenchmarkGLM-5.2Sonar
APEX-Agents45.2%—
τ²-bench Banking37.1%—
PostTrainBench31.7%—
GBAEval0%—
Vending-Bench 28,314—

Reasoning GLM-5.2 leads

GLM-5.2: 42.3 (#52), Sonar: 21.1 (#227)

Reasoning benchmarks
BenchmarkGLM-5.2Sonar
ARC-AGI-222.8%—
SimpleBench58.8%—
Kagi LLM Benchmark62.6%—
NYT Connections (extended)74.3%—
ARC-AGI-177%—
CritPt20.9%—
Chess Puzzles21%—
EBR-Bench9.5%—
LiveBench Reasoning—46.3%
LMArena Hard Prompts1480—
Mystery Game Puzzles19%—
DTBench93.6%—
LiveBench Data Analysis—37.9%
LMCA45.8%—
Surface Evolver Bench55.6%—
Epoch Capabilities Index151.78—
LiveBench—46.9%

Math GLM-5.2 leads

GLM-5.2: 55.7 (#43), Sonar: 33.7 (#200)

Knowledge Not comparable

GLM-5.2: 57.1 (#40), Sonar: —

Knowledge benchmarks
BenchmarkGLM-5.2Sonar
GPQA Diamond91.9%—
SimpleQA Verified34.2%—
LMArena Expert1486—

Multilingual Not comparable

GLM-5.2: 55.8 (#26), Sonar: —

Multilingual benchmarks
BenchmarkGLM-5.2Sonar
LMArena Non-English1459—
LMArena Chinese1519—
LMArena French1479—
LMArena German1468—
LMArena Japanese1451—
LMArena Korean1445—
LMArena Russian1466—
LMArena Spanish1477—

Instruction Following GLM-5.2 leads

GLM-5.2: 76.9 (#34), Sonar: 71.4 (#150)

Instruction Following benchmarks
BenchmarkGLM-5.2Sonar
LiveBench Instruction Following—76.2%
LMArena Instruction Following1465—

Long Context Not comparable

GLM-5.2: 45.3 (#43), Sonar: —

Long Context benchmarks
BenchmarkGLM-5.2Sonar
LMArena Longer Query1479—

Writing & Preference GLM-5.2 leads

GLM-5.2: 70.4 (#21), Sonar: 52.6 (#167)

Writing & Preference benchmarks
BenchmarkGLM-5.2Sonar
LMArena Text1470—
LMArena Creative Writing1462—
EQ-Bench Creative Writing1757—
EQ-Bench 41222—
LMArena Multi-Turn1469—
LiveBench Language—44.1%

Frequently asked questions

Is GLM-5.2 better than Sonar?

GLM-5.2 is the stronger model overall, scoring 51.1 to 38.5 on the Noometry Index. Sonar costs 2.1× less per token, which makes it the better buy when GLM-5.2's lead doesn't matter for your workload.

Which is cheaper, GLM-5.2 or Sonar?

Sonar is cheaper. It lists at $1 per million input tokens and $1 per million output tokens; GLM-5.2 lists at $1.40 and $4.40.

Is GLM-5.2 or Sonar better for coding?

GLM-5.2 scores higher on coding benchmarks: 51.3 versus 35.7 in the Noometry coding category.

Which has the bigger context window?

GLM-5.2 does, with 1M tokens against 128K.

How many benchmarks do GLM-5.2 and Sonar share?

0 benchmarks have published results for both models. GLM-5.2 has 51 scored results on Noometry and Sonar has 7.

Related comparisons

Go deeper