Skip to content
llmmodels
Code modelVisionHistorical

GLM-4

by Zhipu AI (Z.ai) · Jan 17, 2024

GLM-4 is a proprietary code model from Zhipu AI (Z.ai), released Jan 17, 2024. It has accepts text, image input.

Released
Jan 17, 2024
Type
Code model
Parameters
Undisclosed
Context window
—
Max output
—
Input
text, image
Output
text
Weights
Closed
License
Proprietary
Knowledge cutoff
—
Status
Historical
Training data
10000B tokens/words

About GLM-4

We introduce ChatGLM, an evolving family of large language models that we have been developing over time. This report primarily focuses on the GLM-4 language series, which includes GLM-4, GLM-4-Air, and GLM-4-9B. They represent our most capable models that are trained with all the insights and lessons gained from the preceding three generations of ChatGLM. To date, the GLM-4 models are pre-trained on ten trillions of tokens mostly in Chinese and English, along with a small set of corpus from 24 languages, and aligned primarily for Chinese and English usage.

GLM-4 vs alternatives

Alternatives to GLM-4
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Gemini 2.0 ProGoogle DeepMindDec 2024————135.4
Nemotron-4 15BNVIDIAFeb 202415B———99.1
Gemini 2.0 Flash ThinkingGoogle DeepMindDec 2024—————
Qwen2.5-TurboAlibaba (Qwen)Nov 2024—————
Multi-Token Prediction 13BMetaApr 202413B————
voyage-code-3Voyage AIDec 2024—————
aiXcoder-7B BasePeking UniversityOct 20247B————
NVLM-H 72BNVIDIAOct 202472B————

More models from Zhipu AI (Z.ai)

All Zhipu AI (Z.ai) models →
ModelReleasedParamsContextInput $/1MOutput $/1M
GLM-5.3-FlashopenAug 2026321B1M$0.12$0.418
GLM-5.3openAug 2026753B1M$1.20$4.18
GLM-5.2openJun 2026753B1M$1.20$4.18
GLM-5.1openApr 2026754B200K$0.896$3.59
GLM-5openFeb 2026754B200K$0.598$2.69
GLM-4.7openDec 2025358B200K$0.448$2.09
GLM-4.7-FlashopenJan 202631B200KFreeFree
GLM-4.5-AiropenJul 2025110B128K$0.12$0.896

Frequently asked questions

Who made GLM-4?

GLM-4 was developed by Zhipu AI (Z.ai) (China). It was released on Jan 17, 2024.

Is GLM-4 open source?

No. GLM-4 is a proprietary model available only through its provider's API and apps.

Sources: epoch · paper. Last updated 2026-11-22.