Grok 4.3 vs GLM-5 Code
xAI against Z.ai (GLM), costed on the same three workloads. Grok 4.3 is cheaper on all three workloads.
Run this comparison on your own numbers
Monthly bill, side by side
| Workload | Grok 4.3 | GLM-5 Code | Difference |
|---|---|---|---|
| Support chatbot 2,500 six-turn conversations a day |
$3,516 | $4,428 | $912 (+26%) |
| Document summarizer 1,000 single-shot summaries a day |
$518 | $559 | $41.70 (+8%) |
| Coding agent 200 twelve-turn sessions a day |
$2,835 | $3,190 | $355 (+13%) |
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
| Grok 4.3 | GLM-5 Code | |
|---|---|---|
| Input, per 1M tokens | $1.25 | $1.2 |
| Output, per 1M tokens | $2.5 | $5 |
| Cached input | $0.2 | $0.3 |
| Context window | 1M | 200K |
| Maximum output | 1M | 128K |
| Reasoning model | yes | yes |
| Vision | yes | no |
Beyond the price
- Grok 4.3 reads up to 1M tokens of context in one request; GLM-5 Code stops at 200K.
- Grok 4.3 can write up to 1M tokens in one response, against 128K for GLM-5 Code.
- Only Grok 4.3 accepts images as input.
- Cached input costs 84% less than fresh input on Grok 4.3 and 75% less on GLM-5 Code, which matters most for workloads that resend the same prompt.
Run this comparison on your own numbers
Full detail: Grok 4.3 pricing · GLM-5 Code pricing
More comparisons
Other head-to-heads that include Grok 4.3 or GLM-5 Code.
- Grok 4.3 vs Nova 2 Pro
- Grok 4.3 vs Claude Haiku 4.5
- Grok 4.3 vs DeepSeek V4 Pro
- GLM-5 Code vs Nova 2 Pro
- GLM-5 Code vs DeepSeek V4 Pro
- GLM-5 Code vs GPT-5.1
Common questions
Which is cheaper, Grok 4.3 or GLM-5 Code?
Grok 4.3 is cheaper on all three workloads.
How much would Grok 4.3 and GLM-5 Code cost each month?
On PromptSpend's standard workloads, per month: support chatbot: Grok 4.3 $3,516, GLM-5 Code $4,428 (Grok 4.3 is cheaper by $912); document summarizer: Grok 4.3 $518, GLM-5 Code $559 (Grok 4.3 is cheaper by $41.70); coding agent: Grok 4.3 $2,835, GLM-5 Code $3,190 (Grok 4.3 is cheaper by $355). No prompt caching and no batch discount is assumed.
How do Grok 4.3 and GLM-5 Code differ apart from price?
Grok 4.3 reads up to 1M tokens of context in one request; GLM-5 Code stops at 200K. Grok 4.3 can write up to 1M tokens in one response, against 128K for GLM-5 Code. Only Grok 4.3 accepts images as input. Cached input costs 84% less than fresh input on Grok 4.3 and 75% less on GLM-5 Code, which matters most for workloads that resend the same prompt.