GLM-5.2 is Zhipu AI's language model with a 1.0M context window and up to 131K output tokens, available from 5 providers, starting at $0.909 / 1M input and $2.86 / 1M output. Z.AI's flagship long-horizon autonomous LLM capable of sustained multi-hour task execution with agentic reasoning.
Specifications
Canonical IDzhipu-glm-5-2
TypeLanguage
StatusActive
CreatorZhipu AIZhipu AI
Providers
Context Window1.0M tokens
Max Output131K tokens
Input ModalitiesText
Output ModalitiesText
Reasoning Effortsdefault
Parameters753B
HuggingFace Likes692
HuggingFace Downloads (30d)0
HuggingFace Downloads (all-time)0
Release Date · 22 days ago
Benchmarks
Intelligence Index
Coding Index
GPQA
0.9
#22
HLE
0.4
#7
IFBench
0.7
#37
Time to First Token
0.86s
#333
SciCode
0.5
#17
LCR
0.7
#14
TerminalBench Hard
0.5
#11
TAU2
1.0
#2
Output TPS

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities6/13
Reasoning
Adaptive Reasoning·
Function Calling
Parallel Function Calling
Structured Outputs
Native JSON Schema
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching
Assistant Prefill·

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandardBatch
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Input
$ / 1M
Output
$ / 1M
$1.10$3.85N/A$0.55$1.93
Fireworks AI logo
Fireworks AI
fireworks_ai/glm-5p2
$1.40$4.40$0.26
Hugging Face logo
Hugging Face
novita:zai-org/glm-5.2
$1.40$4.40N/A
OpenRouter logo
OpenRouter
z-ai/glm-5.2
$0.909$2.86$0.169
$1.40$4.40$0.26

Cost Calculator

US Dollar ($)
Preset:

Cheapest Instances to Run It

Cloud GPU instances that can host GLM-5.2, ranked by cheapest on-demand price. The model needs about 1808 GB of GPU memory at FP16 precision (estimated from its parameter count), so treat the fit as guidance rather than a guarantee.

All clouds
FP16 (full precision)
US Dollar ($)
Instance
Cloud
GPU
VRAM
Price
Cheapest region
p6-b300.48xlargeAWS8× B3002149 GB$142.42/hrus-east-1

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
GLM-5.21.0M$0.909$2.86Current
GLM-5.2 Fast1.0M$3.00$10.25Available
GLM-5V Turbo203K$1.20$4.00Deprecating
GLM-5 Turbo262K$1.20$4.00Available
GLM-5.1 Non-ReasoningAvailable
GLM-5 Non-ReasoningAvailable
GLM-5 Code200K$1.20$5.00Available
GLM-5.1 Fast203K$2.80$8.80Available
GLM-5.1 NVFP4 MTP203K$1.40$4.40Available
GLM-4.7 FlashX200K$0.060$0.400Available
GLM-4.6V Flash128KAvailable

Model IDs

accounts/fireworks/models/glm-5p2
accounts/fireworks/models/glm-5p2-fp8
cloudflare/@cf/zai-org/glm-5.2
fireworks_ai/accounts/fireworks/models/glm-5p2
fireworks_ai/glm-5p2
glm-5-2
glm-5.2
z-ai/glm-5.2
zai-org/glm-5.2
zai-org/GLM-5.2
zai/glm-5.2
zhipu-glm-5-2