Skip to main content

Z.ai: GLM 5.2 (new) Coding Benchmark

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Context1,048,576tokens
Max Output131,072tokens
Inputmodality
Price$1.40/1M input

Try Z.ai: GLM 5.2 (new) in Kilo Code

Experience this model with the most popular open source coding agent. Free to start, pay only for AI usage. Use in popular IDEs like VS Code, JetBrains, command line, or cloud agents.

3M+

Downloads

500+

models supported

Free

to Start

Access 500+ models including Z.ai: GLM 5.2 (new) and many more in Kilo Code

Coding Performance

Coding benchmarks and performance metrics for development tasks

Kilo Bench

% Completion on Terminal Bench 2.0
53.0%
Cost per attempt (USD)
$26.21
Benchmark
Terminal Bench 2.0

Official Kilo eval results. Cost is averaged per complete benchmark attempt.

OpenClaw Benchmarks

PinchBench measures how Z.ai: GLM 5.2 (new) performs on real OpenClaw agent tasks: multi-step execution, tool use, recovery, latency, and cost.

Average score

87.0%

#10 of 50 official models

Average time

263m 19s

5 runs · per OpenClaw task

Average cost

$19.214

Per benchmark run

Category breakdown

Best verified PinchBench v2 run by OpenClaw task family.

Memory100.0% · 2/2 cleared
Writing96.2% · 2/6 cleared
Productivity96.1% · 5/8 cleared
Csv Analysis96.0% · 6/26 cleared

Top task results

Highest-scoring benchmark tasks from the same submission.

Analysis
Access Control Log Anomaly Detection
100.0%
Log Analysis
Apache Error Log - Create Error Timeline
100.0%
Log Analysis
Apache Error Log - Identify Problematic Client IPs
100.0%
Csv Analysis
Apple Stock 2014 Best and Worst Days
100.0%
Coding
Browser Automation Workflow
100.0%
Productivity
Calendar Event Creation
100.0%

Autonomous task execution

Z.ai: GLM 5.2 (new) shows strong average success across OpenClaw-style benchmark runs, useful for recurring research, browser, and file-based automations.

Tool use and recovery

PinchBench tasks stress multi-step planning, tool calls, and judge-verified completion rather than single prompt coding snippets.

Agent workflow fit

Its deliberate average runtime and premium run cost help set expectations for long-running KiloClaw agents and production workflows.

Agentic benchmarks from the PinchBench Leaderboard

Real-World Usage

Real-world usage statistics from the Kilo Code community

Weekly Token Usage

Mode Rankings (Last Week)

Where this model ranks for each built-in mode

Code

Write, modify, and refactor code

No data

Ask

Get answers and explanations

No data

Debug

Diagnose and fix software issues

No data

Orchestrator

Coordinate tasks across multiple modes

No data

Real-world metrics from the Kilo Code Leaderboard

Pricing

Cost per 1 million tokens

Input Tokens
$1.40
per 1M tokens
Output Tokens
$4.40
per 1M tokens

Example Cost

Analyzing a 10,000 line codebase (≈40k input tokens, 10k output tokens) costs approximately $0.1000

Coding Capabilities

Features and parameters relevant to coding tasks

Coding Features

Function Calling
Can call external functions/APIs
Tool Choice
Control over function selection
Structured Outputs
JSON schema validation
Reasoning Tokens
Extended thinking for complex problems

Pricing details from OpenRouter

Technical Details

Architecture and implementation specifications

Specifications
Model ID
z-ai/glm-5.2
Created
June 16, 2026
Tokenizer
Other
Input Modalities
Text
Context Window
1,048,576 tokens
Max Completion Tokens
131,072 tokens
Input Price
$1.40 per 1M tokens
Output Price
$4.40 per 1M tokens
Cache Read Price
$0.26 per 1M tokens
Content Moderation
Disabled

Ready to try Z.ai: GLM 5.2 (new)?

Install Kilo Code and start using Z.ai: GLM 5.2 (new) for your coding projects today. Choose from 500+ AI models with complete freedom.

  1. Install Kilo Code

    Get the extension from VS Code Marketplace, JetBrains Plugin Repository, or the CLI.

  2. Open the model selector

    Click the model name in the Kilo Code chat panel to open the selector.

  3. Choose your model

    Search or browse to find and select your preferred model.

  4. Start coding

    Use Code, Ask, Debug, or Plan mode — the model is ready immediately.