whatmodel.sh / GLM-5.2

GLM-5.2 is an open-weights language model from Z.ai, released June 2026. Its published size is 753B parameters (40B active per token) and a 1M-token context window. Licence: mit.

71.6±0.5#67 of 743 LLMsfrom 53 benchmark results across 12 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of GLM-5.2, out of 897 with a score, then more from Z.ai.

#modelscorewhereRAMreleased
69Gemini 3.6 Flash Google72±1api $1.50/M2026-07
70GPT-5 Pro OpenAI72±1api $41.25/M2025-10
71GLM-5.2 Z.ai72±1api $2.15/M +local~229GB2026-06
72Hunyuan Hy3 (295B-A21B) Tencent72±1api $0.23/M +local~105GB2026-07
73Qwen3.8 27B Alibaba71±1api $1.60/M +local~18GB2026-08
more from Z.ai
43GLM-5.3 Z.ai74±1api $2.15/M +local~268GB2026-08
63GLM-5.3-Flash Z.ai72±1api $0.24/M +local~117GB2026-08
102GLM-5.1 Z.ai69±0api $2.15/M +local~217GB2026-04

see all LLMs · find the ones that fit your machine

$ what it's good at

agent tasks▁▁▃▆█▄▅▅▃▃▂▁ #51 of 319 · 23% of its score · 14 tests

Beats Gemini 3.7 Flash, Gemini 3.1 Pro (Preview), Qwen3.8-Omni-Flash here, though they rank higher overall.

testresultvs the others in its rundifficultycountswhy
Arena Agent (October 2026 aggregate IPS)0.0023 IPS ✎▁▁▁▃▃█▂▁▁▁·▁ beats 28/63avg -0.403 IPS▇▇▇ 6.9%sharp
SWE-bench Verified78.7% ✎▁··▁·▁▂▁▄█▄▁ beats 26/29hard · avg 19%▇▇ 4.2%sharp
Terminal-Bench 2.1 lab +181.0% ✎▁·▁·▁▁▄▃▅█▆█ beats 48/68hard · avg 26%▇ 2.1%sharp · small run · several runs
τ³-bench banking_knowledge (v1.0.1 grading)37.1% ✎▃▃▂▃·▆▃▂█▅▅▂ beats 15/25very hard · avg 4.5%▇ 1.5%at its level
GameLogicBench solve rate (72 Godot game-logic tasks, Claude Code scaffold)37.5% ✎█▄·█·▄·██▄·▄ beats 7/11very hard · avg 5.3%▇ 1.5%at its level
E2E-SWE (build a working codebase from scratch, 186 tasks) pass@122.2% ✎▃··▅··▃█▃▅▃▅ beats 1/12very hard · avg 3.9%▇ 1.3%sharp · at its level
MCP-Atlas (public set) lab76.8% ✎█··█·██·████ beats 6/7hard · avg 31%▇ 1.3%at its level
Humanity's Last Exam with tools lab +154.7% ✎▁·▁▂▁▂▃▂█▅▄▁ beats 44/64hard · avg 17%▇ 1.3%at its level · small run · several runs
6 more tests
testresultvs the others in its rundifficultycountswhy
Legal Research Bench (agentic, all-pass)31.2% ✎▄█··▄▄▄██·▄█ beats 9/12very hard · avg 6.4%▇ 0.8%at its level
EEGAgentBench overall (tool-based EEG analysis agents, 6 tasks)45.5% ✎▂·▁▁··▇▇█▂·▁ beats 10/25hard · avg 28%▇ 0.7%blunt · at its level
Toolathlon (Tool Decathlon) lab48.2% ✎▂▂▄▂▄▄▆▂█▆██ beats 13/27very hard · avg 14%▇ 0.6%at its level · small run
Agents' Last Exam (metric/harness unspecified) lab20.4% ✎▂·▃·█▄▂▂▂▂▄▄ beats 1/15very hard · avg 7.3%▇ 0.4%at its level · small run
DeepSWE v1.1 (resolved) lab46.2% ✎▂····▃▃▁▄█▆█ beats 5/36hard · avg 24%▇ 0.4%at its level · small run
SWE-bench Pro lab62.1% ✎▄▂▂▂▄▂▆█·▃·▂ beats 15/16hard · avg 32%▇ 0.3%blunt · at its level · small run
coding▁▁▁▃▆▇█▆▆▃▃▁ #36 of 474 · 14% of its score · 7 tests

