Zhipu AI logo

GLM-5


GLM-5 is Zhipu AI logoZhipu AI's language model with a 203K context window and up to 131K output tokens, available from 5 providers, starting at $0.573 / 1M input and $2.30 / 1M output. Z.ai's flagship open-source MoE foundation LLM engineered for complex systems design and long-horizon agent workflows targeting expert developers.
Spec
Canonical IDzhipu-glm-5
TypeLanguage
StatusActive
CreatorZhipu AIZhipu AI
Providers
Context Window203K tokens
Max Output131K tokens
Input ModalitiesText
Output ModalitiesText
Reasoning Effortsdefault
Release Date · 2 months ago
Intelligence Index
40.6
#24
Coding Index
39.0
#16
GPQA
0.7
#121
HLE
0.1
#108
IFBench
0.6
#43
Time to First Token
1.57s
#284
SciCode
0.4
#58
LCR
0.4
#96
TerminalBench Hard
0.4
#11
TAU2
1.0
#4
Output TPS
60.9
#127

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities3/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

ProviderStandardBatchFlexPriority
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Alibaba Qwen logo
Alibaba Qwen
glm-5
$0.573$2.58N/A$0.286$1.29
OpenRouter logo
OpenRouter
z-ai/glm-5
$0.720$2.30N/A
Amazon Bedrock logo
Amazon Bedrock
zai.glm-5
$1.00$3.20N/A$0.500$1.60$0.500$1.60$1.75$5.60
Vercel AI Gateway logo
Vercel AI Gateway
zai/glm-5
$1.00$3.20$0.200
Z AI (Zhipu) logo
Z AI (Zhipu)
glm-5
$1.00$3.20$0.200

Regional pricing

Provider-specific pricing that varies by region.
Amazon Bedrock logo
Amazon Bedrock
14 regions
RegionStandardBatchFlexPriority
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Global
Global$1.00$3.20$0.500$1.60$0.500$1.60$1.75$5.60
Asia Pacific
Asia Pacific (Jakarta)/ ap-southeast-3$1.20$3.84$0.600$1.92$0.600$1.92$2.10$6.72
Asia Pacific (Mumbai)/ ap-south-1$1.20$3.84$0.600$1.92$0.600$1.92$2.10$6.72
Asia Pacific (Sydney)/ ap-southeast-2$1.03$3.30$0.515$1.65$0.515$1.65$1.80$5.78
Asia Pacific (Tokyo)/ ap-northeast-1$1.20$3.84$0.600$1.92$0.600$1.92$2.10$6.72
Europe
Europe (Ireland)/ eu-west-1$1.20$3.84$0.600$1.92$0.600$1.92$2.10$6.72
Europe (London)/ eu-west-2$1.55$4.96$0.775$2.48$0.775$2.48$2.71$8.68
Europe (Frankfurt)/ eu-central-1$1.20$3.84$0.600$1.92$0.600$1.92$2.10$6.72
Europe (Milan)/ eu-south-1$1.20$3.84$0.600$1.92$0.600$1.92$2.10$6.72
Europe (Stockholm)/ eu-north-1$1.20$3.84$0.600$1.92$0.600$1.92$2.10$6.72
South America
South America (São Paulo)/ sa-east-1$1.20$3.84$0.600$1.92$0.600$1.92$2.10$6.72
US
US East (Ohio)/ us-east-2$1.00$3.20$0.500$1.60$0.500$1.60$1.75$5.60
US East (Virginia)/ us-east-1$1.00$3.20$0.500$1.60$0.500$1.60$1.75$5.60
US West (Oregon)/ us-west-2$1.00$3.20$0.500$1.60$0.500$1.60$1.75$5.60

Cost Calculator

Preset:
Compares every provider & tier in USD

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
GLM-5.1203K$0.950$3.15Available
GLM-5203K$0.573$2.30Current

Model IDs