Skip to main content

Z.AI GLM API key setup

GLM models via Z.ai. Fast coding plans from $18/month (Lite).

Get your key

  1. Open the Z.AI GLM API keys page: z.ai/subscribe?ic=FD6ODRFLIG partner link
  2. Create an account and generate an API key.
  3. Paste it into the Dracon key manager — stored encrypted (AES-256-GCM), used browser-direct, works in every Dracon tool.

Free tier

Yes. GLM family open model free in Z.ai chat consumer product; API is paid no credit card required

Rate limits: Varies by plan

Connection details

Base URL
https://api.z.ai/api/paas/v4
API shape
OpenAI-compatible
Env var
ZAI_API_KEY
Models
glm-4.6, glm-4.5-air
Model lineup
GLM-5.1, GLM-5, GLM-4.5 Air
Add your Z.AI GLM key Build a fallback chain Compare free tiers