GLM 5.2 vs Solar Mini 4.5: cost comparison
Prices updated 2026-11-29 · computed from live provider data
Short answer: Solar Mini 4.5 is cheaper on a
3:1 input/output blend — $0.018 per million tokens versus
$1.71, a 99% difference.
GLM 5.2 offers the larger context window at 1,048,576 tokens, against 524,288 for Solar Mini 4.5.
Head to head
| GLM 5.2 | Solar Mini 4.5 | |
|---|---|---|
| Input, per 1M tokens | $0.0070 | $0.010 |
| Output, per 1M tokens | $6.80 | $0.040 |
| Blended 3:1, per 1M | $1.71 | $0.018 |
| Context window | 1,048,576 | 524,288 |
| Vendor | z-ai | upstage |
Monthly cost at real volumes
| Workload (input / output) | GLM 5.2 | Solar Mini 4.5 |
|---|---|---|
| 1M in / 250K out | $1.71 | $0.020 |
| 10M in / 2.5M out | $17.07 | $0.200 |
| 100M in / 25M out | $171 | $2.00 |
Which should you pick?
Pick GLM 5.2 when you need the longer context window (1,048,576 vs 524,288 tokens). Pick Solar Mini 4.5 when price per token dominates your workload — high-volume classification, extraction, or batch summarisation.