Comparing 2 models

Gemini 3.1 Pro Preview vs GLM 5.2

Benchmarks through

Verdict

Gemini 3.1 Pro Preview places higher on 1 of the 1 tasks where both are ranked. GLM 5.2 costs 58.7x less per input token. Only GLM 5.2 has open weights for self-hosting.

  • Choose Gemini 3.1 Pro Preview for Value LLM (#7).
  • Choose GLM 5.2 for you need to self-host.

Built from the published task rankings below; ranks come from each task's own weighted benchmarks, so a win on one task says nothing about another.

metric
Model 1Gemini 3.1 Pro Preview
Model 2GLM 5.2
Best for
Business Writing (#3)
Best Cheap LLM for High Volume (#2)
Provider
google
z-ai
Context
1.0MBest
1.0MBest
Input / 1M
$2
$0.034Best
Output / 1M
$12
$7Best
Tool use
yesBest
yesBest
Vision
yesBest
—
Reasoning
yesBest
yesBest
Open-weight
—
yesBest
Released
Feb 19, 2026
Jun 13, 2026

Measured head to head

Benchmarks both models were run on

EvaluationGemini 3.1 Pro PreviewGLM 5.2Source
Design Arena Coding1231 Elo1287 Elosource · 2026-10-23
Design Arena Full-stack Agent1068 Elo1241 Elosource · 2026-10-22
Design Arena UI1224 Elo1294 Elosource · 2026-10-23
Design Arena Web-app Agent1125 Elo1222 Elosource · 2026-10-23
Design Arena Website1234 Elo1285 Elosource · 2026-10-23
FrontierMath Tiers 1-3 (Epoch AI)59.6% ± 2.959.2% ± 3source · 2026-06-11
GPQA Diamond (Epoch AI)94.4% ± 1.691.9% ± 1.6source · 2026-08-06
GPQA Diamond (Epoch AI)94.1% ± 1.791.9% ± 1.6source · 2026-02-20
LiveBench Agentic Coding44.1%51.8%source · 2026-10-18
LiveBench Coding76.5%79.7%source · 2026-10-18
LiveBench Data Analysis78.5%73.7%source · 2026-10-18
LiveBench Instruction Following79.1%62.3%source · 2026-10-18
LiveBench Language85.4%76.2%source · 2026-10-18
LiveBench Math91.0%89.8%source · 2026-10-18
LiveBench Reasoning84%78.6%source · 2026-10-18
LMArena Agent-3.72.1source · 2026-10-20
LMArena Agent Bash Recovery-23.30.7source · 2026-10-08
LMArena Agent Steerability-5.51.3source · 2026-10-20
LMArena Agent Task Outcome-10.73.8source · 2026-10-20
LMArena Agent Tool Hallucination-0.10.7source · 2026-10-20
LMArena Creative Writing1482 Elo1462 Elosource · 2026-10-22
LMArena Instruction Following1466 Elo1466 Elosource · 2026-10-22
LMArena Long Query1482 Elo1479 Elosource · 2026-10-22
LMArena Math1486 Elo1484 Elosource · 2026-10-22
LMArena Text1487 Elo1475 Elosource · 2026-10-22
LMArena Text Factuality1472 Elo1463 Elosource · 2026-10-22
LMArena WebDev1447 Elo1604 Elosource · 2026-10-22
OTIS Mock AIME (Epoch AI)95.6% ± 3.186.4% ± 4.2source · 2026-08-06
OTIS Mock AIME (Epoch AI)95.6% ± 3.186.4% ± 4.2source · 2026-02-20
SimpleQA Verified (Epoch AI)73.5% ± 1.434.2% ± 1.5source · 2026-08-10
tau2-bench (1.0.1)26%37.1%source · 2026-05-05

Values are as published by each evaluator, in its own units; rows from different evaluators are not on a common scale.