zai-org
zai-org/GLM-5.2
Hugging Face repository for Text generation.
- Context
- 1M
- Max output
- 131.07K
- Input / 1M tokens
- $1.40
- Output / 1M tokens
- $4.40
Accepts
- Text input
Produces
- Text output
AI model comparison
Compare pricing, context limits, supported inputs and deployment options to choose a model for your workflow.
zai-org/GLM-5.2 from zai-org lists 1M context, 131.07K maximum output, $1.40 input per 1M tokens, $4.40 output per 1M tokens. Grok 4.5 from xAI lists 500K context, 500K maximum output, $2.00 input per 1M tokens, $6.00 output per 1M tokens. Compare the inputs, outputs and deployment options below to see which fits your workflow.
zai-org
Hugging Face repository for Text generation.
Accepts
Produces
xAI
Grok 4.5 from xAI: xAI's Grok model for chat, coding, agentic tools, and lower hallucination risk.
Accepts
Produces
At a glance
Compare the available figures below, then try both models on the work you need to do.
zai-org/GLM-5.2
Grok 4.5
Context capacity
Higher listed limit
zai-org/GLM-5.2:1M
Grok 4.5:500K
zai-org/GLM-5.2
Maximum output
Higher listed limit
zai-org/GLM-5.2:131.07K
Grok 4.5:500K
Grok 4.5
Input price
Lower listed token rate
zai-org/GLM-5.2:$1.40
Grok 4.5:$2.00
zai-org/GLM-5.2
Output price
Lower listed token rate
zai-org/GLM-5.2:$4.40
Grok 4.5:$6.00
zai-org/GLM-5.2
Specifications
| Specification | zai-org/GLM-5.2 | Grok 4.5 |
|---|---|---|
| Provider | zai-org | xAI |
| Listed pricing route | zai-org | xAI |
| Model family | — | grok |
| Accepted inputs | text | text, image |
| Produced outputs | text | text |
| Context window | 1MHigher | 500K |
| Max output | 131.07K | 500KHigher |
| Input price / 1M | $1.40Lower | $2.00 |
| Output price / 1M | $4.40Lower | $6.00 |
| Reasoning mode | Documented | Documented |
| Tool calling | Documented | Documented |
| Image input | Not documented | Documented |
| Audio input | Not documented | Not documented |
| Structured output | Not documented | Documented |
| License | Not documented | Proprietary |
Workload guidance
Consider zai-org/GLM-5.2 if you need larger context or a lower listed input rate or a lower listed output rate. Consider Grok 4.5 if you need larger maximum output. Test both on the same representative examples and judge the output against your acceptance criteria. Include tool failures, retries and the time to a completed task.
Explore each model’s features, API requirements and licence terms in the sources below.
zai-org/GLM-5.2
zai-org
Profile updated Oct 7, 2026
Grok 4.5
xAI
Profile updated Oct 13, 2026
Search by model or provider to explore another comparison.