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. GPT-5.2 Codex from OpenAI lists 400K context, 128K maximum output, $1.75 input per 1M tokens, $14.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
OpenAI
GPT-5.2 Codex from OpenAI: Code-specialist GPT for repository edits, reviews, and long-running software agents.
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
Context capacity
Higher listed limit
zai-org/GLM-5.2:1M
GPT-5.2 Codex:400K
zai-org/GLM-5.2
Maximum output
Higher listed limit
zai-org/GLM-5.2:131.07K
GPT-5.2 Codex:128K
zai-org/GLM-5.2
Input price
Lower listed token rate
zai-org/GLM-5.2:$1.40
GPT-5.2 Codex:$1.75
zai-org/GLM-5.2
Output price
Lower listed token rate
zai-org/GLM-5.2:$4.40
GPT-5.2 Codex:$14.00
zai-org/GLM-5.2
Specifications
| Specification | zai-org/GLM-5.2 | GPT-5.2 Codex |
|---|---|---|
| Provider | zai-org | OpenAI |
| Listed pricing route | zai-org | OpenAI |
| Model family | — | gpt-codex |
| Accepted inputs | text | text, image, pdf |
| Produced outputs | text | text |
| Context window | 1MHigher | 400K |
| Max output | 131.07KHigher | 128K |
| Input price / 1M | $1.40Lower | $1.75 |
| Output price / 1M | $4.40Lower | $14.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 larger maximum output or a lower listed input rate or a lower listed output rate. 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
GPT-5.2 Codex
OpenAI
Profile updated Oct 13, 2026
Search by model or provider to explore another comparison.