glm-5.2 vs glm-5.3: API Pricing & Capabilities
Unit prices, a monthly cost example and capabilities of glm-5.2 and glm-5.3, side by side, from the build-time price snapshot. Both models work with the same OpenLux API key and base URL — switch by changing the model parameter.
glm-5.2: GLM-5.2 is the flagship model built for the long-task era. It supports a truly usable 1M context capable of holding project-level engineering context, delivers more stable long-horizon task execution and more reliable adherence to engineering standards, and can complete the full development pipeline from requirements to multi-platform deployment in a single task.
glm-5.3: GLM-5.3 is the latest flagship model from Zhipu, with comprehensive advancements in complex software engineering and agent task capabilities. It uses the same base model as GLM-5.2—all improvements come from post-training.
Price overview
For each model, the lowest-priced group available to visitors; input, output and monthly cost all use that group.
| Item | glm-5.2 | glm-5.3 |
|---|---|---|
| Provider | ChatGLM | ChatGLM |
| Group | Self-Deployed-1 | Self-Deployed-1 |
| Input (USD / 1M tokens) | $0.42 | $0.42 |
| Output (USD / 1M tokens) | $1.32 | $1.32 |
| Cache read (USD / 1M tokens) | $0.078 | $0.078 |
| Monthly cost example | $68.40 | $68.40 |
Monthly cost example: 100M input tokens + 20M output tokens per month, using the input and output prices of the same group, excluding cache.
Prices by group
USD per 1M tokens. Price = base price × group ratio.
glm-5.2 by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Self-Deployed-1 | $0.42 | $1.32 | $0.078 | $68.40 |
| Self-Deployed-2 | $0.70 | $2.20 | $0.13 | $114.00 |
| Alibaba-2 | $1.05 | $3.30 | $0.195 | $171.00 |
| Self-Deployed-3 | $1.05 | $3.30 | $0.195 | $171.00 |
| Alibaba-3 | $1.54 | $4.84 | $0.286 | $250.80 |
| glm-1 | $1.54 | $4.84 | $0.286 | $250.80 |
glm-5.3 by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Self-Deployed-1 | $0.42 | $1.32 | $0.078 | $68.40 |
| Self-Deployed-2 | $0.70 | $2.20 | $0.13 | $114.00 |
| Self-Deployed-3 | $1.05 | $3.30 | $0.195 | $171.00 |
| Alibaba-3 | $1.54 | $4.84 | $0.286 | $250.80 |
| glm-1 | $1.54 | $4.84 | $0.286 | $250.80 |
Same-group comparison
Groups available to both models, with the monthly cost example in the same group:
| Group | glm-5.2 | glm-5.3 |
|---|---|---|
| Self-Deployed-1 | $68.40 | $68.40 |
| Self-Deployed-2 | $114.00 | $114.00 |
| Self-Deployed-3 | $171.00 | $171.00 |
| Alibaba-3 | $250.80 | $250.80 |
| glm-1 | $250.80 | $250.80 |
Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table on each model page and your console.
Capabilities
| Item | glm-5.2 | glm-5.3 |
|---|---|---|
| Provider | ChatGLM | ChatGLM |
| Context | — | — |
| Features | Conversation · Tool | Dialogue · Tool |
| API formats | Anthropic Messages · OpenAI Chat Completions | Anthropic Messages · OpenAI Chat Completions |
| Long-context tiers | No | No |
Which one to choose
- glm-5.2 and glm-5.3 cost about the same in the monthly example; choose by output quality and API format.
- Need Conversation: glm-5.2 supports it.
- Need Dialogue: glm-5.3 supports it.
- Not sure? Send a small share of real traffic to each and compare quality and cost — switching only changes the model parameter.
Quick start
Base URL: https://api.openlux.ai/v1. The example uses glm-5.2; change model to glm-5.3 to call the other model.
curl https://api.openlux.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.2",
"messages": [{"role": "user", "content": "Hello"}]
}'Full parameters in the API docs
FAQ
Which is cheaper, glm-5.2 or glm-5.3?
At build time, the lowest public prices were: glm-5.2 (Self-Deployed-1 group) input $0.42, output $1.32 per 1M tokens; glm-5.3 (Self-Deployed-1 group) input $0.42, output $1.32 per 1M tokens. For 100M input + 20M output tokens a month, glm-5.2 costs about $68.40 and glm-5.3 about $68.40.
Can I use one API key for both glm-5.2 and glm-5.3?
Yes. Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and set model to glm-5.2 or glm-5.3. Usage of both models is billed from the same balance.
Which API formats do glm-5.2 and glm-5.3 support?
glm-5.2: Anthropic Messages, OpenAI Chat Completions. glm-5.3: Anthropic Messages, OpenAI Chat Completions.
Is there a Batch API?
Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.