# ZCode
ZCode is [[Zhipu AI (Z.ai)]]'s coding agent harness for [[GLM-5.2]] — a desktop GUI app (Electron) plus a CLI, positioned as Z.ai's answer to [[Claude Code]] and [[Codex CLI]] with first-party pricing advantages for its own model. Closed source.
## What it offers
- Desktop GUI in the Codex/Cursor mold, plus a CLI variant
- **GLM-5.2 at preferential rates** on Z.ai coding plans, including a 0.67x off-peak coefficient covering 20 hours a day — pricing as the wedge, not features
- Remote execution over [[Docker]] or SSH
- Other providers connectable via configuration; the economics only favor GLM
- Sits in Z.ai's wider tool suite (OCR, image, audio)
## Reception (HN, July 2026)
- GLM-5.2 held up next to Claude Opus on some tasks — including security work Opus refuses — but runs noticeably slower
- The app itself underwhelmed: Electron sluggishness, API connection errors (`write EPIPE`), UI that imitates existing harnesses without adding ideas
- Telemetry is on, and the closed-source-plus-Chinese-ownership combination drew the predictable data-handling debate — with the counterpoint that Western closed tools ask for the same trust
## My take
The harness is the least interesting part; the story is a frontier-adjacent model sold below Western rates with time-of-day pricing. Worth watching as the "good-enough model, aggressive pricing" pattern — the same one [[Cursor|Cursor]] runs with Composer, and TrueForge's GLM benchmark exploits.
## References
- [ZCode](https://zcode.z.ai/en)
- [HN discussion](https://news.ycombinator.com/item?id=48753715)
## Related
- [[Zhipu AI (Z.ai)]] · [[GLM-5.2]]
- [[Claude Code]] · [[Codex CLI]] · [[Cursor]] — what it imitates
- [[AI Agent Harness]]
- [[TrueForge]] — same "cheaper model, same completion rate" argument