Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Gemini 3.1 Pro vs GLM-5

Google · released

Wins 6 of 7 areas

Coding · Agents · Reasoning · Math · Long documents · Following instructions

Z.ai · released

Wins 0 of 7 areas

—

Gemini 3.1 Pro is the stronger all-rounder.GLM-5 is cheaper.

Scores updated · 43 tests both models report · How we compare

What it costs

Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.

Gemini 3.1 Pro$2.00 to read · $12.00 to write$14Price from Google's own price page
GLM-5$1.00 to read · $3.20 to write$4.20Price from Artificial Analysis

GLM-5 costs 70% less for the same work.

The biggest differences

The three tests each model wins by the widest margin. Scores are out of 100.

Where Gemini 3.1 Pro pulls ahead

  • Abstract visual puzzles that people can solveARC-AGI-2+72.2points aheadGemini 3.1 Pro77.1GLM-54.9
  • Proof problems from the US Math OlympiadUSAMO 2026+39.3points aheadGemini 3.1 Pro74.4GLM-535.1
  • Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+28.6points aheadGemini 3.1 Pro54.9GLM-526.3

Where GLM-5 pulls ahead

  • Real work tasks from 44 professionsGDPVal+29.9points aheadGLM-544.6Gemini 3.1 Pro14.7
  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+15.6points aheadGLM-564.7Gemini 3.1 Pro49.1
  • Olympiad math problems with short answersIMOAnswerBench+1.5points aheadGLM-582.5Gemini 3.1 Pro81

Every test, side by side

All 43 tests both models report. The winning score is in its model's colour; marks a score checked independently.

CodingGemini 3.1 Pro

Full coding ranking

AgentsGemini 3.1 Pro

Full agents ranking

ReasoningGemini 3.1 Pro

Full reasoning ranking

FactsEven

Full facts ranking

MathGemini 3.1 Pro

Full math ranking

Long documentsGemini 3.1 Pro
  • AA-LCRGemini 3.1 Pro by 6.38275.7+6.3

Full long documents ranking

Following instructionsGemini 3.1 Pro
  • IFBenchGemini 3.1 Pro by 4.877.172.3+4.8

Full following instructions ranking

Other results20 tests, not counted

Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.

Questions people ask

Which is better, Gemini 3.1 Pro or GLM-5?

Gemini 3.1 Pro wins six of the seven areas where both have results: coding, agents, reasoning, math, long documents and following instructions. GLM-5 wins none, but costs 70% less. They are level on facts.

Which is better for coding?

Gemini 3.1 Pro. It wins 4 of the 5 coding tests both models report; GLM-5 wins none, and 1 is a tie.

Which is cheaper?

Gemini 3.1 Pro costs $2.00 per million input tokens and $12.00 per million output tokens; GLM-5 costs $1.00 and $3.20. That makes GLM-5 about 70% cheaper for the same work.

How do you compare the two?

We use the 43 benchmark tests both models have published scores on. The verdict counts the 23 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 20 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.