Beats GPT-5.5, GPT-5.6 Terra, Claude Opus 4.8 here, though they rank higher overall.

testresultvs the others in its rundifficultycountswhy
SWE-bench Verified78.7% ✎▁··▁·▁▂▁▄█▄▁ beats 26/29hard · avg 19%▇▇ 4.2%sharp
Arena WebDev (Code Arena)1607.7 ✎▁▂▄▃▇█▅▇▇▅▂▁ beats 100/134avg 996▇▇ 4.1%sharp
Luau Leetcode fully solved (Torpedo Software)74.0% ✎▁▁▁▁·▁▂▃▅▃█▇ beats 25/49hard · avg 18%▇ 1.8%sharp · at its level
GameLogicBench solve rate (72 Godot game-logic tasks, Claude Code scaffold)37.5% ✎█▄·█·▄·██▄·▄ beats 7/11very hard · avg 5.3%▇ 1.5%at its level
E2E-SWE (build a working codebase from scratch, 186 tasks) pass@122.2% ✎▃··▅··▃█▃▅▃▅ beats 1/12very hard · avg 3.9%▇ 1.3%sharp · at its level
DeepSWE v1.1 (resolved) lab46.2% ✎▂····▃▃▁▄█▆█ beats 5/36hard · avg 24%▇ 0.4%at its level · small run
SWE-bench Pro lab62.1% ✎▄▂▂▂▄▂▆█·▃·▂ beats 15/16hard · avg 32%▇ 0.3%blunt · at its level · small run
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #31 of 405 * · 2.3% of its score · 1 test

Beats GPT-6 Astra, Claude Sonnet 5.5, GPT-6 Sol here, though they rank higher overall.

testresultvs the others in its rundifficultycountswhy
LMArena (text)1475.0 ✎▁▁▁▂▃▂▃▆▆▇█▃ beats 355/388avg 1262▇ 2.3%blunt
math▁▁▃▅█▆▅█▄▁▁▁ #52 of 440 · 49% of its score · 18 tests

