GLM-5.2 Is Production-Ready for Agent Work — Here's How to Actually Benchmark It
The Claim and Why It's Credible
GLM-5.2 is the first open-weight model where senior practitioners are flipping defaults, not writing thinkpieces. @_xjdr switched ncode's default to GLM-5.2. Cline's benchmarks show it producing cleaner output than Opus 4.8. It catches dead code and confirms production builds. Opus left type errors that passed the test suite. The API price is $1.40/$4.40 per million tokens. On real agent workloads that lands at $0.41/task versus $0.81 for Opus.
DeepSWE: 44% at $3.92/task average. Not frontier on every benchmark. Cheap enough to be the rational default for non-latency-critical agent loops. It ships on 20+ providers at >280 tok/s with <0.8s TTFT. That is production throughput, not a research demo.
The Multi-Model Stack Pattern
The homelab community is already running purpose-matched stacks. GLM-5.2 as planner at ~7 tok/s on 4x RTX 3090, slower but thorough. MiniMax 2.7 as coding executor at 45 tok/s, fits fully in VRAM. Qwen3.6 27B as checker/tester at 50 tok/s. This is Sakana's Fugu thesis, learned model routing, implemented by hand with full cost transparency.
Monolithic single-model agent loops leave performance and cost on the table. The question is no longer whether to use multiple models, but which role each model fills.
The self-hosting math: ~$6,000 for a 4x RTX 3090 + 192GB DDR5 rig. The community puts breakeven at ~5.5 years versus API pricing. On pure cost it does not pencil. Add availability guarantees, privacy requirements, and freedom from API rate limits, and it flips for high-utilization workloads. Especially while supply constraints keep Blackwell above $10/hour in bulk.
How to Run the Evaluation This Week
The headline cost ratio rarely survives a long tool-use trace. Cost-per-token is a vendor metric. Cost-per-successful-task is the only number that matters. Pick the three agent tasks burning the most Opus tokens this month. Replay them against GLM-5.2 with the same tools, system prompt, and retry policy. Log tokens, wall-clock, tool-call count, task success rate.
One caveat. Sakana's Fugu trails Opus on SWE-Bench Pro by ~10 points and the baselines are opaque. If the plan is a managed orchestration layer, demand cost accounting transparency before production. The DIY multi-model stack gives you that transparency by construction.
What to do
Identify your top 3 agent tasks by Opus token spend and replay them against GLM-5.2 with identical tooling by end of this week
Prototype a multi-model agent stack (planner/executor/checker) on one production workflow this sprint
Track Sakana Fugu's cost accounting disclosures before considering managed orchestration