modelgrep

Best Z.ai Models for Math & Science

Match · Updated July 2026

The best Z.ai model for math and science is GLM 5.2, scoring 89.5% on GPQA Diamond (graduate-level physics, chemistry and biology). GLM 5.1 (86.8%) and GLM 4.7 (85.9%) round out the top three.

89.5%GPQA
51.1Intelligence
$0.818Input /M
1.0MContext

AI models ranked by GPQA Diamond — graduate-level physics, chemistry and biology questions that can't be answered by lookup. The best LLMs for math, quantitative reasoning and hard-science work.

  1. 1z-ai logo
    glm-5.2
    ReasoningToolsJSON51.1 intel · $0.818/M · 1.0M ctx
    89.5%
    GPQA
  2. 2z-ai logo
    glm-5.1
    ReasoningToolsJSON40.2 intel · $0.966/M · 205K ctx
    86.8%
    GPQA
  3. 3z-ai logo
    glm-4.7
    ReasoningToolsJSON33.7 intel · $0.400/M · 205K ctx
    85.9%
    GPQA
  4. 4z-ai logo
    glm-5-turbo
    ReasoningToolsJSON38.1 intel · $1.20/M · 203K ctx
    84.7%
    GPQA
  5. 5z-ai logo
    glm-5
    ReasoningToolsJSON39.5 intel · $0.950/M · 205K ctx
    82.0%
    GPQA
  6. 6z-ai logo
    glm-5v-turbo
    ReasoningToolsJSON+134.5 intel · $1.20/M · 203K ctx
    80.9%
    GPQA
  7. 7z-ai logo
    glm-4.5
    ReasoningToolsJSON19.5 intel · $0.600/M · 131K ctx
    78.2%
    GPQA
  8. 8z-ai logo
    glm-4.5-air
    ReasoningTools16.5 intel · $0.130/M · 131K ctx
    73.3%
    GPQA
  9. 9z-ai logo
    glm-4.6
    ReasoningToolsJSON23.0 intel · $0.500/M · 205K ctx
    63.2%
    GPQA
  10. 10z-ai logo
    glm-4.7-flash
    ReasoningToolsJSON22.9 intel · $0.060/M · 203K ctx
    58.1%
    GPQA
  11. 11z-ai logo
    glm-4.5v
    ReasoningToolsJSON+17.0 intel · $0.600/M · 66K ctx
    57.3%
    GPQA
  12. 12z-ai logo
    glm-4.6v
    ReasoningToolsJSON+111.0 intel · $0.300/M · 131K ctx
    56.6%
    GPQA

Frequently asked

What is the best Z.ai model for math?

The best Z.ai model for math and science is GLM 5.2, scoring 89.5% on GPQA Diamond (graduate-level physics, chemistry and biology). GLM 5.1 (86.8%) and GLM 4.7 (85.9%) round out the top three.

What's a good alternative to GLM 5.2?

GLM 5.1 (86.8%) is the closest alternative on this metric, followed by GLM 4.7 (85.9%). See the full ranking above for the tradeoffs.

How many Z.ai models are there?

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

More Z.ai rankings

All rankings