Skip to main content

Z.AI GLM API key setup

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

Disclosure: the sign-up link in step 1 is a partner link — Dracon may earn a commission when you create an account through it. It never changes the price you pay, and Z.AI GLM's own site is always reachable directly at z.ai.

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 BYOK provider keys — 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

Our verdicts on this kind of provider

Independent comparisons we keep current as pricing and free tiers shift. A guide is setup; a verdict is whether it's worth setting up.

Add your Z.AI GLM key Add this provider to a fallback list Compare free tiers