Gemini 3.1 Pro vs GLM-5.1
Wins 5 of 7 areas
Coding · Reasoning · Facts · Math · Long documents
Wins 0 of 7 areas
—
Gemini 3.1 Pro is the stronger all-rounder.GLM-5.1 is cheaper.
Both rank among the ten best models we track in following instructions.
Scores updated · 61 tests both models report · How we compare
Where each one wins
Tests won in each of the seven areas where both have results. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.
- CodingWriting and fixing software62Gemini 3.1 Pro6 of 8 tests
- ReasoningHard problems that need careful thinking40Gemini 3.1 Pro4 of 4 tests
- MathCompetition and research-level math31Gemini 3.1 Pro3 of 4 tests
- FactsGetting facts right instead of making them up21Gemini 3.1 Pro2 of 3 tests
- Long documentsFinding answers in very long texts10Gemini 3.1 Pro1 of 1 test
- AgentsCarrying out multi-step tasks on its own33Even3 each
- Following instructionsDoing exactly what it is asked00Even0 each · 1 tie
Long documents and following instructions rest on a single test each.
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.
GLM-5.1 costs 59% 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
- Short factual questions, answered correctlySimpleQA Verified+39.5points ahead
- Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+31.2points ahead
- Common-sense trick questionsSimpleBench+24.5points ahead
Where GLM-5.1 pulls ahead
- Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+21points ahead
- Real work tasks from 44 professionsGDPVal+16.3points ahead
- Finds the root cause of IT system incidentsAA IT-Bench SRE+10points ahead
Every test, side by side
All 61 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingGemini 3.1 Pro
- SciCodeGemini 3.1 Pro by 13.958.744.8+13.9
- Terminal-Bench 2.1Gemini 3.1 Pro by 1273.861.8+12
- Terminal-Bench HardGemini 3.1 Pro by 10.653.843.2+10.6
- LMArena · WebDevGLM-5.1 by 61 rating points14471508+61 rating
- LiveCodeBench v6Gemini 3.1 Pro by 691.785.7+6
- SWE-bench VerifiedGemini 3.1 Pro by 4.480.676.2+4.4
- SWE-bench ProGLM-5.1 by 4.254.258.4+4.2
- SWE-bench MultilingualGemini 3.1 Pro by 3.676.973.3+3.6
AgentsEven
- GDPValGLM-5.1 by 16.314.731+16.3
- AA IT-Bench SREGLM-5.1 by 1030.340.3+10
- τ-Bench V3 · BankingGemini 3.1 Pro by 7.821.413.6+7.8
- BrowseCompGemini 3.1 Pro by 6.685.979.3+6.6
- MCP AtlasGLM-5.1 by 2.669.271.8+2.6
- Terminal-Bench 4.0Gemini 3.1 Pro by 242+2
ReasoningGemini 3.1 Pro
- SimpleBenchGemini 3.1 Pro by 24.579.655.1+24.5
- Humanity's Last ExamGemini 3.1 Pro by 16.94730.1+16.9
- CritPtGemini 3.1 Pro by 13.117.74.6+13.1
- GPQA DiamondGemini 3.1 Pro by 7.394.186.8+7.3
FactsGemini 3.1 Pro
- SimpleQA VerifiedGemini 3.1 Pro by 39.573.534+39.5
- AA-Omniscience · AccuracyGemini 3.1 Pro by 31.254.923.7+31.2
- AA-Omniscience · Non-hallucinationGLM-5.1 by 2149.170.1+21
MathGemini 3.1 Pro
- FrontierMath Tiers 1-3 (v2)Gemini 3.1 Pro by 22.959.636.8+22.9
- HMMT Feb. 2026Gemini 3.1 Pro by 12.194.782.6+12.1
- AIME 2026Gemini 3.1 Pro by 398.395.3+3
- IMOAnswerBenchGLM-5.1 by 2.88183.8+2.8
Other results34 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.
- Vending-Bench 2GLM-5.1 by 562530 rating points911.2563441+562530 rating
- Apex (Pass@1)Gemini 3.1 Pro by 49.460.911.5+49.4
- AA-OmniscienceGemini 3.1 Pro by 3131.90.8+31
- CyberGymGLM-5.1 by 29.938.868.7+29.9
- GDPval-AA (Elo)GLM-5.1 by 218 rating points13171535+218 rating
- Apex Shortlist (Pass@1)Gemini 3.1 Pro by 16.789.172.4+16.7
- AA Agentic IndexGLM-5.1 by 14.910.325.2+14.9
- Artificial Analysis Coding IndexGemini 3.1 Pro by 1368.855.8+13
- Program BenchGLM-5.1 by 11.439.550.9+11.4
- LiveBenchGemini 3.1 Pro by 9.779.970.2+9.7
- NL2RepoGLM-5.1 by 9.333.442.7+9.3
- AgentWorldBench - MCPGLM-5.1 by 8.559.167.6+8.5
- Tool-DecathlonGemini 3.1 Pro by 8.148.840.7+8.1
- ToolathlonGemini 3.1 Pro by 8.148.840.7+8.1
- DeepSWEGLM-5.1 by 81018+8
- AgentWorldBench - OSGemini 3.1 Pro by 7.866.959.1+7.8
- AgentWorldBench - SearchGemini 3.1 Pro by 7.730.222.5+7.7
- AgentWorldBench - SWEGemini 3.1 Pro by 759.152.1+7
- browsecomp_with_context_managerGemini 3.1 Pro by 6.685.979.3+6.6
- AgentWorldBench - TerminalGemini 3.1 Pro by 5.252.547.3+5.2
- MMLU-ProGemini 3.1 Pro by 59186+5
- frontiermath_tier_4_v1Gemini 3.1 Pro by 4.216.712.5+4.2
- AA IntelligenceGemini 3.1 Pro by 3.629.726.1+3.6
- τ³-BenchGLM-5.1 by 3.567.170.6+3.5
- AgentWorldBench - OverallGemini 3.1 Pro by 3.354.651.3+3.3
- MCPAtlas Public (Pass@1)GLM-5.1 by 2.669.271.8+2.6
- AgentWorldBench - AndroidGemini 3.1 Pro by 2.361.459.1+2.3
- τ²-Bench Telecom (AA run)GLM-5.1 by 2.195.697.7+2.1
- Finance Agent v2GLM-5.1 by 1.84344.8+1.8
- PostTrainBenchGemini 3.1 Pro by 1.521.620.1+1.5
- AgentWorldBench - WebGemini 3.1 Pro by 1.352.851.5+1.3
- HLE (with tools)tie51.452.3tie
- HMMT Nov. 2025tie94.894tie
- Terminal-Bench 2.0tie68.569tie
Questions people ask
Which is better, Gemini 3.1 Pro or GLM-5.1?
Gemini 3.1 Pro wins five of the seven areas where both have results: coding, reasoning, facts, math and long documents. GLM-5.1 wins none, but costs 59% less. They are level on agents and following instructions.
Which is better for coding?
Gemini 3.1 Pro. It wins 6 of the 8 coding tests both models report; GLM-5.1 wins 2.
Which is cheaper?
Gemini 3.1 Pro costs $2.00 per million input tokens and $12.00 per million output tokens; GLM-5.1 costs $1.38 and $4.40. That makes GLM-5.1 about 59% cheaper for the same work.
How do you compare the two?
We use the 61 benchmark tests both models have published scores on. The verdict counts the 27 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 34 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.