Beats GLM-5.3-Flash, Gemini 3.6 Flash, GPT-5 Pro here, though they rank higher overall. Trails Kimi K2.6, Mistral Large 4 (October 29 weights) here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
FrontierMath tiers 1–3 v259.2% ✎▁··▁▁▂▅▃█▅▄▂ beats 47/91very hard · avg 1.4%▇▇▇▇ 11%sharp · at its level
FrontierMath tier 4 v229.3% ✎▁▂▁▁█▅▂▃▁▁▁▁ beats 34/72very hard · avg 0.1%▇▇▇ 8.3%sharp
MathArena ArXivMath June 2026 (48 problems)46.5% ✎▂···▃·▆█▆▅▃▃ beats 3/22very hard · avg 5.4%▇▇ 5.5%sharp · at its level
MathArena ArXivMath April 2026 (40 problems)47.5% ✎▁·····▅██▄·▁ beats 6/20very hard · avg 7.9%▇▇ 5.0%sharp · at its level
MathArena ArXivMath February 2026 (32 problems)46.1% ✎▁▁▁▁█▇▄▃▁▃·▃ beats 17/24very hard · avg 9.7%▇ 2.8%at its level
MathArena ArXivMath March 2026 (30 problems)61.7% ✎█▃▅·█▃▃·▅·▃▃ beats 9/14hard · avg 17%▇ 2.2%at its level
MathArena ArXivMath May 2026 (40 problems)56.7% ✎▁··▁▄█▅▁·▃·▃ beats 9/19very hard · avg 10%▇ 1.9%sharp · at its level
MathArena BrokenArXiv June 2026 (54 problems)14.2% ✎▃·█▃█▃·▂···▃ beats 4/18very hard · avg 0.7%▇ 1.7%sharp · at its level · noisy
10 more tests
testresultvs the others in its rundifficultycountswhy
MathArena BrokenArXiv May 2026 (50 problems)10.5% ✎█·▆··▄▂····▄ beats 2/11very hard · avg 0.7%▇ 1.6%sharp · noisy
MathArena BrokenArXiv April 2026 (61 problems)18.4% ✎▂▂▆█▃▃▂▂▂··▂ beats 4/18very hard · avg 0.9%▇ 1.5%sharp · at its level · noisy
HMMT February 2026 lab92.5% ✎▃▃▁▄▇▇▇█▅▃▃▃ beats 33/38hard · avg 35%▇ 1.1%sharp · small run
MathArena ArXivLean June 2026 (46 problems)8.7% ✎▄····▄▄███·▄ beats 1/9very hard · avg 0.9%▇ 1.1%sharp
IMO-AnswerBench lab91.0% ✎▁▁·▁▁▁▄▆█▄▃▃ beats 42/45medium · avg 41%▇ 1.0%small run
AIME 2026 lab99.2% ✎▁▁▁▂▂▂▆█▇▂·▃ beats 54/54easy · avg 69%▇ 0.9%sharp · maxed out · small run
MathArena BrokenArXiv March 2026 (56 problems)12.1% ✎█·▆█▂·▂▂···▂ beats 5/14very hard · avg 1.1%▇ 0.9%sharp · noisy
MathArena BrokenArXiv February 2026 (31 problems)10.5% ✎▃▂▂▃█▃▂·▃··▂ beats 5/16very hard · avg 1.0%▇ 0.8%sharp · noisy
HMMT November 2025 lab94.4% ✎▁▁····▁▅▃█▇▁ beats 21/23easy · avg 73%▇ 0.6%maxed out · small run
OTIS mock AIME 2024–202586.4% ✎▃▃▄▃▃▃▇▆█▄▃▆ beats 128/207very hard · avg 7.4%▇ 0.5%sharp · maxed out · noisy
web search▂▁▂▆▅█▄▃▁▁▁▁ #44 of 85 · 2.0% of its score · 2 tests

