frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

ZCode: Claude Code from the Makers of GLM

https://zcode.z.ai/cn
161•handfuloflight•1h ago

Comments

JSR_FDED•1h ago
The English language version is:

https://zcode.z.ai/en/docs/welcome

d3Xt3r•32m ago

   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)?
brcmthrowaway•1h ago
Telemetry enabled?
aziis98•1h ago
Is this GUI only?
InsideOutSanta•56m ago
Yes.
7e•1h ago
GLM-5.2 seems capable. It’s just much slower than Opus.
shayankh•1h ago
how is this cheaper?
m3h•1h ago
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.

m3h•59m ago
Also, kudos to the Z.ai team for adding Linux support from day one.
InsideOutSanta•45m ago
Yeah, I use GLM 5.2 in OpenCode, running in a Docker container with CodeNomad as the web-based GUI. It works perfectly; I can access it from anywhere, and it runs all models (except for Anthropic's subscriptions).
owentbrown•42m ago
From your experience, is it comparable to Claude Code with Opus 4.8? How does it feel? How do the two differ?
InsideOutSanta•27m ago
It's comparable, but not the same.

For some tasks, it's better. Opus refuses tasks for me pretty regularly. GLM 5.2 has never refused a task. So for anything security-related or that touches on topics that trigger Opus's safety guardrails, I use GLM 5.2.

OTOH, for anything related to UI design, I use Opus 4.8. It's much better at taking relatively vague descriptions of user interfaces and a mockup of a related UI and combining them into an immaculate design.

For anything else, I tend to run tasks in Opus and then have GLM review them and write a Markdown file with anything it finds. Then I have Opus review the markdown file and fix the issues it agrees with. The reason I usually go with Opus 4.8 first is mainly that it's faster. Opus 4.8 is, on average, about twice as fast as GLM 5.2 running on z'ai's infrastructure for the same task. There's a large variance (sometimes GLM 5.2 is pretty fast and Opus 4.8 is pretty slow), but on average it's a very noticeable difference.

When I run into Anthropic's Quota, I switch to GLM 5.2 rather than Sonnet. I don't think there's much reason to ever use Sonnet for anything if you can use GLM 5.2 instead.

This is all pretty subjective, of course. On average, I think Opus 4.8 is still a better, more reliable, and faster model, but if it went away tomorrow and I only had GLM 5.2, I wouldn't be too sad about it; I'd get things done with GLM 5.2 just fine.

seizethecheese•58m ago
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).
dizhn•47m ago
It's only a cli because they yanked out the opencode desktop code. (As well as the opencode go/zen model provider)
SwellJoe•34m ago
I don't even know what I would do with a desktop app. I'm running these things in headless VMs, so I can run them with `--dangerously-skip-permissions` or whatever. I don't trust them, even without that flag, on my desktop/laptop.
LaurensBER•23m ago
They might be sending some user requests to Anthropic to gather trading data for their own models. If they do so, perhaps they need to add some tracer to request that they prefer to hide.
bogdan•4m ago
Source? Or is it "trust me bro"?
saghm•4m ago
Given that there's such severe concern being expressed by Anthropic about Claude being distilled, and the idea that the harness is part of the the moat, it doesn't seem super surprising that the other side of that would try to also make it harder for them to tell how well they're doing and what their approach is.
paxys•50m ago
UI-wise this looks a lot closer to Codex than Claude Code. Basically an exact copy.
hazelnut•31m ago
I would very much agree. Even the hand icon, the usage in the text field, and the sidebar style are 1:1 identical to Codex. It's a misleading title - it's not close the Claude Code.
toddmorey•47m ago
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.

daytonix•42m ago
have used both pi and opencode for the last 6 months, haven't opened a proprietary harness (cc, codex, cursor) in that same amount of time. right now i'm on pi and i can switch seamlessly between any model across any provider i want, even mid session. can even point them at locally running models.

i think people don't realize how much better life is over on this side, cc and codex rely entirely on vendor lock in imo.

l00sed•40m ago
Haha I pretty much commented the same thing one minute apart.
esafak•30m ago
why did you switch from oc to pi?
daytonix•17m ago
i like the more minimal design of the tui, feels more integrated with my existing terminal workflows. oc always looked a little out of place. i really like pi's extension ecosystem as well.
mr_mitm•17m ago
dizhn•46m ago
This comes with a little bit of free credits. (after login)
KronisLV•46m ago
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.

