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

input

$0.033

cached input

$7.00

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)33.739.544.855.157.6
Input Price (/ 1M tokens)$0.034$0.15$1.40$2.00$4.00
Output Price (/ 1M tokens)$7.00$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%

Artificial Analysis Intelligence Index

Artificial Analysis

33.7

Design Arena: AGENTICGAMEDEV

Design Arena · Rank #9 (49.1% win)

1171 Elo

Design Arena: ANDROIDNATIVE

Design Arena · Rank #17 (52.9% win)

1180 Elo

Design Arena: FULLSTACK

Design Arena · Rank #12 (60.5% win)

1241 Elo

Design Arena: GODOTGAMEDEV

Design Arena · Rank #22 (40.1% win)

1142 Elo

Active Provider Endpoints (34)

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
$0.03$7.22$0.031M131K—100.0%
Wafercache
wafer/us
$0.034$7.00$0.0331M944Kfp4100.0%
Baiducache
baidu/fp8
$0.189$0.594$0.0351M131Kfp899.8%
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%
Morphcache
morph/fp8
$0.48$4.67$0.0891M944Kfp898.4%
StreamLakecache
streamlake/fp8
$0.56$1.76$0.1041M128Kfp8100.0%
DeepInfracache
deepinfra/fp4
$0.563$1.80$0.1051M164Kfp4100.0%
Ambientcache
ambient/fp8
$0.60$2.00$0.15203K182Kfp8100.0%
Baiducache
baidu/fast
$0.619$2.17$0.1541M131Kfp4100.0%
CoreWeavecache
coreweave/fp4
$0.62$2.42$0.141M944Kfp499.9%
Novitacache
novita/fp8
$0.65$2.04$0.1211M131Kfp8100.0%
DigitalOceancache
digitalocean
$0.70$2.20$0.1051M131K—99.7%
SiliconFlowcache
siliconflow/fp8
$0.70$2.20$0.131M262Kfp8100.0%
AtlasCloudcache
atlas-cloud/fp8
$0.938$2.95$0.1741M131Kfp8100.0%
Alibabacache
alibaba/fp8
$0.966$3.04$0.1931M131Kfp899.2%
Inceptroncache
inceptron/fp4
$0.99$1.78$0.161M944Kfp499.8%
Alibabacache
alibaba/fp8/us-east-1
$1.12$3.52$0.2241M131Kfp8100.0%
Decartcache
decart/fast
$1.20$8.00$0.481M944Kfp4100.0%
Nebiuscache
nebius/fp4
$1.40$4.40$0.141M944Kfp490.5%
Mistralcache
mistral/zdr
$1.40$4.40$0.141M131Knvfp498.8%
BaseTencache
baseten/fp8/us
$1.40$4.40$0.141M262Kfp8100.0%
Togethercache
together
$1.40$4.40$0.261M944K—98.4%
BaseTencache
baseten/fp8
$1.40$4.40$0.141M262Kfp8100.0%
Venicecache
venice/fp8
$1.40$4.40$0.261M131Kfp8100.0%
GMICloudcache
gmicloud/fp8
$1.40$4.40$0.261M944Kfp8100.0%
Parasailcache
parasail/fp4
$1.40$4.40$0.26262K236Kfp499.7%
Friendlicache
friendli
$1.40$4.40$0.261M944K—100.0%
Z.AIcache
z-ai/fp8
$1.40$4.40$0.261M131Kfp8100.0%
Mistralcache
mistral/eu
$1.54$4.84$0.1541M128K—100.0%
BaseTencache
baseten/us/fast
$2.10$6.60$0.211M262Kfp899.9%
BaseTencache
baseten/fast
$2.10$6.60$0.211M262Kfp8100.0%
Alibabacache
alibaba/fast
$2.31$7.26$0.4621M131Kfp899.3%

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 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.15 / $0.50Coding 36.9%

Z.ai (GLM)

GLM 5.3

1M

GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks. It supports text input and output with a 1M-token context window, and improves...

$0.07 / $1.40Coding 58.3%

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%