Sonar vs GLM-4.5
Side-by-side comparison of API pricing, specs, benchmarks, and capabilities
Sonar is 28.6% cheaper on blended cost ($1.00 vs $1.40/Mtok)
| Specification |
by Perplexity
|
by Z.AI
|
|---|---|---|
| Overview | ||
| Status | Current mid tier | Current mid tier Open weights |
| Released | Feb 1, 2025 | Jan 1, 2025 |
| Pricing per million tokens | ||
| Input | $1.00/Mtok | $0.600/Mtok |
| Output | $1.00/Mtok | $2.20/Mtok |
| Blended avg | $1.00/Mtok | $1.40/Mtok |
| Cached input | — | $0.110/Mtok |
| Specifications | ||
| Context window | 200K tokens | 128K tokens |
| Parameters | Proprietary | Proprietary |
| Speed (TPS) | — | — |
| Modalities | ||
| Input |
text
|
text
|
| Benchmarks sources: Perplexity model card / LMSYS Chatbot Arena (UC Berkeley) | ||
| Independent composite scores each on its own scale — not part of the average above | ||
| LMSYS Chatbot Arena | — | 1410.7 ELO |
| Providers | ||
| Available from |
Perplexity — $1.00/$1.00/Mtok
|
Z.AI — $0.600/$2.20/Mtok
|
Cost at scale
1M tokens · 50/50 input/output| Volume | Sonar | GLM-4.5 | Savings |
|---|---|---|---|
| 1M tokens | $1 | $1.4 | $0.4 (28.6%) |
| 10M tokens | $10 | $14 | $4 (28.6%) |
| 100M tokens | $100 | $140 | $40 (28.6%) |
| 1000M tokens | $1000 | $1400 | $400 (28.6%) |
Try Sonar on Perplexity
The cheaper option here — Sonar costs $1.00/Mtok blended on Perplexity.
Summary
Sonar by Perplexity costs $1.00/Mtok input and $1.00/Mtok output, with a 200K-token context window. It supports text input.
GLM-4.5 by Z.AI costs $0.600/Mtok input and $2.20/Mtok output, with a 128K-token context window. It supports text input.
On a blended cost basis, Sonar is 28.6% cheaper than GLM-4.5. It also has a larger context window.
Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.
More comparisons
pairs sharing a model with this page
Granite 4 H Medium vs GLM-4.5
73% price gap
Granite 4 H Medium vs Sonar
63% price gap
DeepSeek V4 Pro vs GLM-4.5
53% price gap
Granite 4 H Large vs GLM-4.5
46% price gap
Qwen-Plus vs GLM-4.5
43% price gap
DeepSeek V4 Pro vs Sonar
35% price gap
Mistral Large 3 vs GLM-4.5
29% price gap
Sonar vs Reka Flash
29% price gap