Z.ai: GLM 5.2
The Z.ai: GLM 5.2 is a language model designed for processing text input within an extremely high context length of 1048576 tokens and generating output up to 131072 completion tokens per interaction. It accepts only text-based input modalities and supports tools, reasoning capabilities, but does not have structured output or open weights. This model may be worth considering for those prioritizing its price point and performance on benchmark tasks, given a blended score of 76.2 across two independent benchmarks. With an input cost of $0.6832 per million tokens and an output cost of $2.1472 per million tokens, it offers a relatively affordable option with some robust capabilities.
Benchmark results
Independent, published benchmarks. Blended score 87.0 across 4 benchmarks, last refreshed 2026-11-08. How scoring works →
| Benchmark | Measures | Score |
|---|---|---|
| AI Index | broad capability composite | 84.3 |
| AI Index Coding | software engineering tasks | 100.0 |
| AI Index Agentic | multi-step tool-using tasks | 71.0 |
| EQ-Bench | emotional understanding in dialogue | 67.3 |
- Model ID
- z-ai/glm-5.2
- Vendor
- z-ai
- Released
- June 2026
- Tokenizer
- Other
- Input Modalities
- text
- Output Modalities
- text
- Max Output
- 943,718 tokens
- 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.01/M input and $6.80/M output rates. Run your own numbers →
| Job | Tokens | Cost |
|---|---|---|
| Summarize a 50-page report | 30k in / 1.5k out | $0.01 |
| Classify 1,000 customer emails | 500k in / 50k out | $0.34 |
| A month of a busy support chatbot | 5M in / 2M out | $13.63 |
Price & spec history
Tracked daily by PicksByModel since 2026-07-17.
| Date | Input /M | Output /M | Context |
|---|---|---|---|
| 2026-11-01 | $0.01 | $6.80 | 1,048,576 |
| 2026-10-29 | $0.01 | $7.00 | 1,048,576 |
| 2026-10-21 | $0.03 | $7.00 | 1,048,576 |
| 2026-10-16 | $0.62 | $2.42 | 1,048,576 |
| 2026-10-15 | $0.04 | $7.00 | 1,048,576 |
| 2026-10-10 | $0.06 | $7.00 | 1,048,576 |
| 2026-10-09 | $0.08 | $4.30 | 1,048,576 |
| 2026-10-08 | $0.17 | $12.00 | 1,048,576 |
| 2026-10-07 | $0.06 | $12.00 | 1,048,576 |
| 2026-10-06 | $0.01 | $12.00 | 1,048,576 |
| 2026-10-05 | $0.02 | $16.00 | 1,048,576 |
| 2026-10-04 | $0.38 | $3.49 | 1,048,576 |
| 2026-10-02 | $0.41 | $3.99 | 1,048,576 |
| 2026-10-01 | $1.40 | $4.40 | 1,048,576 |
| 2026-09-30 | $0.21 | $3.99 | 1,048,576 |
| 2026-09-29 | $0.32 | $4.40 | 1,048,576 |
| 2026-09-20 | $0.65 | $2.04 | 1,048,576 |
| 2026-09-19 | $0.55 | $1.74 | 1,048,576 |
| 2026-09-18 | $0.49 | $1.56 | 1,048,576 |
| 2026-09-15 | $1.40 | $4.40 | 1,048,576 |
| 2026-09-14 | $0.68 | $2.15 | 1,048,576 |
| 2026-09-12 | $0.60 | $2.00 | 1,048,576 |
| 2026-09-02 | $0.97 | $3.04 | 1,048,576 |
| 2026-08-25 | $1.19 | $3.74 | 1,048,576 |
| 2026-08-19 | $0.97 | $3.04 | 1,048,576 |
| 2026-08-18 | $0.50 | $3.15 | 1,048,576 |
| 2026-08-17 | $1.19 | $3.74 | 1,048,576 |
| 2026-08-16 | $0.32 | $1.02 | 1,048,576 |
| 2026-08-15 | $0.49 | $1.54 | 1,048,576 |
| 2026-08-14 | $0.63 | $1.98 | 1,048,576 |
| 2026-08-13 | $0.50 | $3.15 | 1,048,576 |
| 2026-08-12 | $0.42 | $1.40 | 1,048,576 |
| 2026-08-10 | $0.76 | $2.42 | 1,048,576 |
| 2026-08-09 | $0.10 | $0.31 | 1,048,576 |
| 2026-08-08 | $0.36 | $1.14 | 1,048,576 |
| 2026-08-07 | $0.70 | $2.19 | 1,048,576 |
| 2026-08-04 | $0.76 | $2.42 | 1,048,576 |
| 2026-08-03 | $1.19 | $3.74 | 1,048,576 |
| 2026-08-02 | $0.39 | $1.21 | 1,048,576 |
| 2026-08-01 | $0.76 | $2.39 | 1,048,576 |
| 2026-07-31 | $1.19 | $3.74 | 1,048,576 |
| 2026-07-30 | $0.68 | $2.13 | 1,048,576 |
| 2026-07-28 | $0.73 | $2.28 | 1,048,576 |
| 2026-07-27 | $0.82 | $2.59 | 1,048,576 |
| 2026-07-26 | $0.72 | $2.25 | 1,048,576 |
| 2026-07-25 | $0.77 | $2.42 | 1,048,576 |
| 2026-07-24 | $0.77 | $2.43 | 1,048,576 |
| 2026-07-23 | $0.83 | $2.60 | 1,048,576 |
| 2026-07-22 | $0.82 | $2.57 | 1,048,576 |
| 2026-07-21 | $0.97 | $3.04 | 1,048,576 |
| 2026-07-20 | $0.97 | $3.06 | 1,048,576 |
| 2026-07-19 | $0.25 | $0.80 | 1,048,576 |
| 2026-07-18 | $0.41 | $1.29 | 1,048,576 |
| 2026-07-17 | $0.93 | $2.93 | 1,048,576 |
Category rankings
Where Z.ai: GLM 5.2 places across the 46 categories it ranks in. How we rank →
| # | Category | Score |
|---|---|---|
| #11 | Meeting NotesBusiness · of 25 ranked | 155 |
| #11 | Character RoleplayPersonal · of 25 ranked | 152 |
| #12 | Code DocumentationCode · of 25 ranked | 144 |
| #12 | Long-Document SummarizationWriting · of 25 ranked | 164 |
| #13 | Code ReviewCode · of 25 ranked | 170 |
| #13 | Code RefactoringCode · of 25 ranked | 168 |
| #13 | Bug FixingCode · of 25 ranked | 183 |
| #13 | ETL ScriptingData · of 25 ranked | 157 |
| #13 | Creative WritingWriting · of 25 ranked | 161 |
| #13 | Screenwriting & DialogWriting · of 25 ranked | 161 |
| #13 | Academic WritingWriting · of 25 ranked | 161 |
| #13 | Legal DraftingProfessional · of 25 ranked | 161 |
| #13 | Legal ResearchProfessional · of 25 ranked | 172 |
| #13 | Contract ReviewProfessional · of 25 ranked | 182 |
| #13 | Medical Note SummarizationProfessional · of 25 ranked | 157 |
| #13 | Scientific ResearchProfessional · of 25 ranked | 172 |
| #13 | History TutoringEducation · of 25 ranked | 147 |
| #13 | Essay GradingEducation · of 25 ranked | 170 |
| #13 | RFP ResponseBusiness · of 25 ranked | 178 |
| #13 | OKRs & Strategic PlanningBusiness · of 25 ranked | 161 |
| #13 | RAG PipelinesAgents · of 25 ranked | 168 |
| #13 | Long-Context Q&AAgents · of 25 ranked | 159 |
| #13 | Fiction CollaboratorPersonal · of 25 ranked | 172 |
| #13 | Math ProofsResearch · of 25 ranked | 161 |
| #13 | Scientific CodingResearch · of 25 ranked | 183 |
| #13 | Literature ReviewResearch · of 25 ranked | 172 |
| #14 | Blog Post WritingWriting · of 25 ranked | 141 |
| #14 | Physics TutoringEducation · of 25 ranked | 149 |
| #14 | Agent WorkflowsAgents · of 25 ranked | 194 |
| #14 | Coding AgentsAgents · of 25 ranked | 194 |
| #14 | Trip PlanningPersonal · of 25 ranked | 141 |
| #16 | SQL GenerationCode · of 25 ranked | 171 |
| #17 | CSV / Spreadsheet CleanupData · of 25 ranked | 154 |
| #18 | Unit Test GenerationCode · of 25 ranked | 155 |
| #18 | CI/CD PipelinesCode · of 25 ranked | 145 |
| #21 | Data AnalysisData · of 25 ranked | 169 |
| #21 | Transcript CleanupWriting · of 25 ranked | 142 |
| #22 | Math TutoringEducation · of 25 ranked | 147 |
| #22 | Experiment DesignResearch · of 25 ranked | 157 |
| #23 | Financial AnalysisProfessional · of 25 ranked | 158 |
| #24 | Regex WritingCode · of 25 ranked | 134 |
| #24 | JSON ExtractionData · of 25 ranked | 144 |
| #24 | Marketing CopyWriting · of 25 ranked | 129 |
| #24 | Language TranslationWriting · of 25 ranked | 134 |
| #24 | Standardized Test PrepEducation · of 25 ranked | 129 |
| #24 | Tutoring for KidsPersonal · of 25 ranked | 134 |
Similar models
Z.ai: GLM 5.1
Z.ai: GLM 5 Turbo
Z.ai: GLM 5
Z.ai: GLM 4.7
Z.ai: GLM 4.6
Z.ai: GLM 5.3 Prime
Quick answers
- How much does Z.ai: GLM 5.2 cost?
- $0.01 per million input tokens and $6.80 per million output tokens.
- What is Z.ai: GLM 5.2's context window?
- 1,048,576 tokens, roughly 1,572 pages of text in a single request.
- Does Z.ai: GLM 5.2 support tool calling?
- It supports tool calling, structured output, a reasoning mode.
- Can Z.ai: GLM 5.2 process images?
- No, it is text-only on the input side.