bitlad•43m ago
Their tui is quite heavy and crashing quite often as compared to claude code.
dimgl•16m ago
Which are you talking about? OpenCode or ZCode?
bitlad•13m ago
OpenCode
rsyring•46m ago
The site is in Chinese (?) and there is no obvious way to switch to English on mobile?
esafak•45m ago
Dang, can you change the submission url to https://zcode.z.ai/en ?
012673•45m ago
I don't know about on mobile, but on desktop there is an EN / CN button on top.
aaroninsf•43m ago
https://zcode.z.ai/en

There's an `EN` link at top right

dr_kiszonka•29m ago
Only if you have a wide enough screen. I had to rotate my phone to landscape. Thanks for the pointer!
LukaD•17m ago
It gets even wilder when you click on "Join the Linux Beta Group". That leads you to https://www.feishu.cn/download eventually. I have no clue what feishu.cn is and I don't see a language toggle. Sometimes it just seems like chinese companies simply don't want international business.
esafak•46m ago
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...

unleaded•41m ago
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?
theredleft•40m ago
implementing their own version of steganographic monitoring lol
dcre•24m ago
A joke but also not a joke.
ambicapter•23m ago
"Quality" of the harness matters a lot to the user experience, and the construction of the harness will depend on the behavior/quirks of the underlying model. So, if you're using Claude Code, you can expect it to work best with Anthropic models, and expect other model-makers to want you to use the harness they've developed.

But mostly vendor lock-in, I imagine.

teravor•39m ago
it's an electron app, it highlights wrong spelling but doesn't suggest corrections. how does someone exhibit so much incompetence?
hadlock•31m ago
Welcome to using v1.0.0 of any product
Aeroi•24m ago
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.
gck1•19m ago
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.

nadermx•17m ago
There the ones with most to prove
gtirloni•17m ago
Could you share some of these 0-star github repos?
swe_dima•15m ago
Is it possible to use their subscription pricing with Opencode?
guybedo•14m ago
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"

maxloh•8m ago
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...

Escapado•6m ago
I agree. I don't find the US competitors trustworthy either. I think open source is the way here.
eeasss•1m ago
If you are not US based that’s not really a big concern.
sparkling•13m ago
Thank you, this is the type of hands-on experience report i was looking for.
drschwabe•7m ago
Are you micromanaging your GLM costs? It seems the best bang for buck strategy right now is a Opencode Go subscription to get the subsidized rate and then switch to Openrouter's model above and beyond that + make use of a dual model strategy by having GLM 5.2 do planning and Deepseek V4 Flash for implementation.
InsideOutSanta•2m ago
No. I got the yearly highest-end GLM subscription when it was available for a few hundred bucks. I haven't run into quota limits even once.
You can use Claude Code with a self hosted model no problem. I don't believe you can switch during a session though.
l00sed•41m ago
https://opencode.ai/

OpenCode was the first agent harness I used, and I have always like it. You can configure a wide variety of providers, but it's open source and has a number of core contributors.

The other opinionated option is Pi (the Pi agent harness). This is a great lightweight option and also supports a number of providers. You can also use local model servers.

wolttam•26m ago
I use the one that I've been developing since 2023. It's intended to be used in exactly this spirit! Written in Go, has image support (which has yet to be fleshed out).

It supports MCP (unlike Pi), sandboxing (with user-mode networking), and runs efficiently at huge contexts.

https://codeberg.org/mlow/lmcli

(The screenshot in the folder is a little bit out of date, but is still representative of the overall look)

jbonatakis•11m ago
I’ve been using Crush with Openrouter and have good success lately

https://github.com/charmbracelet/crush

ZCode: Claude Code from the Makers of GLM

https://zcode.z.ai/cn
161•handfuloflight•1h ago•60 comments

For first time, a cell built from scratch grows and divides

https://www.quantamagazine.org/for-the-first-time-a-cell-built-from-scratch-grows-and-divides-202...
577•defrost•6h ago•197 comments

What to Learn to Be a Graphics Programmer

https://blog.demofox.org/2026/07/01/what-to-learn-to-be-a-graphics-programmer/
126•atan2•2h ago•50 comments

FFmpeg 9.1's new AAC encoder

https://hydrogenaudio.org/index.php/topic,129691.0.html
164•ledoge•6h ago•62 comments

