Z.ai: GLM 5.2

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 engineerin…

z-ai/glm-5.2-20260616

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.

Specifications & capabilities

Input
text
Output
text
Context window · tokens
1048576
Published model ID
GLM-5.2
Capabilities
promptCaching, reasoning, structuredOutputs, toolCalling
Description source ↗

Evaluations

61–69 / 69

OpenRouter Benchmarks

68.444%

source id
openRouterBenchmarks
leaderboard name
tau2-bench Verified Airline · Accuracy · GMICloud
dimension
agentic
metric
tau2-bench Verified Airline · Accuracy
rank
20
sample size
600
aggregation scope
status
published
harness
url
https://github.com/OpenRouterTeam/benchmark-harness
name
OpenRouter benchmark harness
direction
higherIsBetter
run_count
12
conditions
window
newest 90 days; successful visible nonzero runs
dataset
benchmark-leaderboard
benchmark
id
tau_bench_verified_airline
name
tau2-bench Verified Airline
record_kind
aggregate
provider_name
GMICloud
attribution
Source: OpenRouter (openrouter.ai), licensed under CC BY 4.0: reuse and republish with attribution to OpenRouter.
last_run_at
2026-11-10T06:53:22.469Z
license_url
https://creativecommons.org/licenses/by/4.0/
methodology
Rows aggregate the benchmark-runs dataset exactly as the leaderboard pages do, over each benchmark's non-zero-score runs from the newest 90 days: accuracy is the task-weighted mean of per-run accuracy, accuracy_std_dev is the population standard deviation of per-run accuracy (null with a single run), and the per-task averages divide summed cost, generation time, and output tokens by summed tasks. Rows are ordered by accuracy descending, then model name.
metric_kind
tau2-bench Verified Airline · Accuracy
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
sample_size
600
source_file
benchmark-leaderboard.json
source_page
https://openrouter.ai/benchmarks/tau2-bench-airline
measurements
accuracy
0.6844444166666667
accuracy_std_dev
0.04779057451432995
cost_per_task_usd
0.10127122666666667
output_tokens_per_task
7013.575
latency_seconds_per_task
175.036245
published_at
2026-11-16T01:46:02.653Z
snapshot_date
2026-11-16
source_revision
7ccaf17664252a3053dcb7df8ad0a46e72954a3b4524ddc1c8a7ef8a41b15568
transformations
TensorTrace preserves source results, converts latency to seconds and derives ranks within matching conditions. Individual runs have no derived rank.
metric_population
23
benchmark_evaluation
true
openrouter_permaslug
z-ai/glm-5.2-20260616
source model id
z-ai/glm-5.2-20260616
Original result ↗

OpenRouter Benchmarks

69.6%

source id
openRouterBenchmarks
leaderboard name
tau2-bench Verified Airline · Accuracy · Venice
dimension
agentic
metric
tau2-bench Verified Airline · Accuracy
rank
28
sample size
500
aggregation scope
status
published
harness
url
https://github.com/OpenRouterTeam/benchmark-harness
name
OpenRouter benchmark harness
direction
higherIsBetter
run_count
10
conditions
window
newest 90 days; successful visible nonzero runs
dataset
benchmark-leaderboard
benchmark
id
tau_bench_verified_airline
name
tau2-bench Verified Airline
record_kind
aggregate
provider_name
Venice
attribution
Source: OpenRouter (openrouter.ai), licensed under CC BY 4.0: reuse and republish with attribution to OpenRouter.
last_run_at
2026-10-31T21:47:15.954Z
license_url
https://creativecommons.org/licenses/by/4.0/
methodology
Rows aggregate the benchmark-runs dataset exactly as the leaderboard pages do, over each benchmark's non-zero-score runs from the newest 90 days: accuracy is the task-weighted mean of per-run accuracy, accuracy_std_dev is the population standard deviation of per-run accuracy (null with a single run), and the per-task averages divide summed cost, generation time, and output tokens by summed tasks. Rows are ordered by accuracy descending, then model name.
metric_kind
tau2-bench Verified Airline · Accuracy
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
sample_size
500
source_file
benchmark-leaderboard.json
source_page
https://openrouter.ai/benchmarks/tau2-bench-airline
measurements
accuracy
0.696
accuracy_std_dev
0.036049398208569304
cost_per_task_usd
0.11530058400000001
output_tokens_per_task
9663.674
latency_seconds_per_task
126.8785
published_at
2026-11-16T01:46:02.653Z
snapshot_date
2026-11-16
source_revision
7ccaf17664252a3053dcb7df8ad0a46e72954a3b4524ddc1c8a7ef8a41b15568
transformations
TensorTrace preserves source results, converts latency to seconds and derives ranks within matching conditions. Individual runs have no derived rank.
metric_population
38
benchmark_evaluation
true
openrouter_permaslug
z-ai/glm-5.2-20260616
source model id
z-ai/glm-5.2-20260616
Original result ↗

