Favicon for z-ai

Z.ai: GLM 4.6

Compared with GLM-4.5, this generation brings several key improvements:

Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex agentic tasks. Superior coding performance: The model achieves higher scores on code benchmarks and demonstrates better real-world performance in applications such as Claude Code、Cline、Roo Code and Kilo Code, including improvements in generating visually polished front-end pages. Advanced reasoning: GLM-4.6 shows a clear improvement in reasoning performance and supports tool use during inference, leading to stronger overall capability. More capable agents: GLM-4.6 exhibits stronger performance in tool using and search-based agents, and integrates more effectively within agent frameworks. Refined writing: Better aligns with human preferences in style and readability, and performs more naturally in role-playing scenarios.

Modalities
In / out price
$0.43 / $1.75per 1M
Context
205K
Released
Sep 30, 2025
Knowledge cutoff
Mar 2025

Providers

Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick: Balanced (price + speed), Nitro (fastest), or Floor (cheapest).

  • Not used in Standard routing:Why these endpoints are not used

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Weighted average

Input
$0.2367/M tokens
Output
$2.047/M tokens
Price history
No effective price data for this selection
  • Not used in Standard routing:Why these endpoints are not used

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Throughput
55tok/s

P50, best across providers

Latency
0.68s

P50, best provider

AutoExacto benchmarks
GPQA DiamondTAU-BenchZ.ai85.3%73.9%NovitaAI83.9%72.1%auto-routing77.6%72.1%DeepInfra79.0%69.1%Venice72.5%70.1%

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Uptime (3d)The model was reachable. Request routed to a provider.
100.00%
Availability (3d)The model returned inference from any provider. Errors and empty responses count against it.
99.56%

Availability over the last 3 days

Last 72 hours
Availability 99.56%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.48%
Without Routing
96.42%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and provider routing options.

Benchmarks

Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

1.
Favicon for https://janitorai.com/
Janitor AI
11.2Btokens
2.
Favicon for https://lorebary.com/
Sophia's LoreBary
3.94Btokens
3.
Favicon for https://sillytavern.app/
SillyTavern
2.05Btokens
4.
Favicon for https://nousresearch.com
Hermes Agent
1.45Btokens
5.
Favicon for https://chub.ai/
Chub AI
1.15Btokens
Rest of OpenRouter
1,000M
Top 5 Apps
345M

Activity

Token volume and request traffic to this model over time.

API

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

Not currently available through EU in-region routing. In-region routing docs

Frequently asked questions

Explore more models