glm-5.3-flash API
Call glm-5.3-flash through a single OpenAI-compatible endpoint — one key, no separate vendor account, no multi-provider wiring.
Zhipu AIChatReasoningCodingVision41.8
Intelligence index
71.5
Coding index
50.9
Agentic index
Pricing
Input$0.12 / 1M tokens (¥0.80)
Output$0.43 / 1M tokens (¥2.80)
Output multiplier×3.50
Context window1M tokens
Max output128K tokens
Prices are per 1M tokens in USD · ¥6.5 = $1 · Billed in CNY
Zhipu AI
The GLM family combines aggressive pricing on the Flash tier with capable flagship variants, and has become one of the most widely deployed model lines on the platform. GLM models are also a common default inside coding agents because of their quality-per-yuan at high request rates.
When to use it
At $0.12 per 1M input tokens it sits far below the catalogue median of $0.69 — a cost-first choice. Best for coding agents and repository-scale edits. Every model here is reachable with the same API key, so trialling it against a stronger sibling costs one line of code.
Code
from openai import OpenAI
client = OpenAI(
base_url="https://starseaapi.com/v1",
api_key="sk-your-key"
)
r = client.chat.completions.create(
model="glm-5.3-flash",
messages=[{"role": "user", "content": "Explain prefix caching in one paragraph"}]
)
print(r.choices[0].message.content)