z-ai

Z.ai: GLM 5.1

GLM 5.1 from Z.ai is a text-in, text-out model with a 202,752-token context window, tool use, and reasoning support. Structured output support is unconfirmed. The large context window makes it practical for long-document tasks, and the reasoning capability positions it for multi-step problem solving, though it accepts no image or audio input. On benchmarks, GLM 5.1 scores 75.3 blended across only four benchmarks, so the picture is narrow rather than comprehensive. Its coding score of 92.0 is a standout, while its agentic score of 49.3 is notably weaker, making it a poor fit for autonomous workflow tasks. At $0.98 per million input tokens and $3.08 output, it sits in the mid-range price tier. Developers prioritizing coding assistance who want a long context window at a moderate cost have reason to shortlist it, but teams needing strong agentic performance or verified structured output should look elsewhere.

Quality Score
98/100
price + capability + benchmarks
Input Price
$0.98
per 1M tokens
Output Price
$3.08
per 1M tokens
Context Window
202,752
tokens
Model ID
z-ai/glm-5.1
Vendor
z-ai
Tokenizer
Other
Input Modalities
text
Output Modalities
text
Max Output
default
Tool Calling
✓ supported
Structured Output
✓ supported
Reasoning Mode
✓ supported
Vision
text only
Audio
no
Moderated
no

Category rankings

Where Z.ai: GLM 5.1 places across the 51 categories it ranks in. How we rank →

#CategoryScore
#11 Regex WritingCode · of 25 ranked 133
#11 Marketing CopyWriting · of 25 ranked 127
#11 Language TranslationWriting · of 25 ranked 133
#11 Standardized Test PrepEducation · of 25 ranked 127
#11 Tutoring for KidsPersonal · of 25 ranked 133
#12 Fitness CoachingPersonal · of 25 ranked 131
#13 Data AnalysisData · of 25 ranked 162
#13 JSON ExtractionData · of 25 ranked 144
#13 Financial AnalysisProfessional · of 25 ranked 153
#13 Math TutoringEducation · of 25 ranked 143
#13 Physics TutoringEducation · of 25 ranked 142
#13 Experiment DesignResearch · of 25 ranked 152
#15 Trivia & General KnowledgePersonal · of 25 ranked 119
#16 Bug FixingCode · of 25 ranked 169
#16 Short-Form SummarizationWriting · of 25 ranked 129
#16 Email DraftingWriting · of 25 ranked 125
#16 Language LearningEducation · of 25 ranked 125
#16 SOP / Process DocsBusiness · of 25 ranked 133
#16 Agent WorkflowsAgents · of 25 ranked 178
#16 Coding AgentsAgents · of 25 ranked 178
#16 Chat CompanionPersonal · of 25 ranked 129
#16 Scientific CodingResearch · of 25 ranked 169
#17 SQL GenerationCode · of 25 ranked 163
#17 Code ReviewCode · of 25 ranked 158
#17 Essay GradingEducation · of 25 ranked 158
#18 Unit Test GenerationCode · of 25 ranked 148
#18 CI/CD PipelinesCode · of 25 ranked 139
#18 Dataset AnnotationResearch · of 25 ranked 141
#20 Blog Post WritingWriting · of 25 ranked 135
#20 Customer SupportBusiness · of 25 ranked 130
#20 Resume WritingBusiness · of 25 ranked 115
#20 RFP ResponseBusiness · of 25 ranked 163
#20 Function / Tool CallingAgents · of 25 ranked 145
#20 Trip PlanningPersonal · of 25 ranked 135
#21 ETL ScriptingData · of 25 ranked 146
#21 Bulk Data LabelingData · of 25 ranked 131
#21 Creative WritingWriting · of 25 ranked 149
#21 Screenwriting & DialogWriting · of 25 ranked 149
#21 Academic WritingWriting · of 25 ranked 149
#21 Legal DraftingProfessional · of 25 ranked 149
#21 Contract ReviewProfessional · of 25 ranked 166
#21 Medical Note SummarizationProfessional · of 25 ranked 146
#21 OKRs & Strategic PlanningBusiness · of 25 ranked 149
#21 Math ProofsResearch · of 25 ranked 149
#22 Sales / Cold EmailBusiness · of 25 ranked 121
#22 Job Application DraftingBusiness · of 25 ranked 121
#22 Journaling HelperPersonal · of 25 ranked 121
#22 Recipe GenerationPersonal · of 25 ranked 121
#23 CSV / Spreadsheet CleanupData · of 25 ranked 146
#25 Code RefactoringCode · of 25 ranked 154
#25 RAG PipelinesAgents · of 25 ranked 154

Similar models