B

zai glm model got API error 404

Bilal Bayasut · April 15, 2026 at 03:23 AM
Bug Report

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 replies 34 views

1 Reply

Rumus 3d ago

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:

  1. Add a new custom model and choose OpenAI Compatible

  2. For the endpoint URL, paste the full path: https://api.z.ai/api/coding/paas/v4/chat/completions

  3. Fill in your API key and model ID (e.g. glm-5)

Thanks again for the report!

Related Posts