logoalt Hacker News

ZCode – Harness for GLM-5.2

334 pointsby chvidyesterday at 10:03 PM269 commentsview on HN

Comments

razfartoday at 6:00 AM

For anyone who uses GPT-5.5/Codex as their daily driver, how does GLM-5.2/ZCode compare, esp in a codebase already set up for agentic coding?

show 2 replies
seizethecheeseyesterday at 7:44 PM

I'm somewhat surprised that this is not open source (from what I can tell). Compare to Mimo Code https://github.com/XiaomiMiMo/MiMo-Code (which is a CLI, while this is a desktop app).

show 10 replies
m3hyesterday at 7:42 PM

Z.ai documents integrations with nearly all the popular CLI-based agents: https://docs.z.ai/devpack/tool/others

If you're already used to your TUI coding agent, you don't need the desktop agent. Although it is nice that it is there for folks who prefer the Codex App/Claude App UI approach.

show 3 replies
oxedomtoday at 6:22 AM

Closed source? No Thanks

KronisLVyesterday at 7:56 PM

Looks quite pretty! Not sure if I want to try that instead of OpenCode, maybe. OpenCode also has a desktop app, I will admit that I like their TUI one better (and honestly more than Claude Code TUI) but whole the desktop version is kinda more basic, it's nice enough: https://opencode.ai/download

That said, it's interesting that they're releasing a bunch of stuff: ZCode, OCR.z.ai, Image.z.ai, Audio.z.ai, AutoClaw and some other stuff that https://chat.z.ai/ links to. That's a lot of stuff for one org to pull off.

Figured I'd try out their Pro coding plan, seems like it doesn't necessarily give me that much quota than Opus (at least given how many tokens are needed for accomplishing a certain task), but GLM 5.2 in of itself seems like a beefier Sonnet model, pretty good.

show 2 replies
cube00yesterday at 9:00 PM

It's impressive all these companies are getting away with "base usage allowance included" [1] or "standard limits" [2], layering the higher plans as a multiplier of that "base" but never disclosing what it is.

I guess the base is whatever the profit margin needs to be this month.

[1]: https://zcode.z.ai/en#:~:text=Base%20usage%20allowance%20inc...

[2]: https://support.google.com/gemini/answer/16275805?hl=en#:~:t...

show 4 replies
paxysyesterday at 7:52 PM

UI-wise this looks a lot closer to Codex than Claude Code. It's basically an exact copy of Codex.

show 2 replies
MangoCoffeeyesterday at 9:44 PM

i like Chinese open weight model that offer cheap token but i only use it for my personal project.

China have a history of stealing IPs/trade secrets and Chinese court favored its own local companies. while US have a robust court that can enforce IPs. if you want to risk your company's IPs/trade secrets/data for some cheap token. Go ahead and use Z.ai's services.

show 3 replies
toddmoreyyesterday at 7:55 PM

Does anyone use an agnostic TUI or harness for development tasks that can fairly seamlessly switch between providers?

I'm wanting local context in the spirit of "here are 3 AI providers available, for coding tasks use this one... and for writing prose use this one... and for generating images use this one..." etc.

show 10 replies
asasidhtoday at 6:09 AM

OpenRouter + Current IDE for me. Cant be buying a new plan and change IDE every time a new model drops beyond testing for curiosity.

adithyassekhartoday at 3:20 AM

The plans on first glance is the same as Anthropic’s. I thought GLM was supposed to be cheaper. Am I missing something?

show 2 replies
hdztoday at 12:29 AM

When the harnesses commoditize, it will be the dynamic things like skills that will be the most valuable, useful thing you can bring to a harness. That seems like a long ways away though. There are still meaningful performance differences between agent harnesses.

maxlohyesterday at 8:33 PM

I don't find a closed-source Chinese agent system trustworthy.

It is essentially a black box with full user permissions, meaning you are just handing over your entire system to a Chinese-owned server. With OpenCode and its GLM provider, at least I can monitor which files were read, which were edited, and what commands were executed.

Not to mention that Chinese national security laws legally obligate companies to cooperate with state intelligence and counter-espionage efforts [0]. If you have this installed on a corporate workstation, and your company is large enough, the possibility of them spying on you is not just a risk—it's almost a certainty.

[0]: https://en.wikipedia.org/wiki/National_Intelligence_Law_of_t...

show 14 replies
guybedoyesterday at 8:28 PM

if you're going to try this one out, don't be surprised to get this message repeatedly, like 4 out of 5 prompts you're trying to send, 24/7, this is gonna be your new friend, then you'll learn to write the only prompt that matters: "retry", "retry", "retry"

Here's the message: "Cannot connect to API: write EPIPE"

d3Xt3ryesterday at 8:09 PM

   For GLM Coding Plan subscribers, quota consumed via Coding Plan for GLM-5.2 in ZCode is discounted by the coefficients below — the same usage draws down less quota, roughly 1.5x the effective allowance.
   
   Peak hours (14:00–18:00 daily)  3x -> 2x
   Off-peak (remaining 20 hours)   1x -> 0.67x