OpenRouter Benchmarks

71.8%

source id
openRouterBenchmarks
leaderboard name
tau2-bench Verified Airline · Accuracy · Novita
dimension
agentic
metric
tau2-bench Verified Airline · Accuracy
rank
29
sample size
500
aggregation scope
status
published
harness
url
https://github.com/OpenRouterTeam/benchmark-harness
name
OpenRouter benchmark harness
direction
higherIsBetter
run_count
10
conditions
window
newest 90 days; successful visible nonzero runs
dataset
benchmark-leaderboard
benchmark
id
tau_bench_verified_airline
name
tau2-bench Verified Airline
record_kind
aggregate
provider_name
Novita
attribution
Source: OpenRouter (openrouter.ai), licensed under CC BY 4.0: reuse and republish with attribution to OpenRouter.
last_run_at
2026-10-31T20:01:58.593Z
license_url
https://creativecommons.org/licenses/by/4.0/
methodology
Rows aggregate the benchmark-runs dataset exactly as the leaderboard pages do, over each benchmark's non-zero-score runs from the newest 90 days: accuracy is the task-weighted mean of per-run accuracy, accuracy_std_dev is the population standard deviation of per-run accuracy (null with a single run), and the per-task averages divide summed cost, generation time, and output tokens by summed tasks. Rows are ordered by accuracy descending, then model name.
metric_kind
tau2-bench Verified Airline · Accuracy
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
sample_size
500
source_file
benchmark-leaderboard.json
source_page
https://openrouter.ai/benchmarks/tau2-bench-airline
measurements
accuracy
0.718
accuracy_std_dev
0.027170482351257574
cost_per_task_usd
0.049269784
output_tokens_per_task
9812.098
latency_seconds_per_task
173.368438
published_at
2026-11-16T01:46:02.653Z
snapshot_date
2026-11-16
source_revision
7ccaf17664252a3053dcb7df8ad0a46e72954a3b4524ddc1c8a7ef8a41b15568
transformations
TensorTrace preserves source results, converts latency to seconds and derives ranks within matching conditions. Individual runs have no derived rank.
metric_population
52
benchmark_evaluation
true
openrouter_permaslug
z-ai/glm-5.2-20260616
source model id
z-ai/glm-5.2-20260616
Original result ↗

OpenRouter Benchmarks

70.182%

source id
openRouterBenchmarks
leaderboard name
tau2-bench Verified Airline · Accuracy · DeepInfra
dimension
agentic
metric
tau2-bench Verified Airline · Accuracy
rank
36
sample size
550
aggregation scope
status
published
harness
url
https://github.com/OpenRouterTeam/benchmark-harness
name
OpenRouter benchmark harness
direction
higherIsBetter
run_count
11
conditions
window
newest 90 days; successful visible nonzero runs
dataset
benchmark-leaderboard
benchmark
id
tau_bench_verified_airline
name
tau2-bench Verified Airline
record_kind
aggregate
provider_name
DeepInfra
attribution
Source: OpenRouter (openrouter.ai), licensed under CC BY 4.0: reuse and republish with attribution to OpenRouter.
last_run_at
2026-10-31T20:18:13.909Z
license_url
https://creativecommons.org/licenses/by/4.0/
methodology
Rows aggregate the benchmark-runs dataset exactly as the leaderboard pages do, over each benchmark's non-zero-score runs from the newest 90 days: accuracy is the task-weighted mean of per-run accuracy, accuracy_std_dev is the population standard deviation of per-run accuracy (null with a single run), and the per-task averages divide summed cost, generation time, and output tokens by summed tasks. Rows are ordered by accuracy descending, then model name.
metric_kind
tau2-bench Verified Airline · Accuracy
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
sample_size
550
source_file
benchmark-leaderboard.json
source_page
https://openrouter.ai/benchmarks/tau2-bench-airline
measurements
accuracy
0.7018181818181818
accuracy_std_dev
0.033525796984135756
cost_per_task_usd
0.04067215272727272
output_tokens_per_task
8505.803636363637
latency_seconds_per_task
142.41750727272728
published_at
2026-11-16T01:46:02.653Z
snapshot_date
2026-11-16
source_revision
7ccaf17664252a3053dcb7df8ad0a46e72954a3b4524ddc1c8a7ef8a41b15568
transformations
TensorTrace preserves source results, converts latency to seconds and derives ranks within matching conditions. Individual runs have no derived rank.
metric_population
63
benchmark_evaluation
true
openrouter_permaslug
z-ai/glm-5.2-20260616
source model id
z-ai/glm-5.2-20260616
Original result ↗

