Z.ai (GLM)

GLM 5.2

z-ai/glm-5.2
Model weightsReleased Jun 16, 2026Open Weights
ThinkingToolsopen weights

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

Cost / 1M tokens

Medium usage

$0.007

input

$0.006

cached input

$6.80

output

Context Window

1M

Up to 944K max output

Modalities

text → text

Other tokenizer

Quickstart & API

z-ai/glm-5.2
Open the model picker in ChatOSS Desktop (Code, Kanban, or Chat) and select or paste this model ID.

Best for & Strengths

Key Strengths

ReasoningCodingOpen weights

Recommended Workloads in ChatOSS

  • Coding assistants
  • Software engineering
  • Self-hosted AI
Available in ChatOSS Code, Kanban Orchestrate, and Chat modes via Plus, Max, or BYOK.

Verified Evaluations

Benchmarks & Frontier Comparison

How GLM 5.2 compares against leading open-weight and proprietary frontier models across independent agentic coding and reasoning suites.

View full Top 40 Leaderboard →
GLM 5.2DeepSeek V4.1 FlashGLM 5.3Kimi K3.1 Pro
Benchmark (Metric)GLM 5.2DeepSeek V4.1 FlashGLM 5.3Kimi K3.1 ProClaude Opus 5.5
Agentic & Software Engineering
ChatOSS Agentic Coding Index (%)36.7%63.2%58.3%65%74.1%
SWE-Bench Verified (%)82.8%91.5%95.4%94.8%97%
DeepSWE v1.1 (Pass@1 %)43.8%77%69%73.5%74.2%
Vibe Code Bench v1.1 (%)63.96%87.7%78.1%88.4%90.3%
Terminal-Bench 4.0 (%)1.01%42.3%42%46.2%65.2%
Code Migration (%)37.87%45.6%44.2%52%66.7%
Intelligence & Token Economics
Artificial Analysis Intelligence Index (0–100)—39.544.855.157.6
Input Price (/ 1M tokens)$0.007$0.15$1.40$2.00$4.00
Output Price (/ 1M tokens)$6.80$0.60$4.40$10.00$20.00

ChatOSS Agentic Coding Index

ChatOSS Benchmark Audit · 4-benchmark composite mean

36.7%

SWE-Bench Verified

Vals AI · Terminus 2

82.8%

DeepSWE v1.1

DeepSWE / Official Audit · Mini-SWE-Agent

43.8%

Vibe Code Bench v1.1

Vals.ai · OpenHands

63.96%

Terminal-Bench 4.0

Vals.ai / Artificial Analysis · Terminus 2

1.01%

Terminal-Bench 2.1

Vals.ai · Terminus 2

67.79%

Code Migration

Vals.ai · Vals evaluation harness

37.87%

Design Arena: AGENTICGAMEDEV

Design Arena · Rank #9 (49.7% win)

1157 Elo

Design Arena: ANDROIDNATIVE

Design Arena · Rank #23 (52.7% win)

1173 Elo

Design Arena: BLENDER3D

Design Arena · Rank #22 (36.1% win)

983 Elo

Design Arena: FULLSTACK

Design Arena · Rank #14 (60.1% win)

1218 Elo

Active Provider Endpoints (33)

Upstream inference providers serving GLM 5.2, with per-provider pricing, context limits, quantization, and 24-hour uptime.