Physical disc production ending in Jan 2028 for new games on PlayStation

https://blog.playstation.com/2026/07/01/physical-disc-production-ending-in-january-2028-for-new-g...
424•Tiberium•8h ago•495 comments

Claude Fable 5 Promotional Access

https://support.claude.com/en/articles/15424964-claude-fable-5-promotional-access
63•zbikowski•1h ago•30 comments

Box3D, an open source 3D physics engine

https://box2d.org/posts/2026/06/announcing-box3d/
335•makepanic•8h ago•74 comments

How We Made IPFS Content Publishing 10x Faster

https://probelab.io/blog/optimistic-provide/
112•dennis-tra•5h ago•33 comments

Internal Combustion Engine

https://ciechanow.ski/internal-combustion-engine/
215•StefanBatory•7h ago•46 comments

Monetization Gateway

https://blog.cloudflare.com/monetization-gateway/
190•soheilpro•6h ago•103 comments

Ask HN: Who is hiring? (July 2026)

112•whoishiring•5h ago•128 comments

Fable 5 Is Back

https://twitter.com/claudeai/status/2072402636813607381
146•mfiguiere•1h ago•99 comments

Show HN: Z-Jail – A 130 KB Linux sandbox-C99 with 7 defense layers and zero deps

https://github.com/Division-36/Z-Jail/
11•Zierax•1h ago•9 comments

Mortality associated with non-optimal ambient temperatures from 2000 to 2019

https://www.researchgate.net/publication/353058947_Global_regional_and_national_burden_of_mortali...
26•simonebrunozzi•3h ago•1 comments

Hanami 3.0: In Full Bloom

https://hanakai.org/blog/2026/06/30/hanami-3-0-in-full-bloom
39•PuercoPop•3h ago•7 comments

Ask HN: Who wants to be hired? (July 2026)

83•whoishiring•5h ago•181 comments

A complete ClickHouse OLAP engine, compiled to WebAssembly

https://wasm.chdb.io/
32•porridgeraisin•3h ago•3 comments

1-Bit Pixel Art Emojis

https://hypertalking.com/2023/05/15/1-bit-pixel-art-emojis/
108•surprisetalk•6d ago•16 comments

Building Gin: Simple over Easy

https://manualmeida.dev/articles/gin-simple-over-easy/
49•manucorporat•2h ago•14 comments

Generating Images with a 2025 Android

https://www.duration.ai/blog/generating-images-with-a-2025-android
5•sudb•1d ago•0 comments

Manufact (YC S25) Is Hiring a Developer Advocate in SF

https://www.ycombinator.com/companies/manufact/jobs/4cyWd6S-developer-advocate-partnerships-devrel
1•luigipederzani•7h ago

Sony Deletes 551 Movies PlayStation Owners Paid For

https://reclaimthenet.org/sony-deletes-551-studiocanal-movies-playstation-owners-paid-for
377•bilsbie•6h ago•178 comments

Launch HN: Parsewise (YC P25) – Reason Across Documents with an API

39•gergelycsegzi•6h ago•36 comments

Fixing a kubelet memory leak in Kubernetes 1.36

https://heyoncall.com/blog/fixing-kubernetes-kubelet-memory-leak
58•compumike•18h ago•12 comments

Reduce GVisor Cold Starts with GPU Snapshotting

https://cerebrium.ai/blog/reducing-gpu-cold-starts-with-memory-snapshots-restoring-cuda-workloads...
41•jono_irwin•4h ago•15 comments

Apple 'Hide My Email' vulnerability reveals peoples' real email addresses

https://easyoptouts.com/guides/apple-hide-my-email-is-leaking-email-addresses
200•sashk•10h ago•44 comments

Asahi Linux 7.1 Progress Report

https://asahilinux.org/2026/06/progress-report-7-1/
496•pantalaimon•10h ago•181 comments

Show HN: QR code renderer in a TrueType font

https://qr.jim.sh/
60•foodevl•3d ago•11 comments

Newly discovered spider builds spring loaded snare to catch ants

https://phys.org/news/2026-06-newly-australian-ballista-spider-snare.html
231•chimpanzee•3d ago•58 comments

Most rewrites serve the engineer, not the business

https://anatoliybabushka.com/blog/when-to-rewrite-working-code.html
11•bbsnly•2h ago•6 comments