Skip to main content
llm.info

ChatGLM-4

Zhipu AI

Zhipu AI's flagship multilingual model released January 2024 (API) with open-source GLM-4-9B variants in June 2024. Pretrained on 10 trillion tokens primarily Chinese/English plus 24 additional languages. Features 128K context length for both GLM-4 and GLM-4 All Tools. Advanced capabilities: web browsing, code execution, custom tool calls (Function Call), long context reasoning. Approaches state-of-the-art models (GPT-4 Turbo, Gemini 1.5 Pro, Claude 3 Opus) on standard benchmarks. Best-in-class for Chinese language tasks. GLM-4-9B open variant enables research and deployment on consumer hardware.

Strengths

  • Approaches GPT-4 Turbo, Gemini 1.5 Pro, Claude 3 Opus on standard benchmarks
  • Best-in-class Chinese language performance - specifically optimized
  • 128K context length for both base and All Tools variants
  • Advanced tool use - web browsing, code execution, custom function calls
  • Pretrained on 10T tokens across 26 languages (primarily Chinese/English)
  • GLM-4-9B open variants enable research and consumer hardware deployment
  • Supervised fine-tuning and RLHF for alignment

Caveats

  • Primarily optimized for Chinese market - less ecosystem support in West
  • 4K max output tokens standard for the class
  • GLM-4 flagship is proprietary (9B variants are open)
  • Ecosystem and tooling less mature than OpenAI/Anthropic
  • English performance may lag purpose-built English models
Vendor
Zhipu AI
Context Window
128,000 tokens
Max Output
4,096 tokens
License
Proprietary (GLM-4), Open Source (GLM-4-9B variants)
Release Date
2024-01-16
Modalities
text

Capabilities

Vision
Audio
Video
Tool Use

Pricing

API pricing competitive in Chinese market. GLM-4-9B variants free (open source)

Reviews

Comments