← all providers
GLM

Zhipu GLM (Z.ai)

ALIVE

Free coding agent — GLM-4.7-Flash + GLM-5.2 (1M ctx)

Get a free key →

GLM-4.7-Flash (203K ctx) and GLM-4.5-Flash are free for all registered users — no card. GLM-5.2 (1M ctx) and GLM-4.6 are paid but often ship signup credits. Strong repo-level coding — drops into Cline, Cursor, and similar agents at $0 via the free Flash tier.

[ What you get ]
  • GLM-4.7-Flash free (203K ctx)
  • GLM-5.2 with 1M context
  • Drops into Cline · Cursor · $0
  • OpenAI-compatible API
  • Auth: Bearer (OpenAI)
Quick setup

1 · Base URL

https://api.z.ai/api/paas/v4

2 · API key

ZHIPU_API_KEY=••••••••••••••••••env only
Auth · Bearer (OpenAI)Get key at z.ai
[ General info ]
Websitez.ai
Categoryfree-tier
Statusalive
OpenAI-compatibleYes
AuthBearer (OpenAI)
Sourceofficial
Added2026-06-17
[ Rate limit ]

Free Flash models, rate-limited; paid tier varies by credits

FREE FLASH