GLM-4 Models by Zhipu AI

Zhipu AIMITOpen source
Zhipu AI releases · 15 in the last 12 monthsChangelog →
9 models2024–2025Up to 128K ctxFrom $0.050/1M input

Last refreshed 2026-07-11. Next refresh: weekly.

Details

ResearcherZhipu AI
LicenseMITOSI-approved
Commercial usePermitted
Models9
Released2024–2025
Max context128K

Capabilities

Vision1 of 9 models
Multimodal3 of 9 models
JSON / Tool use1 of 9 models
Structured Outputs2 of 9 models

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.

9 in view

Use when the workload needs 128K context and 9B parameters.

2025-05128K context9B parameters
GLM-4 32BCurrent

Use when the workload needs 128K context, 32B parameters, and structured outputs.

2025-03128K context32B parametersstructured outputs
GLM-4 9BCurrent

Use when the workload needs 128K context and 9B parameters.

2024-06128K context9B parameters
GLM-4-AirCurrent

Use when the workload needs 128K context.

2024-06128K context

Use when the workload needs 128K context.

2024-06128K context

Use when the workload needs JSON / Tool use, structured outputs, and prompt caching.

Unknown releaseJSON / Tool usestructured outputsprompt caching

Use when the workload needs realtime voice, multimodal inputs, and audio.

Unknown releaserealtime voicemultimodal inputsaudio
GLM-4V 9BCurrent

Use when the workload needs 128K context, 9B parameters, and multimodal inputs.

2024-06128K context9B parametersmultimodal inputs

Use when the workload needs vision and multimodal inputs.

Unknown releasevisionmultimodal inputs

Release Timeline

4 release groups
2025-05
1 current
GLM-4 Code 9B
128K context9B parameters
Current
2025-03
1 current
GLM-4 32B
128K context32B parametersstructured outputs
Current
2024-06
4 current
GLM-4 9B
128K context9B parameters
Current
GLM-4-Air
128K context
Current
GLM-4-Flash
128K context
Current
GLM-4V 9B
128K context9B parametersmultimodal inputs
Current
Unknown release
3 current
GLM-4-Flash-250414
JSON / Tool usestructured outputsprompt caching
Current
GLM-4-Voice
realtime voicemultimodal inputsaudio
Current
GLM-4V-Flash
visionmultimodal inputs
Current

Specifications(9 models)

GLM-4 model specifications comparison
ModelReleasedContextParametersVisionMultimodalJSON / Tool useStructured Outputs
GLM-4 Code 9B2025-05128K9BNoNoNoNo
GLM-4 32B2025-03128K32BNoNoNoYes
GLM-4 9B2024-06128K9BNoNoNoNo
GLM-4-Air2024-06128K—NoNoNoNo
GLM-4-Flash2024-06128K—NoNoNoNo
GLM-4-Flash-250414———NoNoYesYes
GLM-4-Voice———NoYesNoNo
GLM-4V 9B2024-06128K9BNoYesNoNo
GLM-4V-Flash———YesYesNoNo

Pricing

GLM-4 model pricing by provider
ModelProviderInput / 1MOutput / 1MType
GLM-4V 9BReplicate API$0.05$0.25Serverless
GLM-4 32BOpenRouter$0.1$0.1Serverless
GLM-4 9BAWS Bedrock$0.1$0.1Serverless
GLM-4 9BGCP Vertex AI$0.1$0.1Serverless
GLM-4 9BBitdeer AI$0.14$0.42Serverless
GLM-4 9BFireworks AI$0.2$0.2Serverless

Popular comparisons in this family