Skip to main content

Z.ai: GLM 5

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...

67.5% PinchBench§#16 Code Mode$1.00/1M input tokens
Context Window
202,752 tokens
Max Output
16,384 tokens
Input Modalities
text

Try Z.ai: GLM 5 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 and many more in Kilo Code

Benchmarking Z.ai: GLM 5

PinchBench data · refreshed daily

OpenClaw Benchmarks

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

Average score

67.5%

#44 of 50 official models

Average time

24m 7s

29 runs · per OpenClaw task

Average cost

$0.519

Per benchmark run

Category breakdown

Best verified PinchBench v2 run by OpenClaw task family.

Basic100.0% · 1/1 cleared
Calendar100.0% · 1/1 cleared
Coding100.0% · 1/1 cleared
Data Analysis98.4% · 0/1 cleared

Top task results

Highest-scoring benchmark tasks from the same submission.

Writing
Blog Post Writing
100.0%
Calendar
Calendar Event Creation
100.0%
File Ops
Create Project Structure
100.0%
Basic
Sanity Check
100.0%
File Ops
Search and Replace in Files
100.0%
Research
Stock Price Research
100.0%

Autonomous task execution

Z.ai: GLM 5 shows emerging 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

#16

Ask

Get answers and explanations

#8

Debug

Diagnose and fix software issues

#26

Orchestrator

Coordinate tasks across multiple modes

#15

Real-world metrics from the Kilo Code Leaderboard

Pricing

Cost per 1 million tokens

Input Tokens
$1.00
per 1M tokens
Output Tokens
$3.20
per 1M tokens

Example Cost

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

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

Model ID
z-ai/glm-5
Created
February 11, 2026
Tokenizer
Other
Input Modalities
text
Context Window
202,752 tokens
Max Completion Tokens
16,384 tokens
Input Price
$1.00 per 1M tokens
Output Price
$3.20 per 1M tokens
Cache Read Price
$0.20 per 1M tokens
Content Moderation
Disabled

Ready to try Z.ai: GLM 5?

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

  1. 1.

    Install Kilo Code

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

  2. 2.

    Open the model selector

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

  3. 3.

    Choose your model

    Search or browse to find and select your preferred model.

  4. 4.

    Start coding

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