GLM
GLM API pricing
Zhipu's GLM family through an OpenAI-compatible endpoint: GLM 5.3 Flash at $0.0252 / 1M input, GLM 5.3 at $0.2160 / 1M. Both bill in USD from the same prepaid balance as every other model.
Price table
| Model id | Input / 1M | Output / 1M | Notes |
|---|---|---|---|
| glm-5.3-flash | $0.0252 | $0.0756 | Cheapest output rate on the catalogue |
| glm-5.3 | $0.2160 | $0.7380 | Full-size model for harder tasks |
What a workload costs
| Workload | Flash | GLM 5.3 |
|---|---|---|
| 1M input tokens | $0.0252 | $0.2160 |
| 1M output tokens | $0.0756 | $0.7380 |
| 1M typical requests (1.5k/400) | $68.04 | $619.20 |
Flash is the interesting one: its output rate ($0.0756) is lower than DeepSeek V4.1 Flash ($0.1008), which makes it the cheapest choice for output-heavy work such as summarisation and rewriting.
Call it
curl https://todapi.work/v1/chat/completions \
-H "Authorization: Bearer $TODAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3-flash",
"messages": [{"role": "user", "content": "Summarise this ticket in one line."}]
}'
from openai import OpenAI
client = OpenAI(api_key="sk-...", base_url="https://todapi.work/v1")
resp = client.chat.completions.create(
model="glm-5.3-flash",
messages=[{"role": "user", "content": "Summarise this ticket in one line."}],
)
print(resp.choices[0].message.content)
Anthropic-shaped clients can call POST /v1/messages with the same model id — one key covers both protocols.
Flash or full size
- glm-5.3-flash — bulk summarisation, rewriting, classification, translation drafts. Output rate is the selling point.
- glm-5.3 — multi-step reasoning and tasks where a wrong answer costs more than the tokens.
The price gap is 8.6×; the quality gap is not. Route by task, not by habit.
FAQ
How much does GLM cost?
Flash: $0.0252 / $0.0756 per 1M. Full: $0.2160 / $0.7380 per 1M.
Is GLM OpenAI-compatible here?
Yes — same base URL, same SDK, GLM as the model id.
Do I need a Zhipu account?
No. The gateway holds the upstream relationship; you only need a TodAPI key.