Compare Sonar Pro Search from Perplexity and GLM 5.1 from Z.ai on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.


Sonar Pro Search and GLM 5.1 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Sonar Pro Search, from Perplexity, has a 200,000-token context window and is priced at $3/M tokens input, $15/M tokens output on OpenRouter.
GLM 5.1, from Z.ai, has a 204,800-token context window and is priced at $0.966/M tokens input, $3.036/M tokens output on OpenRouter.
| Attribute | Sonar Pro Search | GLM 5.1 |
|---|---|---|
| Input price | $3/M tokens | $0.966/M tokens |
| Output price | $15/M tokens | $3.036/M tokens |
| Context window | 200,000 tokens | 204,800 tokens |
| Intelligence Index | Not available | 24.2 |
| Coding Index | Not available | Not available |
| Agentic Index | Not available | Not available |
| Latency (p50) | 21.28 s | 1.82 s |
| Throughput (p50) | 39.0 tok/s | 41.0 tok/s |
Benchmark data updated
GLM 5.1 is cheaper than Sonar Pro Search on OpenRouter: GLM 5.1 costs $0.966/M tokens input and $3.036/M tokens output, while Sonar Pro Search costs $3/M tokens input and $15/M tokens output.
GLM 5.1 has the longer context window at 204,800 tokens, compared with 200,000 tokens for Sonar Pro Search.
GLM 5.1 is faster on OpenRouter, generating a median 41.0 tokens per second compared with 39.0 tokens per second for Sonar Pro Search.