LLM ReferenceLLM Reference
13 models2024–2025Up to 198K ctxFrom $0.05/1M input

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. Recent advancements include the GLM-4-Voice model, an end-to-end speech model supporting Chinese and English, further extending the boundaries of open-source LLMs 1 3 5 6 7 8.

Specifications(13 models)

GLM-4 model specifications comparison
ModelReleasedContextParametersMultimodalStructured Outputs
GLM-4 Code 9B2025-059BNoNo
GLM-4 Air 4B2025-034BNoNo
GLM-4 32B2025-0332BNoYes
GLM-4.72025-01NoYes
GLM-4.52025-01128KNoYes
GLM-4.7 Flash2025-01198KNoYes
GLM-4.5-Air2025-01128KNoYes
GLM-4.62025-01198KNoYes
GLM-4-Extreme2024-06NoNo
GLM-4-Air2024-06NoNo
GLM-4-Flash2024-06NoNo
GLM-4 9B2024-06131K9BNoNo
GLM-4V 9B2024-06131K9BYesNo

Available From(6 providers)

Pricing

GLM-4 model pricing by provider
ModelProviderInput / 1MOutput / 1MType
GLM-4V 9BReplicate API$0.05$0.25Serverless
GLM-4.7 FlashOpenRouter$0.06$0.4Serverless
GLM-4 32BOpenRouter$0.1$0.1Serverless
GLM-4.5-AirOpenRouter$0.13$0.85Serverless
GLM-4 9BBitdeer AI$0.14$0.42Serverless
GLM-4 9BFireworks AI$0.2$0.2Serverless
GLM-4.7OpenRouter$0.39$1.75Serverless
GLM-4.6OpenRouter$0.39$1.9Serverless
GLM-4.7Fireworks AI$0.6$2.2Serverless
GLM-4.7GCP Vertex AI$0.6$2.2Serverless
GLM-4.5OpenRouter$0.6$2.2Serverless
GLM-4.5Fireworks AI$0.9$0.9Serverless
GLM-4.7 FlashFireworks AI$0.9$0.9Serverless
GLM-4.5-AirFireworks AI$0.9$0.9Serverless
GLM-4.6Fireworks AI$0.9$0.9Serverless

Frequently Asked Questions

What is GLM-4?
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. Recent advancements include the GLM-4-Voice model, an end-to-end speech model supporting Chinese and English, further extending the boundaries of open-source LLMs 1 3 5 6 7 8.
How many models are in the GLM-4 family?
The GLM-4 family contains 13 models.
What is the latest GLM-4 model?
The latest model is GLM-4 Code 9B, released in 2025-05.
How much does GLM-4 cost?
GLM-4 models range from $0.05/1M to $0.9/1M input tokens depending on the model and provider.

Models(13)