I wonder whether that is referring to local time, or CST (UTC+8)?
show 2 replies
roguedemontoday at 5:49 AM

cool to see how fast they are catching up

emersoftwaretoday at 3:46 AM

literally I paid in the morning for the pro plan and then they launched this. currently are my fav lab after Anthropic.

show 1 reply
fastballyesterday at 9:21 PM

This isn't a CLI, so not really like Claude Code. Looks more like Cursor or Conductor.

dencttoday at 4:20 AM

Does it support Azure openai and aws bedrock models as well?

vinceguidrytoday at 1:59 AM

Has anyone come up with a decent harness for small local models, say, gemma4 e4b? I'm trying to roll my own but man, the capability gap is real.

show 1 reply
MarceloHenryyesterday at 11:00 PM

Can anyone tell me if Z.AI's cheapest plan is more or less generous than Claude's cheapest plan? If it is more or less generous, could you describe the extent of the difference?

(If this comment is too formal, I'm sorry. I used Google Translate to it [this line was NOT translated])

show 1 reply
aziis98yesterday at 7:36 PM

Is this GUI only?

show 1 reply
Aeroiyesterday at 8:18 PM

sweet! i'm heaviliy using glm 5.2 in mouse.dev which is great for mobile. the ui looks really good, similar to cursor agents window ect.

unleadedyesterday at 8:01 PM

As someone who doesnt use these tools, why does every AI company need their own version of Claude Code? Is there more to it than vendor lock-in?

show 4 replies
rayesterday at 11:56 PM

I've been using this for a few weeks and it's a real workhorse.

WhitneyLandyesterday at 10:52 PM

What’s with the 3 subscription plans that are suggestive of being mapped to plans from Anthropic and Open AI?

Do they really correspond roughly? Seems like they’re trying to suggest a discount while still being worth a significant amount of monthly spend.

ahmedehab_01yesterday at 10:30 PM

I don't get why not open source it? You are already open-sourcing your weights!

show 2 replies
gck1yesterday at 8:23 PM

It's sad to see that the teams that have the most resources that can contribute to development of next-gen harnesses are essentially copying the same exact thing from each other, with no meaningful changes.

And most of the advancement and experimentation happens in some random 0-star github repos.

show 2 replies
Art9681yesterday at 8:53 PM

Yea not touching this with an any-foot pole. They are just keeping up with the Joneses now. There is no reason for this to exist but there IS a reason it is not open source. ;)

show 2 replies
luoshitoday at 1:56 AM

Coding plans are often out of stock, it's miraculous

pl04351820yesterday at 9:57 PM

Try to understand the token usage/cost with subscription plan comparing with Claude Pro. Is there benchmark somewhere for such info?

show 1 reply
teravoryesterday at 8:03 PM

it's an electron app, it highlights wrong spelling but doesn't suggest corrections. how does someone exhibit so much incompetence?

show 1 reply
ernsheongtoday at 12:09 AM

Is there any desktop coding app that can be used with local LLM?

show 3 replies
daft_pinktoday at 1:54 AM

I couldn’t find if it is soc 2 etc

shayankhyesterday at 7:41 PM

how is this cheaper?

linzhangruntoday at 1:53 AM

eager for zcode-cli. and their coding plan is always selled out.

sourdecoryesterday at 11:32 PM

Those are some odd hours though, why would evening time be peak hours? Usually (in the western world anyway), 9AM - 12PM would be peak hours.

show 1 reply
swe_dimayesterday at 8:27 PM

Is it possible to use their subscription pricing with Opencode?

show 1 reply
dizhnyesterday at 7:55 PM

This comes with a little bit of free credits. (after login)

mosbyllctoday at 1:11 AM

There are now more and more Harness clients. I hope we can have the best open-source client and the best open-source models, as this would greatly facilitate our work and operations. However, this seems unlikely in the short term.

soni_anujtoday at 1:35 AM

what is then VS code with GitHub Copilot ? It primarily does the similar things.

esafakyesterday at 7:56 PM

I tried it but went back to OC, which feels smarter.

It does have a 1.5x usage promotion for GLM 5.2 on the coding plan so now is a good time to test it...

7eyesterday at 7:40 PM

GLM-5.2 seems capable. It’s just much slower than Opus.

MarceloHenryyesterday at 10:51 PM

Is there a CLI version of it?

NamlchakKhandroyesterday at 10:46 PM

For those that want something based on Pi Mono:

- https://igorwarzocha.github.io/howcode/

- https://github.com/ruuxi/stella

- https://www.pi-gui.com/

Not using Pi, but based on PI (no extensions possible)

- https://twotimespi.dev/

jedisct1yesterday at 10:14 PM

GLM-5.2 is a great model!

But it already works really well with existing harnesses, I'm not sure why a dedicated one is needed?

I use it with https://swival.dev and everything works perfectly, no tool calling issues and it works fine with long sessions.

Nekorosuyesterday at 11:33 PM

How about no? I'd rather use something open source and local. We have enough of 3rd party controlled AI tools.

🔗 View 6 more comments