GLM 5
GLM 5 is a text generation model from Z.ai with a 200,000-token context window and configurable reasoning effort.
Long-context text generation with adjustable reasoning
GLM 5 is a large language model developed by Z.ai (formerly Zhipu AI) and made available through DeepInfra. It belongs to the GLM (General Language Model) family, which has been developed through ongoing research at Zhipu AI, and this release was added to the catalog in February 2026. The model supports a 200,000-token context window and a maximum response size of 16,384 tokens, making it suited for tasks that involve long documents or extended conversations.
A notable feature of GLM 5 is its configurable reasoning effort, which allows users to adjust how much computational reasoning the model applies to a given prompt. This makes it flexible for use cases ranging from quick text generation to more deliberate, multi-step reasoning tasks. Developers working with long-form content, document analysis, or tasks that benefit from tunable inference behavior are the primary audience for this model.
What GLM 5 supports
Long Context Window
Processes up to 200,000 tokens in a single context, enabling analysis of lengthy documents, codebases, or extended conversation histories.
Adjustable Reasoning
Exposes a reasoning effort toggle that lets users dial the depth of inference up or down depending on task complexity and latency requirements.
Text Generation
Generates coherent, multi-turn chat responses with a maximum output size of 16,384 tokens per response.
Instruction Following
Handles structured prompts and system instructions, supporting chat-style interactions typical of the llm_chat model type.
Ready to build with GLM 5?
Get Started FreeBenchmark scores
Scores represent accuracy — the percentage of questions answered correctly on each test.
| Benchmark | What it tests | Score |
|---|---|---|
| GPQA Diamond | PhD-level science questions (biology, physics, chemistry) | 82.0% |
| HLE | Questions that challenge frontier models across many domains | 27.2% |
| SciCode | Scientific research coding and numerical methods | 46.2% |
| SWE-bench Verified | Real GitHub issues requiring multi-file code fixes | 77.8% |
| BrowseComp | Complex web browsing and information retrieval | 75.9% |
Common questions about GLM 5
What is the context window size for GLM 5?
GLM 5 supports a context window of 200,000 tokens, allowing it to process very long documents or extended multi-turn conversations in a single request.
What is the maximum response length GLM 5 can produce?
The model has a maximum response size of 16,384 tokens per generation.
What does the reasoning effort toggle do?
The reasoning effort input is a toggle group that lets you control how much reasoning the model applies before generating a response. Higher effort may improve accuracy on complex tasks, while lower effort can reduce latency.
Who publishes GLM 5 and where is it hosted on MindStudio?
GLM 5 is published by Z.ai and is provided through DeepInfra as the underlying infrastructure provider on MindStudio.
Does GLM 5 support image or video inputs?
Based on the available metadata, GLM 5 does not have confirmed support for image or video analysis inputs — it is listed as a text generation model.
What people think about GLM 5
Community reception on r/LocalLLaMA was broadly positive at launch, with users highlighting GLM-5's strong benchmark scores in software engineering and math reasoning as well as its MIT license enabling open commercial use. The thread about Z.ai's GPU constraints attracted significant attention, with many users noting the significance of training a model of this scale entirely on Huawei Ascend hardware.
Some community members raised questions about real-world performance relative to benchmark numbers, and a later thread on r/singularity pointed to GLM-5's ARC-AGI 2 results as underwhelming compared to its other reported scores. Discussions also covered availability on platforms like OpenRouter ahead of the official release.
Z.ai said they are GPU starved, openly.
GLM-5 Officially Released
GLM 5 Is Being Tested On OpenRouter
Chinese models' ARC-AGI 2 results seem underwhelming compared to their benchmarks results
Parameters & options
Explore similar models
Start building with GLM 5
No API keys required. Create AI-powered workflows with GLM 5 in minutes — free.