Model comparison

GLM-5.1 vs Sonar

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

Last verified . 0 shared benchmarks.

GLM-5.1 Z.ai (Zhipu)

47.8

Rank #59 Confirmed

Sonar Perplexity

38.5

Rank #187 Confirmed

Summary

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

Side by side

GLM-5.1 and Sonar specifications
GLM-5.1Sonar
ProviderZ.ai (Zhipu)Perplexity
Noometry Index47.838.5
Released2026-04-072024-01-01
WeightsOpenProprietary
Context window200K128K
Max output131K4K
Input $ / M tokens$1.40$1
Output $ / M tokens$4.40$1
Results tracked417

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

Category by category

Coding GLM-5.1 leads

GLM-5.1: 48.7 (#55), Sonar: 35.7 (#221)

Coding benchmarks
BenchmarkGLM-5.1Sonar
SWE-bench Verified74.2%—
LMArena WebDev1508—
SciCode43.8%—
WeirdML57.1%—
LiveBench Coding—35.1%
LMArena Coding1485—
ALE-Bench887.1—

Agentic & Tool Use Not comparable

GLM-5.1: 24.9 (#113), Sonar: —

Agentic & Tool Use benchmarks
BenchmarkGLM-5.1Sonar
APEX-Agents40.9%—
ExploitBench18.1%—
GBAEval0%—
Vending-Bench 25,634—

Reasoning GLM-5.1 leads

GLM-5.1: 39.1 (#60), Sonar: 21.1 (#227)

Reasoning benchmarks
BenchmarkGLM-5.1Sonar
SimpleBench55.1%—
NYT Connections (extended)77.7%—
CritPt4.6%—
Chess Puzzles19%—
Thematic Generalization69.8%—
LiveBench Reasoning—46.3%
LMArena Hard Prompts1472—
LiveBench Data Analysis—37.9%
Epoch Capabilities Index149.84—
LiveBench—46.9%

Math GLM-5.1 leads

GLM-5.1: 49.7 (#60), Sonar: 33.7 (#200)

Knowledge Not comparable

GLM-5.1: 54.9 (#50), Sonar: —

Knowledge benchmarks
BenchmarkGLM-5.1Sonar
GPQA Diamond89.9%—
SimpleQA Verified34%—
LMArena Expert1476—

Multilingual Not comparable

GLM-5.1: 55.0 (#36), Sonar: —

Multilingual benchmarks
BenchmarkGLM-5.1Sonar
LMArena Non-English1447—
LMArena Chinese1515—
LMArena French1474—
LMArena German1465—
LMArena Japanese1434—
LMArena Korean1418—
LMArena Russian1454—
LMArena Spanish1469—

Instruction Following GLM-5.1 leads

GLM-5.1: 76.3 (#42), Sonar: 71.4 (#150)

Instruction Following benchmarks
BenchmarkGLM-5.1Sonar
LiveBench Instruction Following—76.2%
LMArena Instruction Following1451—

Long Context Not comparable

GLM-5.1: 44.9 (#53), Sonar: —

Long Context benchmarks
BenchmarkGLM-5.1Sonar
LMArena Longer Query1466—

Writing & Preference GLM-5.1 leads

GLM-5.1: 66.9 (#31), Sonar: 52.6 (#167)

Writing & Preference benchmarks
BenchmarkGLM-5.1Sonar
LMArena Text1461—
LMArena Creative Writing1453—
EQ-Bench Creative Writing1592—
LMArena Multi-Turn1472—
LiveBench Language—44.1%

Frequently asked questions

Is GLM-5.1 better than Sonar?

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

Which is cheaper, GLM-5.1 or Sonar?

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

Is GLM-5.1 or Sonar better for coding?

GLM-5.1 scores higher on coding benchmarks: 48.7 versus 35.7 in the Noometry coding category.

Which has the bigger context window?

GLM-5.1 does, with 200K tokens against 128K.

How many benchmarks do GLM-5.1 and Sonar share?

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

Related comparisons

Go deeper