@twin dew
Description:
Adding my Z.ai API Key to the OpenRouter BYOK z.a dialogue, fails the 'test' with insufficient funds..
What I've Tried:
Simply creating the z.ai api key, pasting it into the BYOK z.ai dialogues in OpenRouter, selectign model and hitting the 'test'. Fails.
Error Messages:
z.ai say that the coding plan requires specific endpoints.. - their response:
As a coding plan user, please note that the Coding Plan is designed exclusively for developer tools and requires specific API endpoints. Please ensure you are using one of the following and NOT using direct curl requests:
For Claude Code: https://api.z.ai/api/anthropic
For Other Tools: https://api.z.ai/api/coding/paas/v4
For first-time setup, please follow our official guide: https://docs.z.ai/devpack/overview
API/Model: z.ai various GLM models