# Sonar Reasoning Pro vs GLM 5.4

Source: https://openrouter.ai/compare/perplexity/sonar-reasoning-pro/z-ai/glm-5.4

## Overview

| Attribute | Sonar Reasoning Pro | GLM 5.4 |
| --- | --- | --- |
| Author | Perplexity | Z.ai |
| Reasoning | Yes | Yes |
| Input modalities | Text, Image | Text, Image, Video |
| Output modalities | Text | Text |
| Input price | $2/M tokens | $0.40/M tokens |
| Output price | $8/M tokens | $2.464/M tokens |
| Context window | 128,000 tokens | 1,048,576 tokens |
| Latency (p50) | 22.22 s | 0.77 s |
| Throughput (p50) | 15.0 tok/s | 122.0 tok/s |

## Sonar Reasoning Pro or GLM 5.4: which should you choose?

### Choose GLM 5.4 for:

- a longer context window (1,048,576 vs 128,000 tokens)
- faster output (122.0 vs 15.0 tok/s)
- a quicker first token (0.77 s vs 22.22 s)
- lower token prices

Sonar Reasoning Pro does not lead on any comparison both models report.

## Model pages

- [Sonar Reasoning Pro](https://openrouter.ai/perplexity/sonar-reasoning-pro) ([llms.txt](https://openrouter.ai/perplexity/sonar-reasoning-pro/llms.txt))
- [GLM 5.4](https://openrouter.ai/z-ai/glm-5.4) ([llms.txt](https://openrouter.ai/z-ai/glm-5.4/llms.txt))
