# GLM-4.7 vs Sonar

> GLM-4.7 is the stronger model overall, scoring 42.0 to 38.5 on the Noometry Index.

- Canonical page: https://noometry.com/compare/glm-4-7-vs-sonar
- Last updated: 2026-10-11
- Shared benchmarks: 0

## Summary

- The widest gap is in writing & preference, where GLM-4.7 leads 60.9 to 52.6.
- Both cost about the same: $0.60 input and $2.20 output per million tokens.
- GLM-4.7 accepts more context: 205K tokens versus 128K.
- GLM-4.7 has downloadable open weights; the other is API-only.

## Snapshot

| | GLM-4.7 | Sonar |
|---|---|---|
| Provider | Z.ai (Zhipu) | Perplexity |
| Noometry Index | 42.0 | 38.5 |
| Rank | 124 | 187 |
| Context | 205K | 128K |
| Input $/M | $0.60 | $1 |
| Output $/M | $2.20 | $1 |
| Weights | Open | Proprietary |

## Coding

- GLM-4.7: 44.0 (#79)
- Sonar: 35.7 (#221)

| Benchmark | GLM-4.7 | Sonar |
|---|---|---|
| LMArena WebDev | 1435 | — |
| SciCode | 45.1% | — |
| LiveBench Coding | — | 35.1% |
| LMArena Coding | 1454 | — |
| ALE-Bench | 399.48 | — |

## Agentic & Tool Use

- GLM-4.7: 26.5 (#103)
- Sonar: —

| Benchmark | GLM-4.7 | Sonar |
|---|---|---|
| Terminal-Bench | 33.4% | — |
| Vending-Bench 2 | 2,377 | — |

## Reasoning

- GLM-4.7: 24.3 (#164)
- Sonar: 21.1 (#227)

| Benchmark | GLM-4.7 | Sonar |
|---|---|---|
| SimpleBench | 47.7% | — |
| CritPt | 1.7% | — |
| Chess Puzzles | 6% | — |
| LiveBench Reasoning | — | 46.3% |
| LMArena Hard Prompts | 1443 | — |
| LiveBench Data Analysis | — | 37.9% |
| Epoch Capabilities Index | 143.51 | — |
| LiveBench | — | 46.9% |

## Math

- GLM-4.7: 38.6 (#135)
- Sonar: 33.7 (#200)

| Benchmark | GLM-4.7 | Sonar |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 83.3% | — |
| ProofBench | 6% | — |
| LiveBench Math | — | 41.6% |
| LMArena Math | 1423 | — |
| FrontierMath (Feb 2025 set) | 2.4% | — |
| FrontierMath Tier 4 (v1) | 0% | — |

## Knowledge

- GLM-4.7: 47.0 (#80)
- Sonar: —

| Benchmark | GLM-4.7 | Sonar |
|---|---|---|
| GPQA Diamond | 83.3% | — |
| SimpleQA Verified | 32.2% | — |
| Vectara Hallucination Rate | 11.7% | — |
| LMArena Expert | 1424 | — |

## Multilingual

- GLM-4.7: 52.8 (#79)
- Sonar: —

| Benchmark | GLM-4.7 | Sonar |
|---|---|---|
| LMArena Non-English | 1417 | — |
| LMArena Chinese | 1495 | — |
| LMArena French | 1432 | — |
| LMArena German | 1424 | — |
| LMArena Japanese | 1439 | — |
| LMArena Korean | 1399 | — |
| LMArena Russian | 1423 | — |
| LMArena Spanish | 1434 | — |

## Instruction Following

- GLM-4.7: 74.4 (#95)
- Sonar: 71.4 (#150)

| Benchmark | GLM-4.7 | Sonar |
|---|---|---|
| LiveBench Instruction Following | — | 76.2% |
| LMArena Instruction Following | 1411 | — |

## Long Context

- GLM-4.7: 42.8 (#116)
- Sonar: —

| Benchmark | GLM-4.7 | Sonar |
|---|---|---|
| CL-bench | 15.9% | — |
| CL-bench Life | 10.9% | — |
| LMArena Longer Query | 1432 | — |

## Writing & Preference

- GLM-4.7: 60.9 (#93)
- Sonar: 52.6 (#167)

| Benchmark | GLM-4.7 | Sonar |
|---|---|---|
| LMArena Text | 1435 | — |
| LMArena Creative Writing | 1401 | — |
| EQ-Bench Creative Writing | 1413 | — |
| LMArena Multi-Turn | 1446 | — |
| LiveBench Language | — | 44.1% |

## FAQ

### Is GLM-4.7 better than Sonar?

GLM-4.7 is the stronger model overall, scoring 42.0 to 38.5 on the Noometry Index.

### Which is cheaper, GLM-4.7 or Sonar?

Sonar is cheaper. It lists at $1 per million input tokens and $1 per million output tokens; GLM-4.7 lists at $0.60 and $2.20.

### Is GLM-4.7 or Sonar better for coding?

GLM-4.7 scores higher on coding benchmarks: 44.0 versus 35.7 in the Noometry coding category.

### Which has the bigger context window?

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

### How many benchmarks do GLM-4.7 and Sonar share?

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