
How I AI · 2026-06-24 · 27 min
I put GLM 5.2, the open-weight coding model from Z.AI, through four real tasks inside my actual codebase: a codebase architecture audit, a UI redesign, and a 45-minute autonomous bug-hunting session pulling from Sentry and Vercel logs. Total cost: $3.36 for roughly 6 million tokens, a prioritized bug-fix dashboard I’m actually shipping from, and a landing page redesign that matched Chat PRD’s design system on the first try. What you’ll learn: What “open-weight” actually means and why it matters for cost and vendor independence How to connect GLM 5.2 to Cursor and Claude Code How it performs on codebase exploration and autonomous architecture summarization in a real production Next.js app Whether GLM 5.2 can match an existing design system How the model handles a 45-minute long-running autonomous task Where GLM 5.2 stumbled The actual cost breakdown -