Z.AI: GLM 4.7

by z-ai

GLM-4.7 is Z.AI’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while delivering more natural conversational experiences and super...

#32 Code Mode$0.40/1M input tokens
Context Window
202,752 tokens
Max Output
65,535 tokens
Input Modalities
text

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

Architect

Plan and design before implementation

#26

Code

Write, modify, and refactor code

#32

Ask

Get answers and explanations

#34

Debug

Diagnose and fix software issues

#41

Orchestrator

Coordinate tasks across multiple modes

#37

Real-world metrics from the Kilo Code Leaderboard

Pricing

Cost per 1 million tokens

Input Tokens
$0.40
per 1M tokens
Output Tokens
$1.50
per 1M tokens

Example Cost

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

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-4.7
Created
December 22, 2025
Tokenizer
Other
Input Modalities
text
Context Window
202,752 tokens
Max Completion Tokens
65,535 tokens
Input Price
$0.40 per 1M tokens
Output Price
$1.50 per 1M tokens
Content Moderation
Disabled

Ready to try Z.AI: GLM 4.7?

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