Z.AI API
Get a Z.AI API key and call every Z.AI model (z.ai, GLM, Zhipu) through Token Harbor with a single key — pay-as-you-go, no separate Z.AI account or console. Fully OpenAI- and Anthropic-compatible, with transparent per-token pricing and smart routing. See Z.AI API pricing per model below.
Call it with one key
curl https://tokenharbor.ai/v1/chat/completions \
-H "Authorization: Bearer $TOKENHARBOR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"z-ai/glm-4.6","messages":[{"role":"user","content":"Hello"}]}'Get a free key at /dashboard/api-keys · point any tool at us with the Connect CLI or manual setup.
Z.AI models (4)
| Model | Context | $/1M in · out |
|---|---|---|
GLM 4.6z-ai/glm-4.6 | 205k | $0.39 · $1.90 |
GLM 4.7z-ai/glm-4.7 | 203k | $0.60 · $2.20 |
GLM 5z-ai/glm-5 | 203k | $1.00 · $3.20 |
GLM 5.2z-ai/glm-5.2 | 1.0M | $1.40 · $4.40 |
See the full model catalog or read the API docs.