Skip to content

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

  1. Log in to Z.ai.
  2. Open API keys.
  3. Create a key under your Coding Plan and copy it.
  4. Add it under Z.ai (Coding Plan) in AnyRouter.

Add it to AnyRouter

  1. Go to Dashboard → BYOK.
  2. Find Z.ai (Coding Plan) under Available and click Add key.
  3. Paste your key into the API key field.
  1. 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.