GLM-5 vs Solar Pro 4
API pricing, benchmark indices and specs — updated 19 October 2026.
upstage · B · API-only
Input / 1M
$0.15
Output / 1M
$0.60
AA index
28.2
proprietary · 524.3K context
Specification comparison
Differences are highlighted; identical values are muted.
| Specification | GLM-5 | Solar Pro 4 |
|---|---|---|
| Deployment | Open weights · also via API | API-only (closed weights) |
| Parameters | 753.9 B | n/a — API-only |
| Architecture | GlmMoeDsaForCausalLM | n/a — API-only |
| Context length | 202,752 | 524,288 |
| Licence | mit | Proprietary |
| Commercial use | Allowed | Per API terms |
| Languages | 2 | n/a — API-only |
| Downloads 30d | 1,020,783 | n/a — API-only |
| Downloads all time | 2.4 M | n/a — API-only |
| Quantizations on the Hub | SAFETENSORS | n/a — API-only |
| Gated | No | n/a — API-only |
| First seen on the Hub | 2026-02-11 | n/a — API-only |
| API input price / 1M tokens | $1.00 | $0.15 |
| API output price / 1M tokens | $3.20 | $0.60 |
| Est. cost per 1M input + 1M output tokens | $4.20 | $0.75 |
| Cached input / 1M tokens | $0.20 | $0.03 |
| AA Intelligence Index | 27.9 | 28.2 |
| AA Coding Index | — | 52.7 |
| AA Agentic Index | — | — |
| Max output tokens | 131,072 | 131,072 |
| API providers | 8 | 1 |
| Tool calling | Yes | Yes |
| Reasoning mode | Yes | Yes |
API cost
Estimated cost of 1M input + 1M output tokens via OpenRouter
GLM-5
$4.20
Solar Pro 4
$0.75
Solar Pro 4 is 5.6× cheaper at list price.
VRAM side by side
On RTX 4090 · 24 GB · 8K context unless noted
GLM-5 · fp16 @ 198K ctx
4,457.7 GB / 24 GB