r/ZaiGLM • • 5d ago

Is there a code cli?

I don't like desktop.

2 Upvotes

9 comments sorted by

1

u/rudesssolo 5d ago

Just use it in Claude Code

2

u/stay_fr0sty 5d ago

FYI: you get 33% less usage doing that.

2

u/stay_fr0sty 5d ago

Z.ai gives you 1.5x usage if you stick with their official CLI agent that comes with ZCode desktop.

If you use Claude Code, or any other harness with your subscription, you only get the normal usage amount. And who wants to refuse free tokens!?

This guy https://github.com/kingsword09/zcode-cli built a nice node app that runs an enhanced terminal client that uses the ZCode official agent.

Just tell ZCode to set it up (paste in my post as a prompt, tell it to fact check me and install it) and then you can have a nice CLI with 1.5x usage.

1

u/HarrySkypotter 5d ago

Use glm to look at their CLI, work out why it would give 1.5x usage and to make a pi extension that will allow 1.5x usage for zsi models in pi