GLM-4 Models by Zhipu AI
Last refreshed 2026-07-11. Next refresh: weekly.
About
The GLM-4 family, developed by Zhipu AI and Tsinghua University, represents an evolving series of large language models renowned for their multilingual capabilities and state-of-the-art performance. Building upon previous ChatGLM generations, these models are pre-trained on an extensive dataset of ten trillion tokens across Chinese, English, and 24 other languages. They undergo rigorous multi-stage post-training, involving supervised fine-tuning and reinforcement learning from human feedback, which enables them to rival or surpass GPT-4 on various benchmarks. The series includes versions like GLM-4, GLM-4-Air, and GLM-4-9B, each tailored for different tasks and resource constraints. A notable feature is the GLM-4 All Tools model that can autonomously use web browsers and Python interpreters for complex task completion. Open-source variants, such as GLM-4-9B and its chat-optimized version, along with multimodal models like GLM-4V-9B, which integrates image processing, highlight the family's versatility.
Decision facts
- Best fit
- realtime voiceaudiovision and multimodal work
- Capability starting point
- GLM-4-Flash-250414 with JSON / Tool use and structured outputs
- Lowest tracked input
- GLM-4V 9B · $0.050/1M · Replicate API
- Closest related family
- AutoGLM
Current Variants
Use-when guidance is based on each model's tracked capabilities, context window, release date, and replacement status.
Use when the workload needs 128K context and 9B parameters.
Use when the workload needs 128K context, 32B parameters, and structured outputs.
Use when the workload needs 128K context and 9B parameters.
Use when the workload needs JSON / Tool use, structured outputs, and prompt caching.
Use when the workload needs realtime voice, multimodal inputs, and audio.
Use when the workload needs 128K context, 9B parameters, and multimodal inputs.
Use when the workload needs vision and multimodal inputs.
| Model | Use when | Released | Signals | Status |
|---|---|---|---|---|
| GLM-4 Code 9B | Use when the workload needs 128K context and 9B parameters. | 2025-05 | 128K context9B parameters | Current |
| GLM-4 32B | Use when the workload needs 128K context, 32B parameters, and structured outputs. | 2025-03 | 128K context32B parametersstructured outputs | Current |
| GLM-4 9B | Use when the workload needs 128K context and 9B parameters. | 2024-06 | 128K context9B parameters | Current |
| GLM-4-Air | Use when the workload needs 128K context. | 2024-06 | 128K context | Current |
| GLM-4-Flash | Use when the workload needs 128K context. | 2024-06 | 128K context | Current |
| GLM-4-Flash-250414 | Use when the workload needs JSON / Tool use, structured outputs, and prompt caching. | Unknown release | JSON / Tool usestructured outputsprompt caching | Current |
| GLM-4-Voice | Use when the workload needs realtime voice, multimodal inputs, and audio. | Unknown release | realtime voicemultimodal inputsaudio | Current |
| GLM-4V 9B | Use when the workload needs 128K context, 9B parameters, and multimodal inputs. | 2024-06 | 128K context9B parametersmultimodal inputs | Current |
| GLM-4V-Flash | Use when the workload needs vision and multimodal inputs. | Unknown release | visionmultimodal inputs | Current |
Release Timeline
4 release groupsSpecifications(9 models)
| Model | Released | Context | Parameters | Vision | Multimodal | JSON / Tool use | Structured Outputs |
|---|---|---|---|---|---|---|---|
| GLM-4 Code 9B | 2025-05 | 128K | 9B | No | No | No | No |
| GLM-4 32B | 2025-03 | 128K | 32B | No | No | No | Yes |
| GLM-4 9B | 2024-06 | 128K | 9B | No | No | No | No |
| GLM-4-Air | 2024-06 | 128K | — | No | No | No | No |
| GLM-4-Flash | 2024-06 | 128K | — | No | No | No | No |
| GLM-4-Flash-250414 | — | — | — | No | No | Yes | Yes |
| GLM-4-Voice | — | — | — | No | Yes | No | No |
| GLM-4V 9B | 2024-06 | 128K | 9B | No | Yes | No | No |
| GLM-4V-Flash | — | — | — | Yes | Yes | No | No |
Available From(7 providers)
Pricing
| Model | Provider | Input / 1M | Output / 1M | Type |
|---|---|---|---|---|
| GLM-4V 9B | Replicate API | $0.05 | $0.25 | Serverless |
| GLM-4 32B | OpenRouter | $0.1 | $0.1 | Serverless |
| GLM-4 9B | AWS Bedrock | $0.1 | $0.1 | Serverless |
| GLM-4 9B | GCP Vertex AI | $0.1 | $0.1 | Serverless |
| GLM-4 9B | Bitdeer AI | $0.14 | $0.42 | Serverless |
| GLM-4 9B | Fireworks AI | $0.2 | $0.2 | Serverless |
Popular comparisons in this family
Models(9)
GLM-4 Code 9B
GLM-4 32B
GLM-4 9B
GLM-4-Air
GLM-4-Flash
GLM-4-Flash-250414
GLM-4-Voice
GLM-4V 9B
GLM-4V-Flash




