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 9 providers, starting at $0.573 / 1M input and $2.08 / 1M output. An open-source MoE LLM from Z AI designed for long-context reasoning, multi-step tool orchestration, and complex agentic engineering tasks.
Spec
Canonical IDzhipu-glm-5
TypeLanguage
StatusActive
CreatorZhipu AIZhipu AI
Providers
Context Window203K tokens
Max Output131K tokens
Input ModalitiesPdfText
Output ModalitiesText
Reasoning Effortsdefault
Parameters754B
HuggingFace Likes2,070
HuggingFace Downloads (30d)477,667
HuggingFace Downloads (all-time)777,726
Release Date · 2 months ago
Intelligence Index
49.8
#16
Coding Index
44.2
#22
GPQA
0.8
#71
HLE
0.3
#27
IFBench
0.7
#36
Time to First Token
0.85s
#287
SciCode
0.5
#29
LCR
0.6
#63
TerminalBench Hard
0.4
#22
TAU2
1.0
#4
Output TPS
65.7
#178

Capabilities

Input2/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

ProviderStandardBatchFlexPriority
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Cache Write
$ / 1M
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Alibaba Qwen logo
Alibaba Qwen
glm-5
$0.573$2.58N/AN/A$0.286$1.29
OpenRouter logo
OpenRouter
z-ai/glm-5
$0.600$2.08$0.120N/A
Other/Baseten
baseten/zai-org/GLM-5
$0.950$3.15N/AN/A
Amazon Bedrock logo
Amazon Bedrock
zai.glm-5
$1.00$3.20N/AN/A$0.500$1.60$0.500$1.60$1.75$5.60
Google Gemini logo
Google Gemini
glm-5-maas
$1.00$3.20N/A$0.100
Google Vertex AI logo
Google Vertex AI
vertex_ai/zai-org/glm-5-maas
$1.00$3.20$0.100$0.100
Hugging Face logo
Hugging Face
together_ai:zai-org/GLM-5
$1.00$3.20N/AN/A
Vercel AI Gateway logo
Vercel AI Gateway
zai/glm-5
$1.00$3.20$0.200N/A
Z AI (Zhipu) logo
Z AI (Zhipu)
zai/glm-5
$1.00$3.20$0.200N/A

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$1.05$3.50Available
GLM-5203K$0.573$2.08Current

Model IDs