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"}

3 replies 570 views

3 Replies

Rumus 4/15/2026

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!

Rumus 4/19/2026

Hi, these issues have been addressed in v0.1.16.

For details, see the changelog.

Bilal Bayasut 4/23/2026

Thanks!

Related Posts