GLM-5.1 is Zhipu AI's language model with a 203K context window and up to 131K output tokens, available from 6 providers, starting at $0.966 / 1M input and $3.04 / 1M output. Z AI's next-generation flagship agentic LLM with significantly stronger coding capabilities, vision support, and file input, achieving top performance on SWE-Bench.
Specifications
Canonical IDzhipu-glm-5-1
TypeLanguage
StatusActive
CreatorZhipu AIZhipu AI
Providers
Context Window203K tokens
Max Output131K tokens
Input ModalitiesImagePDFText
Output ModalitiesText
Reasoning Effortsdefault
Parameters754B
HuggingFace Likes1,449
HuggingFace Downloads (30d)147,738
HuggingFace Downloads (all-time)147,738
Release Date · 3 months ago
Benchmarks
Intelligence Index
40.2
#29
Coding Index
55.8
#28
GPQA
0.9
#44
HLE
0.3
#40
IFBench
0.8
#20
Time to First Token
0.86s
#332
SciCode
0.4
#56
LCR
0.6
#88
TerminalBench Hard
0.4
#31
TAU2
1.0
#12
Output TPS
70.5
#164

Capabilities

Input3/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.40$4.40N/A$0.7$2.20
Fireworks AI logo
Fireworks AI
fireworks_ai/glm-5p1
$1.40$4.40$0.26
Hugging Face logo
Hugging Face
together_ai:zai-org/GLM-5.1
$1.40$4.40N/A
OpenRouter logo
OpenRouter
z-ai/glm-5.1
$0.966$3.04$0.179
$1.30$4.30$0.26
Z AI (Zhipu) logo
Z AI (Zhipu)
zai/glm-5.1
$1.40$4.40$0.26

Cost Calculator

US Dollar ($)
Preset:

Cheapest Instances to Run It

Cloud GPU instances that can host GLM-5.1, 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/hrus-east-1

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
GLM-5.1203K$0.966$3.04Current
GLM-5203K$0.573$1.92Available

Model IDs

accounts/fireworks/models/glm-5p1
fireworks_ai/accounts/fireworks/models/glm-5p1
fireworks_ai/glm-5p1
glm-5-1
glm-5-1-non-reasoning
glm-5.1
huggingface-llm-glm-5-1-fp8
openrouter/z-ai/glm-5.1
z-ai/glm-5.1
zai-org/glm-5.1
zai-org/GLM-5.1
zai/glm-5.1
zhipu-glm-5-1