Z.ai (Coding Plan) (BYOK)
How to create an API key for Z.ai (Coding Plan) and add it to AnyRouter via Bring Your Own Key.
Dedicated key for the Z.ai coding subscription plan.
Get your API key
- Log in to Z.ai.
- Open API keys.
- Create a key under your Coding Plan and copy it.
- Add it under Z.ai (Coding Plan) in AnyRouter.
Add it to AnyRouter
- Go to Dashboard → BYOK.
- Find Z.ai (Coding Plan) under Available and click Add key.
- Paste your key into the API key field.
- Create key: Z.ai (Coding Plan) console
- Default base URL (editable on the key form):
https://api.z.ai/api/coding/paas/v4
- Click Save. AnyRouter runs a live validation call against Z.ai (Coding Plan) before storing the key — if it fails, the dialog shows the upstream error and the key isn't saved.
Related
- BYOK Provider Setup Guide — the full provider list and the general flow
- Bring Your Own Key (BYOK) — routing precedence, load balancing, and costs
- Free-tier aggregation — combine free tiers behind one preset