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