I customized my own agent zero to use Z.AI, They have a plan that's like $6 a month that they say approximately three times the use of claude code And then they have other plans that are even bigger but it's pretty cost effective and the models are not bad. Anyway I saw a guy that did GitHub branch where he just basically changed the settings.json file, the user ENV file to put in the API key, and then the endpoint, which is https://api.z.ai/api/paas/v4 So it should be pretty easy to add that in future releases, or Even just accept the changes from that one dude's branch.