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.
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 | Sonar | |
|---|---|---|
| Provider | Z.ai (Zhipu) | Perplexity |
| Noometry Index | 51.1 | 38.5 |
| Released | 2026-06-13 | 2024-01-01 |
| Weights | Open | Proprietary |
| Context window | 1M | 128K |
| Max output | 131K | 4K |
| Input $ / M tokens | $1.40 | $1 |
| Output $ / M tokens | $4.40 | $1 |
| Results tracked | 51 | 7 |
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)
| Benchmark | GLM-5.2 | Sonar |
|---|---|---|
| SWE-bench Verified | 78.7% | — |
| DeepSWE | 43.8% | — |
| FrontierCode | 24.5% | — |
| LMArena WebDev | 1603 | — |
| SciCode | 50.5% | — |
| WeirdML | 70.1% | — |
| LiveBench Coding | — | 35.1% |
| LMArena Coding | 1485 | — |
| ALE-Bench | 1,047 | — |
Agentic & Tool Use Not comparable
GLM-5.2: 32.4 (#63), Sonar: —
| Benchmark | GLM-5.2 | Sonar |
|---|---|---|
| APEX-Agents | 45.2% | — |
| τ²-bench Banking | 37.1% | — |
| PostTrainBench | 31.7% | — |
| GBAEval | 0% | — |
| Vending-Bench 2 | 8,314 | — |
Reasoning GLM-5.2 leads
GLM-5.2: 42.3 (#52), Sonar: 21.1 (#227)
| Benchmark | GLM-5.2 | Sonar |
|---|---|---|
| ARC-AGI-2 | 22.8% | — |
| SimpleBench | 58.8% | — |
| Kagi LLM Benchmark | 62.6% | — |
| NYT Connections (extended) | 74.3% | — |
| ARC-AGI-1 | 77% | — |
| CritPt | 20.9% | — |
| Chess Puzzles | 21% | — |
| EBR-Bench | 9.5% | — |
| LiveBench Reasoning | — | 46.3% |
| LMArena Hard Prompts | 1480 | — |
| Mystery Game Puzzles | 19% | — |
| DTBench | 93.6% | — |
| LiveBench Data Analysis | — | 37.9% |
| LMCA | 45.8% | — |
| Surface Evolver Bench | 55.6% | — |
| Epoch Capabilities Index | 151.78 | — |
| LiveBench | — | 46.9% |
Math GLM-5.2 leads
GLM-5.2: 55.7 (#43), Sonar: 33.7 (#200)
| Benchmark | GLM-5.2 | Sonar |
|---|---|---|
| FrontierMath (Tiers 1-3) | 59.2% | — |
| FrontierMath Tier 4 | 29.3% | — |
| MathArena Final-Answer Competitions | 67.6% | — |
| OTIS Mock AIME 2024-2025 | 86.4% | — |
| ProofBench | 35% | — |
| LiveBench Math | — | 41.6% |
| LMArena Math | 1482 | — |
Knowledge Not comparable
GLM-5.2: 57.1 (#40), Sonar: —
| Benchmark | GLM-5.2 | Sonar |
|---|---|---|
| GPQA Diamond | 91.9% | — |
| SimpleQA Verified | 34.2% | — |
| LMArena Expert | 1486 | — |
Multilingual Not comparable
GLM-5.2: 55.8 (#26), Sonar: —
| Benchmark | GLM-5.2 | Sonar |
|---|---|---|
| LMArena Non-English | 1459 | — |
| LMArena Chinese | 1519 | — |
| LMArena French | 1479 | — |
| LMArena German | 1468 | — |
| LMArena Japanese | 1451 | — |
| LMArena Korean | 1445 | — |
| LMArena Russian | 1466 | — |
| LMArena Spanish | 1477 | — |
Instruction Following GLM-5.2 leads
GLM-5.2: 76.9 (#34), Sonar: 71.4 (#150)
| Benchmark | GLM-5.2 | Sonar |
|---|---|---|
| LiveBench Instruction Following | — | 76.2% |
| LMArena Instruction Following | 1465 | — |
Long Context Not comparable
GLM-5.2: 45.3 (#43), Sonar: —
| Benchmark | GLM-5.2 | Sonar |
|---|---|---|
| LMArena Longer Query | 1479 | — |
Writing & Preference GLM-5.2 leads
GLM-5.2: 70.4 (#21), Sonar: 52.6 (#167)
| Benchmark | GLM-5.2 | Sonar |
|---|---|---|
| LMArena Text | 1470 | — |
| LMArena Creative Writing | 1462 | — |
| EQ-Bench Creative Writing | 1757 | — |
| EQ-Bench 4 | 1222 | — |
| LMArena Multi-Turn | 1469 | — |
| 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.