Z.ai: GLM 5.2 (batch)
Z.ai: GLM 5.2 (batch) is capable of handling text inputs within an extensive context length of 512,000 tokens and supports both reasoning and tool usage. It does not offer structured output but can process various forms of textual data. This model should be considered by those needing a robust solution with strong reasoning capabilities and the ability to interact with external tools. With its benchmark blended score of 89.3 across four independent benchmarks, it performs well in general AI tasks. The pricing at $0.7 per million input tokens and $2.2 per million output tokens makes it suitable for projects where cost is a factor but performance remains critical.
Benchmark results
Independent, published benchmarks. Blended score 89.3 across 4 benchmarks, last refreshed 2026-08-07. How scoring works →
| Benchmark | Measures | Score |
|---|---|---|
| AI Index | broad capability composite | 86.9 |
| AI Index Coding | software engineering tasks | 100.0 |
| AI Index Agentic | multi-step tool-using tasks | 75.4 |
| EQ-Bench | emotional understanding in dialogue | 78.7 |
- Model ID
- z-ai/glm-5.2:batch
- Vendor
- z-ai
- Released
- June 2026
- 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
What it costs in practice
Computed from the current $0.70/M input and $2.20/M output rates. Run your own numbers →
| Job | Tokens | Cost |
|---|---|---|
| Summarize a 50-page report | 30k in / 1.5k out | $0.02 |
| Classify 1,000 customer emails | 500k in / 50k out | $0.46 |
| A month of a busy support chatbot | 5M in / 2M out | $7.90 |
Strong choice for
Category rankings
Where Z.ai: GLM 5.2 (batch) places across the 62 categories it ranks in. How we rank →
| # | Category | Score |
|---|---|---|
| #5 | Meeting NotesBusiness · of 25 ranked | 158 |
| #6 | Short-Form SummarizationWriting · of 25 ranked | 132 |
| #6 | Email DraftingWriting · of 25 ranked | 128 |
| #6 | Language LearningEducation · of 25 ranked | 128 |
| #6 | Chat CompanionPersonal · of 25 ranked | 132 |
| #6 | Trivia & General KnowledgePersonal · of 25 ranked | 122 |
| #7 | Code DocumentationCode · of 25 ranked | 148 |
| #7 | Regex WritingCode · of 25 ranked | 138 |
| #7 | Language TranslationWriting · of 25 ranked | 138 |
| #7 | Tutoring for KidsPersonal · of 25 ranked | 138 |
| #8 | Code CompletionCode · of 25 ranked | 134 |
| #8 | Transcript CleanupWriting · of 25 ranked | 146 |
| #10 | SQL GenerationCode · of 25 ranked | 175 |
| #10 | Unit Test GenerationCode · of 25 ranked | 158 |
| #10 | CI/CD PipelinesCode · of 25 ranked | 148 |
| #10 | CSV / Spreadsheet CleanupData · of 25 ranked | 157 |
| #10 | ETL ScriptingData · of 25 ranked | 160 |
| #10 | Long-Document SummarizationWriting · of 25 ranked | 168 |
| #10 | Blog Post WritingWriting · of 25 ranked | 144 |
| #10 | Medical Note SummarizationProfessional · of 25 ranked | 160 |
| #10 | History TutoringEducation · of 25 ranked | 151 |
| #10 | Character RoleplayPersonal · of 25 ranked | 156 |
| #10 | Trip PlanningPersonal · of 25 ranked | 144 |
| #11 | Code ReviewCode · of 25 ranked | 175 |
| #11 | Code RefactoringCode · of 25 ranked | 172 |
| #11 | Bug FixingCode · of 25 ranked | 188 |
| #11 | Marketing CopyWriting · of 25 ranked | 132 |
| #11 | Creative WritingWriting · of 25 ranked | 165 |
| #11 | Screenwriting & DialogWriting · of 25 ranked | 165 |
| #11 | Academic WritingWriting · of 25 ranked | 165 |
| #11 | Legal DraftingProfessional · of 25 ranked | 165 |
| #11 | Legal ResearchProfessional · of 25 ranked | 177 |
| #11 | Contract ReviewProfessional · of 25 ranked | 187 |
| #11 | Scientific ResearchProfessional · of 25 ranked | 177 |
| #11 | Physics TutoringEducation · of 25 ranked | 153 |
| #11 | Essay GradingEducation · of 25 ranked | 175 |
| #11 | Standardized Test PrepEducation · of 25 ranked | 132 |
| #11 | Sales / Cold EmailBusiness · of 25 ranked | 124 |
| #11 | Job Application DraftingBusiness · of 25 ranked | 124 |
| #11 | RFP ResponseBusiness · of 25 ranked | 182 |
| #11 | OKRs & Strategic PlanningBusiness · of 25 ranked | 165 |
| #11 | RAG PipelinesAgents · of 25 ranked | 172 |
| #11 | Long-Context Q&AAgents · of 25 ranked | 163 |
| #11 | Fiction CollaboratorPersonal · of 25 ranked | 177 |
| #11 | Journaling HelperPersonal · of 25 ranked | 124 |
| #11 | Recipe GenerationPersonal · of 25 ranked | 124 |
| #11 | Math ProofsResearch · of 25 ranked | 165 |
| #11 | Scientific CodingResearch · of 25 ranked | 188 |
| #11 | Literature ReviewResearch · of 25 ranked | 177 |
| #13 | Agent WorkflowsAgents · of 25 ranked | 199 |
| #13 | Coding AgentsAgents · of 25 ranked | 199 |
| #13 | Fitness CoachingPersonal · of 25 ranked | 136 |
| #14 | Data AnalysisData · of 25 ranked | 173 |
| #14 | Financial AnalysisProfessional · of 25 ranked | 162 |
| #14 | Math TutoringEducation · of 25 ranked | 150 |
| #14 | Experiment DesignResearch · of 25 ranked | 160 |
| #15 | JSON ExtractionData · of 25 ranked | 147 |
| #16 | Customer SupportBusiness · of 25 ranked | 133 |
| #19 | Resume WritingBusiness · of 25 ranked | 118 |
| #19 | Dataset AnnotationResearch · of 25 ranked | 143 |
| #21 | SOP / Process DocsBusiness · of 25 ranked | 137 |
| #24 | Function / Tool CallingAgents · of 25 ranked | 152 |
Similar models
Z.ai: GLM 5.2
Z.ai: GLM 4.6
Z.ai: GLM 5
Z.ai: GLM 4.7
Z.ai: GLM 5.1
Z.ai: GLM 5 Turbo
Quick answers
- How much does Z.ai: GLM 5.2 (batch) cost?
- $0.70 per million input tokens and $2.20 per million output tokens.
- What is Z.ai: GLM 5.2 (batch)'s context window?
- 512,000 tokens, roughly 768 pages of text in a single request.
- Does Z.ai: GLM 5.2 (batch) support tool calling?
- It supports tool calling, structured output, a reasoning mode.
- Can Z.ai: GLM 5.2 (batch) process images?
- No, it is text-only on the input side.