Skip to content
Not available in this workspace
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Support
  • Works With OR
  • Data

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for z-ai

Z.ai: GLM 5.2 (free)

z-ai/glm-5.2:free

Model weights
Compare

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, and complex multi-step automation.

Reasoning efforts high and xhigh are supported; xhigh maps to max reasoning. It is particularly strong at coding and tool use across long-running tasks, able to maintain engineering context and follow standards consistently through a full development workflow, from requirements to multi-platform deployment, in a single task.

Modalities

Price

Free

Context

256K

Released

Jun 16, 2026

Compare
ProvidersPerformanceUptimeBenchmarksAppsActivityFAQ

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 Exacto (highest tool-calling accuracy).

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).

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.

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows where this model lands among all models on OpenRouter.

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.

Activity

Token volume and request traffic to this model over time.

Quick Start

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.

About Z.ai: GLM 5.2 (free)

OpenRouter makes Z.ai: GLM 5.2 (free) available through a unified, OpenAI-compatible API using the model ID z-ai/glm-5.2:free. It is served by Decart.

Z.ai: GLM 5.2 (free) accepts text and returns text. It has a 256,000-token context window and a maximum output of 256,000 tokens.

It was released on June 16, 2026.

More models from Z.ai

  • GLM 5.3
  • GLM 5.1
  • GLM 5V Turbo

Frequently asked questions

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, and complex multi-step automation. Reasoning efforts high and xhigh are supported; xhigh maps to max reasoning.

Yes. The pricing shown on this page for GLM 5.2 (free) is zero, so you are not charged for prompt or completion tokens. Free endpoints are rate limited — see the rate limit docs.

GLM 5.2 (free) has a 256,000 token context window. It supports up to 256,000 completion tokens.

Yes. GLM 5.2 (free) accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.

GLM 5.3, GLM 5.1, GLM 5V Turbo and 9 more are other text models from Z.ai.

GLM 5.2 (free) was released on June 16, 2026.

FreeFree4.31s78 tps
98.18%

Throughput

78tok/s

P50, best across providers

Latency

4.31s

P50, best provider

AutoExacto Benchmarks
GPQA DiamondTAU-Bench
Wafer Fast
90.5%73.5%
Venice
85.6%77.9%
Baidu
86.4%76.8%
Z.AI
86.4%76.4%
Wafer
85.9%76.2%
Ambient
84.7%77.4%
+28 more providers
Uptime (3d)

53.15%

Availability (3d)

31.71%

Availability over the last 3 days

Last 72 hours
Availability 31.71%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
23.41%

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 customization options.

1.
Favicon for https://janitorai.com/
Janitor AI
Janitor AI is a chatbot platform where users create and chat with custom AI characters for interactive roleplay, storytelling, and immersive fiction.
364Mtokens
2.
Favicon for https://cline.bot/
Cline
Cline is an open-source AI coding agent that lives inside your IDE, autonomously exploring your codebase, editing files, running terminal commands, and using browser automation.
249Mtokens
3.
Favicon for https://sillytavern.app/
SillyTavern
SillyTavern is the LLM frontend for power users, a chat interface that connects to any model and gives deep control through character creation, roleplay, and prompt customization.
175Mtokens
4.
Favicon for https://kilocode.ai/
Kilo Code
Kilo Code is an open-source AI coding agent that works across VS Code, JetBrains, and CLI to help developers ship code faster with agentic workflows.
134Mtokens
5.
Favicon for https://lorebary.com/
Bary
Organize and enhance your roleplay creations.
132Mtokens