OpenRouter Benchmarks

85.178%

source id
openRouterBenchmarks
leaderboard name
GPQA Diamond · Accuracy · auto-routing
dimension
knowledge
metric
GPQA Diamond · Accuracy
rank
59
sample size
2178
aggregation scope
status
published
harness
url
https://github.com/OpenRouterTeam/benchmark-harness
name
OpenRouter benchmark harness
direction
higherIsBetter
run_count
11
conditions
window
newest 90 days; successful visible nonzero runs
dataset
benchmark-leaderboard
benchmark
id
gpqa_diamond
name
GPQA Diamond
record_kind
aggregate
provider_name
auto-routing
attribution
Source: OpenRouter (openrouter.ai), licensed under CC BY 4.0: reuse and republish with attribution to OpenRouter.
last_run_at
2026-10-31T16:09:19.244Z
license_url
https://creativecommons.org/licenses/by/4.0/
methodology
Rows aggregate the benchmark-runs dataset exactly as the leaderboard pages do, over each benchmark's non-zero-score runs from the newest 90 days: accuracy is the task-weighted mean of per-run accuracy, accuracy_std_dev is the population standard deviation of per-run accuracy (null with a single run), and the per-task averages divide summed cost, generation time, and output tokens by summed tasks. Rows are ordered by accuracy descending, then model name.
metric_kind
GPQA Diamond · Accuracy
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
sample_size
2178
source_file
benchmark-leaderboard.json
source_page
https://openrouter.ai/benchmarks/gpqa-diamond
measurements
accuracy
0.8517752727272727
accuracy_std_dev
0.014241886054177125
cost_per_task_usd
0.1367359797979798
output_tokens_per_task
49949.342975206615
latency_seconds_per_task
439.34194123048667
published_at
2026-11-16T01:46:02.653Z
snapshot_date
2026-11-16
source_revision
7ccaf17664252a3053dcb7df8ad0a46e72954a3b4524ddc1c8a7ef8a41b15568
transformations
TensorTrace preserves source results, converts latency to seconds and derives ranks within matching conditions. Individual runs have no derived rank.
metric_population
132
benchmark_evaluation
true
openrouter_permaslug
z-ai/glm-5.2-20260616
source model id
z-ai/glm-5.2-20260616
Original result ↗

OpenRouter Benchmarks

70.933%

source id
openRouterBenchmarks
leaderboard name
tau2-bench Verified Airline · Accuracy · auto-routing
dimension
agentic
metric
tau2-bench Verified Airline · Accuracy
rank
67
sample size
500
aggregation scope
status
published
harness
url
https://github.com/OpenRouterTeam/benchmark-harness
name
OpenRouter benchmark harness
direction
higherIsBetter
run_count
10
conditions
window
newest 90 days; successful visible nonzero runs
dataset
benchmark-leaderboard
benchmark
id
tau_bench_verified_airline
name
tau2-bench Verified Airline
record_kind
aggregate
provider_name
auto-routing
attribution
Source: OpenRouter (openrouter.ai), licensed under CC BY 4.0: reuse and republish with attribution to OpenRouter.
last_run_at
2026-10-31T19:54:42.760Z
license_url
https://creativecommons.org/licenses/by/4.0/
methodology
Rows aggregate the benchmark-runs dataset exactly as the leaderboard pages do, over each benchmark's non-zero-score runs from the newest 90 days: accuracy is the task-weighted mean of per-run accuracy, accuracy_std_dev is the population standard deviation of per-run accuracy (null with a single run), and the per-task averages divide summed cost, generation time, and output tokens by summed tasks. Rows are ordered by accuracy descending, then model name.
metric_kind
tau2-bench Verified Airline · Accuracy
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
sample_size
500
source_file
benchmark-leaderboard.json
source_page
https://openrouter.ai/benchmarks/tau2-bench-airline
measurements
accuracy
0.7093333
accuracy_std_dev
0.02924233156931914
cost_per_task_usd
0.047131844
output_tokens_per_task
8394.926
latency_seconds_per_task
100.77731200000001
published_at
2026-11-16T01:46:02.653Z
snapshot_date
2026-11-16
source_revision
7ccaf17664252a3053dcb7df8ad0a46e72954a3b4524ddc1c8a7ef8a41b15568
transformations
TensorTrace preserves source results, converts latency to seconds and derives ranks within matching conditions. Individual runs have no derived rank.
metric_population
128
benchmark_evaluation
true
openrouter_permaslug
z-ai/glm-5.2-20260616
source model id
z-ai/glm-5.2-20260616
Original result ↗

