Model comparison

GLM-5 vs Sonar

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

Last verified . 0 shared benchmarks.

GLM-5 Z.ai (Zhipu)

45.9

Rank #59 Confirmed

Sonar Perplexity

37.8

Rank #184 Confirmed

Summary

  • The widest gap is in coding, where GLM-5 leads 49.0 to 35.1.
  • Sonar is cheaper at $1 / $1 per million input/output tokens, against $1 / $3.20 for GLM-5.
  • GLM-5 accepts more context: 205K tokens versus 128K.
  • GLM-5 has downloadable open weights; the other is API-only.

Side by side

GLM-5 and Sonar specifications
GLM-5Sonar
ProviderZ.ai (Zhipu)Perplexity
Noometry Index45.937.8
Released2026-02-112024-01-01
WeightsOpenProprietary
Context window205K128K
Max output131K4K
Input $ / M tokens$1$1
Output $ / M tokens$3.20$1
Results tracked457

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

Category by category

Coding GLM-5 leads

GLM-5: 49.0 (#47), Sonar: 35.1 (#217)

Coding benchmarks
BenchmarkGLM-5Sonar
SWE-bench Verified72.1%—
SWE-bench Verified (bash only)72.8%—
LMArena WebDev1434—
SWE-bench Multilingual69.7%—
WeirdML48.2%—
LiveBench Coding—35.1%
LMArena Coding1461—
ALE-Bench765.62—

Agentic & Tool Use Not comparable

GLM-5: 30.9 (#65), Sonar: —

Agentic & Tool Use benchmarks
BenchmarkGLM-5Sonar
Terminal-Bench52.4%—
τ²-bench Airline82.5%—
τ²-bench Banking9.8%—
τ²-bench Retail73.7%—
τ²-bench Telecom86.8%—
Vending-Bench 24,432—

Reasoning GLM-5 leads

GLM-5: 27.6 (#100), Sonar: 20.3 (#221)

Math GLM-5 leads

GLM-5: 44.8 (#66), Sonar: 31.3 (#197)

Knowledge Not comparable

GLM-5: 52.2 (#59), Sonar: —

Knowledge benchmarks
BenchmarkGLM-5Sonar
GPQA Diamond87.8%—
Vectara Hallucination Rate10.1%—
LMArena Expert1454—

Multilingual Not comparable

GLM-5: 53.9 (#57), Sonar: —

Multilingual benchmarks
BenchmarkGLM-5Sonar
LMArena Non-English1430—
LMArena Chinese1511—
LMArena French1455—
LMArena German1445—
LMArena Japanese1416—
LMArena Korean1421—
LMArena Russian1436—
LMArena Spanish1452—

Instruction Following GLM-5 leads

GLM-5: 75.4 (#64), Sonar: 71.5 (#146)

Instruction Following benchmarks
BenchmarkGLM-5Sonar
LiveBench Instruction Following—76.2%
LMArena Instruction Following1427—

Long Context Not comparable

GLM-5: 44.6 (#58), Sonar: —

Long Context benchmarks
BenchmarkGLM-5Sonar
CL-bench18.7%—
LMArena Longer Query1446—

Writing & Preference GLM-5 leads

GLM-5: 66.2 (#38), Sonar: 52.6 (#166)

Writing & Preference benchmarks
BenchmarkGLM-5Sonar
LMArena Text1446—
LMArena Creative Writing1438—
EQ-Bench Creative Writing1601—
LMArena Multi-Turn1456—
LiveBench Language—44.1%

Frequently asked questions

Is GLM-5 better than Sonar?

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

Which is cheaper, GLM-5 or Sonar?

Sonar is cheaper. It lists at $1 per million input tokens and $1 per million output tokens; GLM-5 lists at $1 and $3.20.

Is GLM-5 or Sonar better for coding?

GLM-5 scores higher on coding benchmarks: 49.0 versus 35.1 in the Noometry coding category.

Which has the bigger context window?

GLM-5 does, with 205K tokens against 128K.

How many benchmarks do GLM-5 and Sonar share?

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

Related comparisons

Go deeper