Z.ai: GLM 4 Long API
A specialized variant of the GLM-4 family engineered for ultra-long context processing. Supporting up to 1 million tokens, it excels in "Needle In A Haystack" retrieval and cross-document reasoning, making it ideal for analyzing entire codebases, legal archives, and multi-year financial datasets.
- Context window: 1,048,576 tokens
- Max output: 4,096 tokens
- Input: text
- Output: text
- Reasoning: Supported
- Tool calling: Supported
- File input: Supported
- Released: 2024-06-04
- Knowledge cutoff: 2025-10-31
Frequently Asked Questions
What is the context window of GLM 4 Long?
GLM 4 Long supports a context window of up to 1,048,576 tokens.
Does GLM 4 Long support function calling?
Yes. GLM 4 Long supports tool / function calling.
Does GLM 4 Long support reasoning?
Yes. GLM 4 Long is a reasoning-capable model.
What is the knowledge cutoff of GLM 4 Long?
The knowledge cutoff of GLM 4 Long is 2025-10-31.