Published prices

1–20 / 74

@cf/zai-org/glm-5.2 ↗

$0.26

Inference provider
cloudflareWorkersAI
Platform
Cloudflare Workers AI
Unit
input_tokens_per_million
Currency
USD
Billing conditions
Billing label
per M cached input tokens

@cf/zai-org/glm-5.2 ↗

$4.40

Inference provider
cloudflareWorkersAI
Platform
Cloudflare Workers AI
Unit
output_tokens_per_million
Currency
USD
Billing conditions
Billing label
per M output tokens

z-ai/glm-5.2 ↗

$0.01

Inference provider
openRouter
Platform
OpenRouter
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions

z-ai/glm-5.2 ↗

$0.01

Inference provider
openRouter
Platform
OpenRouter
Unit
input_tokens_per_million
Currency
USD
Billing conditions

z-ai/glm-5.2 ↗

$6.80

Inference provider
openRouter
Platform
OpenRouter
Unit
output_tokens_per_million
Currency
USD
Billing conditions

zai-org/GLM-5.2 ↗

$0.26

Inference provider
siliconFlow
Platform
SiliconFlow
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
Billing label
Cached input tokens (per 1M)

zai-org/GLM-5.2 ↗

$1.30

Inference provider
siliconFlow
Platform
SiliconFlow
Unit
input_tokens_per_million
Currency
USD
Billing conditions
Billing label
Input tokens (per 1M)

zai-org/GLM-5.2 ↗

$4.09

Inference provider
siliconFlow
Platform
SiliconFlow
Unit
output_tokens_per_million
Currency
USD
Billing conditions
Billing label
Output tokens (per 1M)

zai/glm-5.2 ↗

$0.28

Inference provider
vercelAIGatewayCatalog
Platform
alibaba
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
endpoint
alibaba | zai/glm-5.2
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Cached input / 1M
Pricing via
Vercel AI Gateway

zai/glm-5.2 ↗

$1.40

Inference provider
vercelAIGatewayCatalog
Platform
alibaba
Unit
input_tokens_per_million
Currency
USD
Billing conditions
endpoint
alibaba | zai/glm-5.2
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Input tokens / 1M
Pricing via
Vercel AI Gateway

zai/glm-5.2 ↗

$4.40

Inference provider
vercelAIGatewayCatalog
Platform
alibaba
Unit
output_tokens_per_million
Currency
USD
Billing conditions
endpoint
alibaba | zai/glm-5.2
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Output tokens / 1M
Pricing via
Vercel AI Gateway

zai/glm-5.2 ↗

$0.14

Inference provider
vercelAIGatewayCatalog
Platform
baseten
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
endpoint
baseten | zai/glm-5.2
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Cached input / 1M
Pricing via
Vercel AI Gateway

zai/glm-5.2 ↗

$0.14

Inference provider
vercelAIGatewayCatalog
Platform
baseten
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
region
scope
zone
geo_region
us
endpoint
baseten | zai/glm-5.2
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Cached input / 1M
Pricing via
Vercel AI Gateway

zai/glm-5.2 ↗

$1.40

Inference provider
vercelAIGatewayCatalog
Platform
baseten
Unit
input_tokens_per_million
Currency
USD
Billing conditions
endpoint
baseten | zai/glm-5.2
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Input tokens / 1M
Pricing via
Vercel AI Gateway

zai/glm-5.2 ↗

$1.40

Inference provider
vercelAIGatewayCatalog
Platform
baseten
Unit
input_tokens_per_million
Currency
USD
Billing conditions
region
scope
zone
geo_region
us
endpoint
baseten | zai/glm-5.2
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Input tokens / 1M
Pricing via
Vercel AI Gateway

zai/glm-5.2 ↗

$4.40

Inference provider
vercelAIGatewayCatalog
Platform
baseten
Unit
output_tokens_per_million
Currency
USD
Billing conditions
endpoint
baseten | zai/glm-5.2
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Output tokens / 1M
Pricing via
Vercel AI Gateway

zai/glm-5.2 ↗

$4.40

Inference provider
vercelAIGatewayCatalog
Platform
baseten
Unit
output_tokens_per_million
Currency
USD
Billing conditions
region
scope
zone
geo_region
us
endpoint
baseten | zai/glm-5.2
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Output tokens / 1M
Pricing via
Vercel AI Gateway

