| glm-4.7 | glm-5.3-flashx | |
|---|---|---|
| Providers | Zhipu AI | Zhipu AI |
| Input $/M | $0.30 | $0.30 |
| Output $/M | $1.21 | $1.06 |
| Output multiplier | ×4.00 | ×3.50 |
| Context window | 200K tokens | 1M tokens |
| Intelligence index | — | — |
| Coding index | 45.3 | — |
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-4.7 — Chat, Reasoning, Coding · glm-5.3-flashx — Chat, Reasoning, Coding, Vision
from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")
# glm-4.7
client.chat.completions.create(model="glm-4.7", messages=[{"role":"user","content":"Hi"}])
# glm-5.3-flashx
client.chat.completions.create(model="glm-5.3-flashx", messages=[{"role": "user", "content": "Hi"}])