GLM-5.1 is Zhipu AI's language model with a 203K context window and up to 64K output tokens, available from 2 providers, starting at $1.40 / 1M input and $4.40 / 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 Output64K tokens
Input ModalitiesImagePdfText
Output ModalitiesText
Reasoning Effortsdefault
Parameters754B
HuggingFace Likes1,449
HuggingFace Downloads (30d)147,738
HuggingFace Downloads (all-time)147,738
Release Date · 1 month ago
Benchmarks
Intelligence Index
51.4
#16
Coding Index
43.4
#26
GPQA
0.9
#31
HLE
0.3
#27
IFBench
0.8
#17
Time to First Token
0.83s
#309
SciCode
0.4
#44
LCR
0.6
#73
TerminalBench Hard
0.4
#24
TAU2
1.0
#9
Output TPS
52.7
#196

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

ProviderStandard
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Hugging Face logo
Hugging Face
together_ai:zai-org/GLM-5.1
$1.40$4.40N/A
Vercel AI Gateway logo
Vercel AI Gateway
zai/glm-5.1
$1.40$4.40$0.260

Cost Calculator

Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
GLM-5.1203K$1.40$4.40Current
GLM-5203K$0.573$1.92Available

Model IDs