Skip to main content

Z.ai: GLM 5.1

Recommended

by z-ai

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

76.0% PinchBench§#34 Code Mode$0.00/1M input tokens
Context Window
202,800 tokens
Max Output
202,800 tokens
Input Modalities
text

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

Benchmarking Z.ai: GLM 5.1

PinchBench data · refreshed daily

OpenClaw Benchmarks

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

Average score

76.0%

#24 of 50 official models

Average time

190m 7s

10 runs · per OpenClaw task

Average cost

$9.846

Per benchmark run

Category breakdown

Best verified PinchBench v2 run by OpenClaw task family.

Analysis100.0% · 1/1 cleared
Basic100.0% · 1/1 cleared
Calendar100.0% · 1/1 cleared
Coding100.0% · 1/1 cleared

Top task results

Highest-scoring benchmark tasks from the same submission.

Analysis
Access Control Log Anomaly Detection
100.0%
Calendar
Calendar Event Creation
100.0%
File Ops
Create Project Structure
100.0%
File Ops
File Structure Creation
100.0%
Comprehension
OpenClaw Report Comprehension
100.0%
Basic
Sanity Check
100.0%

Autonomous task execution

Z.ai: GLM 5.1 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

#34

Ask

Get answers and explanations

#39

Debug

Diagnose and fix software issues

#42

Orchestrator

Coordinate tasks across multiple modes

#45

Real-world metrics from the Kilo Code Leaderboard

Pricing

Available at no cost

Free

This model is currently available at no cost in Kilo Code.

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.1
Created
April 7, 2026
Tokenizer
Other
Input Modalities
text
Context Window
202,800 tokens
Max Completion Tokens
202,800 tokens
Input Price
$0.00 per 1M tokens
Output Price
$0.00 per 1M tokens
Content Moderation
Disabled

Ready to try Z.ai: GLM 5.1?

Install Kilo Code and start using Z.ai: GLM 5.1 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.