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

glm-5.3-flash vs glm-5.3-flashx-legal

glm-5.3-flashglm-5.3-flashx-legal
ProvidersZhipu AIZhipu AI
Input $/M$0.031$0.08
Output $/M$0.11$0.27
Output multiplier×3.50×3.50
Context window1M tokens1M tokens
Intelligence index41.8—
Coding index71.5—

What the numbers mean

glm-5.3-flash is roughly 2.5× cheaper on input than glm-5.3-flashx-legal. If your workload passes the quality bar on the cheaper model, that gap compounds across every request; route to glm-5.3-flashx-legal deliberately rather than by default.

Tags: glm-5.3-flash — Chat, Reasoning, Coding, Vision, 视频理解, 工具调用, Long context, 快速 · glm-5.3-flashx-legal — 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-flash
client.chat.completions.create(model="glm-5.3-flash", messages=[{"role":"user","content":"Hi"}])

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

Compare