GLM-5 is Zhipu AI's language model with a 1.0M context window and up to 131K output tokens, available from 13 providers, starting at $0.573 / 1M input and $1.92 / 1M output. An open-source MoE LLM from Z AI designed for long-context reasoning, multi-step tool orchestration, and complex agentic engineering tasks.
Specifications
Canonical IDzhipu-glm-5
TypeLanguage
StatusDeprecated
CreatorZhipu AIZhipu AI
Providers
Context Window1.0M 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 · 8 months ago
Deprecation Date
Benchmarks
Intelligence Index
#91
GPQA
#138
HLE
#86
IFBench
#49
Time to First Token
#450
SciCode
#82
LCR
#82
TerminalBench Hard
#33
TAU2
#9
Output TPS
#148

Capabilities

Input2/5
Text✓
Image·
Audio·
Video·
PDF✓
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities7/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
ProviderStandardFlexFastBatch
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
$0.573$2.58N/A————$0.286$1.29
$1.00$3.20N/A$0.5$1.60$1.75$5.60$0.5$1.60
Azure AI Foundry logo
Azure AI Foundry
azure_ai/FW-GLM-5
$1.10$3.52$0.22——————
Baseten
baseten/zai-org/GLM-5
$0.95$3.15N/A——————
DeepInfra logo
DeepInfra
deepinfra/zai-org/GLM-5
$0.6$2.08$0.12——————
$1.00$3.20$0.1——————
Hugging Face logo
Hugging Face
novita:zai-org/glm-5
$1.00$3.20N/A——————
Mistral AI logo
Mistral AI
zai-glm-5
$1.40$4.40$0.14————$0.7$2.20
Novita logo
Novita
novita/zai-org/glm-5
$1.00$3.20$0.2——————
OpenRouter logo
OpenRouter
z-ai/glm-5
$0.6$1.92$0.12——————
Together AI logo
Together AI
together_ai/zai-org/GLM-5
$1.00$3.20N/A——————
$1.00$3.20N/A——————
Z AI (Zhipu) logo
Z AI (Zhipu)
zai/glm-5
$1.00$3.20$0.2——————

Cost Calculator

US Dollar ($)
Preset:

Cheapest Instances to Run It

Cloud GPU instances that can host GLM-5, ranked by cheapest on-demand price. The model needs about 1809 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/hr

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
GLM-5.1205K$1.05$3.50Deprecated
GLM-51.0M$0.573$1.92Current

Model IDs

accounts/fireworks/models/glm-5
azure_ai/FW-GLM-5
baseten/zai-org/GLM-5
bedrock/us-east-1/zai.glm-5
bedrock/us-west-2/zai.glm-5
deepinfra/zai-org/GLM-5
glm-5
glm-5-maas
glm-5-non-reasoning
mistral/zai-glm-5
novita/zai-org/glm-5
openrouter/z-ai/glm-5
publishers/google/models/glm-5-maas
together_ai/zai-org/GLM-5
vertex_ai/zai-org/glm-5-maas
z-ai/glm-5
zai-glm-5
zai-org/glm-5
zai-org/GLM-5
zai.glm-5
zai/glm-5
zhipu-glm-5