| glm-5.2 | glm-5.3 | |
|---|---|---|
| Providers | Zhipu AI | Zhipu AI |
| Input $/M | $1.21 | $1.21 |
| Output $/M | $4.24 | $4.24 |
| Output multiplier | ×3.50 | ×3.50 |
| Context window | — | 200K tokens |
| Intelligence index | — | 48.6 |
| Coding index | 68.8 | 74.8 |
Input pricing is close — 1.00× apart — so the decision should come down to measured quality on your own evaluation set rather than headline cost.
Tags: glm-5.2 — Chat, Reasoning, Coding · glm-5.3 — Chat, Reasoning, Coding
from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")
# glm-5.2
client.chat.completions.create(model="glm-5.2", messages=[{"role":"user","content":"Hi"}])
# glm-5.3
client.chat.completions.create(model="glm-5.3", messages=[{"role": "user", "content": "Hi"}])