What's free
GLM-4.5-Flash, GLM-4.7-Flash (text), and GLM-4.6V-Flash (vision) are officially listed as $0 cost (input, cached input, and output) on a permanent basis
- Credit card
- not required
- Phone verification
- not required
- Commercial use
- allowed
Free limits
Numeric limits are not recorded in structured form for this provider.
In the provider's words
Not specified with concrete RPM/TPM figures in public docs
The catch
Terms of Use prohibit using Z.ai to "develop, train, or enhance any algorithms, models, or technologies that directly or indirectly compete with us" — otherwise general use, including commercial, isn't restricted
Free models · sample
glm-4.7-flashglm-4.5-flashglm-4.6v-flashA sample of models reachable on the free tier — the live catalog changes. Pull the current set with GET https://api.z.ai/api/paas/v4//models.
Quickstart — chat completions
from openai import OpenAI
client = OpenAI(base_url="https://api.z.ai/api/paas/v4/", api_key="<YOUR_FREE_API_KEY>")
resp = client.chat.completions.create(
model="glm-4.7-flash",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)…or with curl:
curl https://api.z.ai/api/paas/v4//chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"glm-4.7-flash","messages":[{"role":"user","content":"Hello!"}]}'Appears in
Compare
Change history
How this free tier has changed since we started tracking it (2026-07-30) — generated from the git history of providers.json.
- 2026-10-08 Updated the catch
- 2026-08-14 Updated card requirement
- 2026-07-30 Added to the hub