# Sonar Pro Search vs GLM 5.4

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

## Overview

| Attribute | Sonar Pro Search | GLM 5.4 |
| --- | --- | --- |
| Author | Perplexity | Z.ai |
| Reasoning | Yes | Yes |
| Input modalities | Text, Image | Text, Image, Video |
| Output modalities | Text | Text |
| Input price | $3/M tokens | $0.40/M tokens |
| Output price | $15/M tokens | $2.464/M tokens |
| Context window | 200,000 tokens | 1,048,576 tokens |
| Latency (p50) | 8.13 s | 0.52 s |
| Throughput (p50) | 33.0 tok/s | 138.0 tok/s |

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

### Choose GLM 5.4 for:

- a longer context window (1,048,576 vs 200,000 tokens)
- faster output (138.0 vs 33.0 tok/s)
- a quicker first token (0.52 s vs 8.13 s)
- lower token prices

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

## Model pages

- [Sonar Pro Search](https://openrouter.ai/perplexity/sonar-pro-search) ([llms.txt](https://openrouter.ai/perplexity/sonar-pro-search/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))
