I tried to put my zai glm coding plan as custom model, but got Error: API error 404: {"timestamp":"2026-04-15T03:21:38.652+00:00","status":404,"error":"Not Found","path":"/v4/v1/chat/completions"}
1 Reply
Hi Bilal,
Thanks for reporting this! We've identified the bug and a fix is on the way.
As a quick workaround, you can use the OpenAI-Compatible provider type instead:
Add a new custom model and choose OpenAI Compatible
For the endpoint URL, paste the full path:
https://api.z.ai/api/coding/paas/v4/chat/completionsFill in your API key and model ID (e.g.
glm-5)
Thanks again for the report!
Related Posts
Error detecting distro in installation scripts in some edge cases
As of now, Rumus’ installation script only checks if or is available. This leads to some problems: It is common for developers to install package …
Font Rendering and Claude Code Black Border Issue
Prominent black borders are appearing within the Claude code interface, and the rendering of Chinese fonts seems abnormal! Additionally, the code font…
The command generated by ai cannot be automatically executed. After clicking execute, only the command will pop up. Manual operation of the command line is required.
Unknown error with OpenAI Compatible API
I'm getting "Error: Unknown error" when connecting to OpenAI Compatible with base URL .
A fresh install requires a key?
After a fresh installation, when clicking "Host Management" in the dropdown menu without going into settings first, the software prompts for a key. Ho…