ProviderInput / 1MOutput / 1MCache Read / 1MContextMax OutputQuantizationUptime (24h)
Relacecache
relace/fp4
$0.0066$7.98$0.00661M131Kfp499.4%
Wafercache
wafer/us
$0.007$6.80$0.0061M944Kfp4100.0%
Wafercache
wafer
$0.19$8.00$0.181M944Kfp4100.0%
Cloudflarecache
cloudflare
$0.19$8.00$0.19262K236K—100.0%
DeepInfracache
deepinfra/fp4/flex
$0.45$1.44$0.0841M164Kfp4100.0%
DeepInfracache
deepinfra/fp4
$0.563$1.80$0.1051M164Kfp499.0%
Ambientcache
ambient/fp8
$0.60$2.00$0.15203K182Kfp885.8%
StreamLakecache
streamlake/fp8
$0.613$1.93$0.1141M128Kfp8100.0%
CoreWeavecache
coreweave/fp4
$0.62$2.42$0.141M944Kfp499.0%
Novitacache
novita/fp8
$0.65$2.04$0.1211M131Kfp8100.0%
Morphcache
morph/fp8
$0.699$2.15$0.2361M944Kfp899.8%
DigitalOceancache
digitalocean
$0.70$2.20$0.1051M131K—100.0%
SiliconFlowcache
siliconflow/fp8
$0.70$2.20$0.131M262Kfp899.9%
AtlasCloudcache
atlas-cloud/fp8
$0.938$2.95$0.1741M131Kfp898.2%
Alibabacache
alibaba/fp8
$0.966$3.04$0.1931M131Kfp894.6%
Alibabacache
alibaba/fp8/us-east-1
$1.12$3.52$0.2241M131Kfp8100.0%
Nebiuscache
nebius/fp4
$1.40$4.40$0.141M944Kfp432.6%
Mistralcache
mistral/zdr
$1.40$4.40$0.141M131Knvfp499.6%
BaseTencache
baseten/fp8/us
$1.40$4.40$0.141M262Kfp898.9%
Inceptroncache
inceptron/fp4
$1.40$4.40$0.261M944Kfp4100.0%
Togethercache
together
$1.40$4.40$0.261M944K—99.7%
Baiducache
baidu/fp8
$1.40$4.40$0.261M131Kfp8100.0%
BaseTencache
baseten/fp8
$1.40$4.40$0.141M262Kfp895.4%
Venicecache
venice/fp8
$1.40$4.40$0.261M131Kfp899.7%
GMICloudcache
gmicloud/fp8
$1.40$4.40$0.261M944Kfp898.5%
Parasailcache
parasail/fp4
$1.40$4.40$0.26262K236Kfp496.5%
Friendlicache
friendli
$1.40$4.40$0.261M944K—98.5%
Z.AIcache
z-ai/fp8
$1.40$4.40$0.261M131Kfp8100.0%
Mistralcache
mistral/eu
$1.54$4.84$0.1541M128K—99.3%
BaseTencache
baseten/us/fast
$2.10$6.60$0.211M262Kfp897.8%
BaseTencache
baseten/fast
$2.10$6.60$0.211M262Kfp897.8%
Baiducache
baidu/fast
$2.25$7.88$0.561M131Kfp4100.0%
Alibabacache
alibaba/fast
$2.31$7.26$0.4621M131Kfp892.7%

Supported API Parameters

Parameters accepted by this model when called through ChatOSS or OpenRouter.

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_pparallel_tool_callspresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p

Deep-Dive Benchmarks & Teardowns

Independent benchmark analysis and real-world agent billing teardowns featuring GLM 5.2.

Compare Similar Models

Browse all models →

Z.ai (GLM)

GLM 5.3 FlashX Legal

1M

GLM-5.3-FlashX-Legal (GLM-Legal) is Z.ai's legal-domain variant of GLM-5.3-FlashX, a native multimodal model that accepts text, image, and video input and produces text. It adds legal-domain mid-training and post-training with reinforcement...

$0.37 / $1.25

Z.ai (GLM)

GLM 5.3 Prime

1M

GLM-5.3-Prime is the high-speed variant of Z.ai's GLM-5.3, inheriting its full capabilities while delivering 1.5–2× the output throughput through inference acceleration. It supports text input and output with a 1M-token...

$2.80 / $8.80Coding 58.3%

Z.ai (GLM)

GLM 5.3 FlashX

1M

GLM-5.3-FlashX is the high-speed variant of Z.ai's GLM-5.3-Flash, a native multimodal model delivering inference speeds of up to 200 tokens/s. Built on the same hybrid sparse and linear attention architecture...

$0.37 / $1.25Coding 36.9%

Z.ai (GLM)

GLM 5.3 Flash

1M

GLM-5.3-Flash is a native multimodal model from Z.ai. It is suited for efficient coding and long-horizon agent tasks. Its hybrid sparse and linear attention architecture maintains accurate long-context behavior while...

$0.04 / $0.078Coding 36.9%

Anthropic

Claude Opus 5.5

1M

Claude Opus 5.5 is Anthropic's flagship model for demanding reasoning, coding, and long-horizon agentic work, succeeding Claude Opus 5. It is particularly strong at multi-step changes in large codebases, code...

$4.00 / $20.00Coding 74.1%

Moonshot AI

Kimi K3.1 Pro

1M

Kimi K3.1 Pro is Moonshot AI's flagship open-weight multimodal reasoning model and a post-trained successor to Kimi K3, with a 1M-token context window. It is built for long-horizon coding, 3D...

$2.00 / $10.00Coding 65%