zai/glm-5.2 ↗

$0.11

Inference provider
vercelAIGatewayCatalog
Platform
deepinfra
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
endpoint
deepinfra | zai/glm-5.2
model_type
language
quantization
fp4
billing_scope
via Vercel AI Gateway
Billing label
Cached input / 1M
Pricing via
Vercel AI Gateway

zai/glm-5.2 ↗

$0.56

Inference provider
vercelAIGatewayCatalog
Platform
deepinfra
Unit
input_tokens_per_million
Currency
USD
Billing conditions
endpoint
deepinfra | zai/glm-5.2
model_type
language
quantization
fp4
billing_scope
via Vercel AI Gateway
Billing label
Input tokens / 1M
Pricing via
Vercel AI Gateway

zai/glm-5.2 ↗

$1.80

Inference provider
vercelAIGatewayCatalog
Platform
deepinfra
Unit
output_tokens_per_million
Currency
USD
Billing conditions
endpoint
deepinfra | zai/glm-5.2
model_type
language
quantization
fp4
billing_scope
via Vercel AI Gateway
Billing label
Output tokens / 1M
Pricing via
Vercel AI Gateway

Provider specifications & access

1–5 / 5

glm-5.2 ↗

source model id
@cf/zai-org/glm-5.2
hosting
cloudflare-hosted
platforms
  • Cloudflare Workers AI
context length
262144
architecture
input_modalities
  • text
output_modalities
  • text
capabilities
  • toolCalling

GLM-5.2 ↗

source model id
glm-5.2
hosting
supernova-hosted
platforms
  • Supernova Labs
architecture
input_modalities
  • text
output_modalities
  • text
capabilities
  • reasoning
  • promptCaching

GLM 5.2 ↗

source model id
publishers/zai-org/models/glm-5.2-maas@001
hosting
vertex-managed
platforms
  • Google Cloud Vertex AI
architecture
input_modalities
  • text
output_modalities
  • text
capabilities
  • reasoning
  • structuredOutputs
  • toolCalling

GLM 5.2 ↗

source model id
zai/glm-5.2
hosting
vercel-gateway
platforms
  • Vercel AI Gateway
context length
1000000
max output tokens
128000
architecture
input_modalities
  • text
output_modalities
  • text
capabilities
  • promptCaching
  • reasoning
  • structuredOutputs
  • toolCalling
regions
  • us

GLM-5.2 ↗

source model id
zai-org/GLM-5.2
hosting
siliconflow-hosted
platforms
  • SiliconFlow
max output tokens
262144
architecture
input_modalities
  • text
output_modalities
  • text
capabilities
  • promptCaching
  • reasoning
  • toolCalling

Source specification observations

1–6 / 6

openRouter ↗

field
context_length
value
1048576
normalized value
1048576
scope
source-model
source id
openRouter
confidence
1

siliconFlow ↗

field
context_length
value
1049K
scope
source-model
source id
siliconFlow
confidence
1

vercelAIGatewayCatalog ↗

field
context_length
value
1000000
normalized value
1000000
scope
source-model
source id
vercelAIGatewayCatalog
confidence
1

openRouter ↗

field
max_output_tokens
value
943718
normalized value
943718
scope
source-model
source id
openRouter
confidence
1

siliconFlow ↗

field
max_output_tokens
value
262K
scope
source-model
source id
siliconFlow
confidence
1

vercelAIGatewayCatalog ↗

field
max_output_tokens
value
128000
normalized value
128000
scope
source-model
source id
vercelAIGatewayCatalog
confidence
1

Original sources

1–20 / 22

SiliconFlow · Model page ↗

z.ai · Model reference ↗

Hugging Face · Model repository ↗

Cloudflare AI · Model page ↗

Google Cloud · Model page ↗

OpenRouter · Model page ↗

SiliconFlow · Playground ↗

Vercel AI Gateway · Model page ↗

Google Cloud · Documentation ↗

SiliconFlow · API documentation ↗

Supernova · Model documentation ↗

Supernova · Pricing ↗

GitHub · Source snapshot ↗

Cloudflare AI · Catalog ↗

Epoch AI · Catalog ↗

Google Cloud · Catalog ↗

Hugging Face · Catalog ↗

OpenRouter · Catalog ↗

OpenRouter · Catalog ↗

SiliconFlow · Catalog ↗

Source links

1–12 / 12

Explore more models

Models

Loading
EVIDENCE / COMPARISON

Benchmarks

Explore every benchmark

Loading

These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.

Install TensorTrace