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 4.7

z-ai/glm-4.7

Model weights
Compare

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 superior front-end aesthetics.

Modalities

In / Out Price

$0.40 / $1.75per 1M

Context

205K

Released

Dec 22, 2025

Compare
ProvidersPricingPerformanceUptimeBenchmarksAppsActivityFAQ

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

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.

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 4.7

OpenRouter makes Z.ai: GLM 4.7 available through a unified, OpenAI-compatible API using the model ID z-ai/glm-4.7. Requests can be routed across 8 providers, including DeepInfra, StreamLake, AtlasCloud, NovitaAI, Venice, Z.ai, Google Vertex and Mancer, with automatic failover when an endpoint is unavailable.

Z.ai: GLM 4.7 accepts text and returns text. It has a 204,800-token context window and a maximum output of 131,072 tokens.

On OpenRouter, Z.ai: GLM 4.7 costs $0.40/M input tokens and $1.75/M output tokens, with separate rates for Cache Read at $0.08/M tokens. Effective pricing can be lower when prompt caching applies. It was released on December 22, 2025.

More models from Z.ai

  • GLM 5.3
  • GLM 5.2
  • GLM 5.1

Frequently asked questions

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 superior front-end aesthetics.

GLM 4.7 costs $0.40/M input tokens and $1.75/M output tokens, with separate rates for Cache Read at $0.08/M tokens.

GLM 4.7 has a 204,800 token context window. It supports up to 131,072 completion tokens.

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

GLM 4.7 is served by 8 providers on OpenRouter: DeepInfra, StreamLake, AtlasCloud, NovitaAI, Venice, Z.ai, Google Vertex and Mancer. Requests are routed to the best available provider, with automatic failover to the others, and you can pin or exclude providers with provider routing.

GLM 4.7 was released on December 22, 2025.

$0.40$1.75$0.080.79s26 tps
99.73%
$0.52$1.85$0.121.66s39 tps
95.88%
$0.55$2.65$0.111.06s25 tps
99.64%
$0.60$2.20--0.45s96 tps
99.73%
$0.60$2.50--1.24s19 tps
99.44%
20% off
$0.60$0.48$2.20$1.76--1.63s28 tps
93.53%
10% off
$0.60$0.54$2.20$1.98$0.11$0.0992.12s25 tps
94.49%
$0.60$2.20$0.115.43s26 tps
91.26%

Throughput

96tok/s

P50, best across providers

Latency

0.45s

P50, best provider

AutoExacto Benchmarks
GPQA DiamondTAU-Bench
NovitaAI
84.6%73.6%
AtlasCloud
82.4%74.7%
DeepInfra
81.2%74.7%
Google Vertex
81.6%74.0%
Z.ai
83.4%71.8%
+5 more providers
Uptime (3d)

100.00%

Availability (3d)

99.97%

Availability over the last 3 days

Last 72 hours
Availability 99.97%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.96%
Without Routing
77.43%

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://fish.audio/
Fish Audio - the most realistic AI voice generator
AI-powered text-to-speech (TTS) voice generator and voice cloning platform designed to create highly realistic, emotional, and lifelike audio.
39.2Btokens
2.
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.
13.5Btokens
3.
Favicon for https://www.mydreamcompanion.com/
My Dream Companion
new
9.27Btokens
4.
Favicon for https://sozsytvbpmuemxtqrkoe.supabase.co/
Agent Blitz Chat
new
4.65Btokens
5.
Favicon for https://lorebary.com/
Bary
Organize and enhance your roleplay creations.
4.11Btokens