GPT-5.4 Mini vs GLM-5 Code
OpenAI against Z.ai (GLM), costed on the same three workloads. GPT-5.4 Mini is cheaper on all three workloads.
Monthly bill, side by side
| Workload | GPT-5.4 Mini | GLM-5 Code | Difference |
|---|---|---|---|
| Support chatbot 2,500 six-turn conversations a day |
$3,324 | $4,428 | $1,104 (+33%) |
| Document summariser 1,000 single-shot summaries a day |
$383 | $559 | $177 (+46%) |
| Coding agent 200 twelve-turn sessions a day |
$2,241 | $3,190 | $949 (+42%) |
No prompt caching and no batch discount on either side, so the comparison is like for like. Both figures assume 30 days a month.
The rate cards
| GPT-5.4 Mini | GLM-5 Code | |
|---|---|---|
| Input, per 1M tokens | $0.75 | $1.2 |
| Output, per 1M tokens | $4.5 | $5 |
| Cached input | $0.075 | $0.3 |
| Context window | 272K | 200K |
| Maximum output | 128K | 128K |
| Reasoning model | yes | yes |
| Vision | yes | no |
Run this comparison on your own numbers
Full detail: GPT-5.4 Mini pricing · GLM-5 Code pricing