Beats Gemini 3.1 Pro (Preview), Qwen3.7 Max, Gemini 3.5 Flash here, though they rank higher overall. Trails GPT-4o mini (2024-07-18), Mistral Small 3.1 24B (2503), Llama 4 Scout (109B-A17B) here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
Humanity's Last Exam with tools lab +154.7% ✎▁·▁▂▁▂▃▂█▅▄▁ beats 44/64hard · avg 17%▇ 1.3%at its level · small run · several runs
Legal Research Bench (agentic, all-pass)31.2% ✎▄█··▄▄▄██·▄█ beats 9/12very hard · avg 6.4%▇ 0.8%at its level
other tests15 not in a task · 20% of its score
testresultvs the others in its rundifficultycountswhy
GPQA Diamond +191.9% ✎▁▁▁▁▂▃▅▄▄▆█▃ beats 194/221hard · avg 39%▇▇ 3.8%sharp · several runs
EBR-bench (Epoch)9.5% ✎▃▂▅▆▃█▅▆▃▃▂▃ beats 5/30very hard · avg 0.3%▇ 3.3%sharp
Chess Puzzles (Epoch)22.0% ✎█▁▁▁▁▂▄▂▃▃▂▁ beats 93/157very hard · avg 5.6%▇ 3.2%sharp · at its level · noisy
Mystery Game Puzzles (Epoch)15.0% ✎█·▂▁▆▆▆▆▅▂▂▁ beats 22/83very hard · avg 9.4%▇ 2.9%sharp · noisy
SimpleQA Verified34.2% ✎▁▂▂▂▅█▄▃▂··▁ beats 31/91very hard · avg 7.4%▇ 1.0%at its level
Humanity's Last Exam lab40.5% ✎▁▁▁▄▆▇▅█▆▁▂▁ beats 98/115very hard · avg 6.2%▇ 1.0%at its level · small run
Legal Research Bench (single-shot, no tools, all-pass)3.4% ✎▃▃█▃·▅···█▃▃ beats 5/12very hard · avg 0.8%▇ 0.9%too hard for it
NL2Repo lab48.9% ✎▂▂▂·▃▃▅█▃▃▆▃ beats 16/24very hard · avg 13%▇ 0.7%at its level · small run
7 more tests
testresultvs the others in its rundifficultycountswhy
MirrorCode (Epoch)36.7% ✎▁▁▁▄█▅▅▁▁▁▁▁ beats 12/38very hard · avg 2.6%▇ 0.7%sharp · at its level · noisy
RobloxQA v2.0 multiple choice (Torpedo Software)89.0% ✎▁▁▃▁█▄▃▃▆▂▂▂ beats 9/49easy · avg 77%▇ 0.7%typical
AutomationBench v1.0.6 lab26.2% ✎▂···▂·▃▂··█▆ beats 2/10very hard · avg 7.8%▇ 0.5%at its level · small run
CritPt lab20.9% ✎▄···▄▄▄▄█▄▄▄ beats 9/9very hard · avg 1.8%▇ 0.4%noisy · small run
WMT25 Terminology Translation (term success rate)78.2% ✎▂·▂··▃·▄▂·█▆ beats 2/12medium · avg 64%▇ 0.3%noisy
WMT24++78.8% ✎█·▃·▅▅▃···▃▃ beats 7/10easy · avg 70%▇ 0.2%blunt
WMT26 General MT (GEMBA-ESA, LLM judge)76.5% ✎▄·▄▄▄·▄██▄█▄ beats 5/12medium · avg 65%▇ 0.2%blunt

$ where to run it

Through an API

api · $2.15/M · $1.4 in / $4.4 out per 1M tokens · 1M context · docs.z.ai ↗ · price sourceStandard base token rate from models.dev. Provider-specific tiers, long-context surcharges, caching and promotions may differ.

Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.

llama.cpp · recommended

version

  1. Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.
    macOS / Linux
    curl -LsSf https://llama.app/install.sh | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run GLM-5.2 · needs 492 GB memory, 467.3 GB download · from huggingface.co/unsloth
    chat in the terminal
    llama cli -hf unsloth/GLM-5.2-GGUF:UD-Q4_K_XL
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf unsloth/GLM-5.2-GGUF:UD-Q4_K_XL

LM Studio

version

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run GLM-5.2 · needs 492 GB memory, 467.3 GB download · from huggingface.co/unsloth

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/unsloth/GLM-5.2-GGUF@UD-Q4_K_XL -y
  4. Then run lms ls to see its name, and lms chat followed by that name

MLX (Mac)

version

  1. Install MLX (Mac) · Apple silicon Macs only, text only.
    with uv
    uv tool install mlx-lm
    or
    pip install mlx-lm
  2. Run GLM-5.2 · needs 441 GB memory, 418.3 GB download, Mac only · from huggingface.co/mlx-community
    chat in the terminal
    mlx_lm.chat --model mlx-community/GLM-5.2-4bit
  3. Or start an OpenAI-compatible server at http://localhost:8080/v1
    mlx_lm.server --model mlx-community/GLM-5.2-4bit

Model repository and documentation: huggingface.co/zai-org ↗

$ how the score was worked out · Epoch AI — internal evaluatio… 37%, MathArena ArXivMath / BrokenA… 25%, LMArena leaderboard dataset 13% and 9 more

Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works

$ improve this page

Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.

data updated · sources and licences · json