Z Code and GLM-5.2 Performance Overview
AICodeKinggo watch the original →
the gist
Z Code is a new coding agent interface for GLM-5.2 that offers a 5 million daily token free tier, providing competitive performance on long-horizon coding benchmarks compared to proprietary models.
Z Code Agent Capabilities
Z Code is a specialized coding agent interface designed for GLM models, featuring an aesthetic and functional workflow similar to OpenAI Codex. The platform allows users to manage projects, install skills via a marketplace, and integrate MCP servers or plugins. Users can trigger agentic tasks, inspect elements directly from a browser preview, and utilize built-in DevTools for console log debugging. A notable feature is the ability to connect the agent to remote messaging platforms like WeChat to initiate tasks from external environments.
Performance and Benchmarks
GLM-5.2 demonstrates significant improvements over its predecessor, particularly in long-horizon agentic tasks. On the Frontier Sway benchmark, which tests open-ended technical projects, GLM-5.2 achieves a score of 74, placing it within one point of Claude 3 Opus. In the Post-Train Bench, which evaluates an agent's ability to manage model training experiments, GLM-5.2 scores 34.3, outperforming GPT-4o. While it remains competitive in coding benchmarks like SWE-bench Pro (62.1) and Terminal Bench 2.1 (81), it still trails Claude 3 Opus on the most complex, long-duration tasks such as the See Marathon benchmark.
Limitations and Value
Despite its strong benchmark performance and MIT-licensed open-weights status, Z Code currently lacks several standard developer features. The interface does not include a file explorer, a dedicated changelog view, worktree support, or one-click Git initialization. While the 5 million daily token allowance provides high utility for day-to-day workflows, the underlying GLM-5.2 model is computationally expensive for API users, with costs reaching 140 cents per million input tokens and 440 cents per million output tokens.