星海词元星海词元
Ready to build?Get an API key — all models at 50% of the official price →
Home › Compare › glm-5.3 vs glm-5.4

glm-5.3 vs glm-5.4

glm-5.3glm-5.4
ProvidersZhipu AIZhipu AI
Input $/M$0.31$0.31
Output $/M$1.08$1.08
Output multiplier×3.50×3.50
Context window1M tokens1M tokens
Intelligence index44.8—
Coding index74.8—

What the numbers mean

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.3 — Chat, Reasoning, Coding, Vision, 工具调用, Long context · glm-5.4 — Chat, Reasoning, Coding, Vision, 视频理解, 工具调用, Long context

Code

from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")

# glm-5.3
client.chat.completions.create(model="glm-5.3", messages=[{"role":"user","content":"Hi"}])

# glm-5.4
client.chat.completions.create(model="glm-5.4", messages=[{"role": "user", "content": "Hi"}])

Compare