modelgrep

Open-Source Z.ai Models

Quick answer · Updated June 2026

The best open-weight Z.ai model is GLM 5.1 (43.8 intelligence) — downloadable from Hugging Face and self-hostable. GLM 4.7 (42.1) and GLM 5 (40.6) round out the top three.

43.8Intelligence
84 t/sSpeed
$0.980Input /M
203KContext

The best open-weight AI models — downloadable from Hugging Face and self-hostable — ranked by intelligence. Open-source alternatives to proprietary frontier models.

  1. 1Z
    glm-5.1
    ReasoningToolsJSON43.8 intel · $0.980/M · 84 t/s
    43.8
    Intelligence
  2. 2Z
    glm-4.7
    ReasoningToolsJSON42.1 intel · $0.400/M · 452 t/s
    42.1
    Intelligence
  3. 3Z
    glm-5
    ReasoningToolsJSON40.6 intel · $0.600/M · 108 t/s
    40.6
    Intelligence
  4. 4Z
    glm-4.6
    ReasoningToolsJSON30.2 intel · $0.430/M · 37 t/s
    30.2
    Intelligence
  5. 5Z
    glm-4.7-flash
    ReasoningToolsJSON30.1 intel · $0.060/M · 35 t/s
    30.1
    Intelligence
  6. 6Z
    glm-4.5
    ReasoningToolsJSON26.4 intel · $0.600/M · 42 t/s
    26.4
    Intelligence
  7. 7Z
    glm-4.6v
    ReasoningToolsJSON+123.4 intel · $0.300/M · 60 t/s
    23.4
    Intelligence
  8. 8Z
    glm-4.5-air
    ReasoningToolsJSON23.2 intel · $0.125/M · 59 t/s
    23.2
    Intelligence
  9. 9Z
    glm-4.5v
    ReasoningToolsJSON+115.1 intel · $0.600/M · 19 t/s
    15.1
    Intelligence

Frequently asked

What is the best open-source Z.ai model?

The best open-weight Z.ai model is GLM 5.1 (43.8 intelligence) — downloadable from Hugging Face and self-hostable. GLM 4.7 (42.1) and GLM 5 (40.6) round out the top three.

What's a good alternative to GLM 5.1?

GLM 4.7 (42.1) is the closest alternative on this metric, followed by GLM 5 (40.6). See the full ranking above for the tradeoffs.

How many Z.ai models are there?

modelgrep tracks 10 Z.ai models with live benchmarks, speed, latency and per-provider pricing, led on intelligence by GLM 5 Turbo. 9 of them qualify for this ranking.

More Z.ai rankings

All rankings