Gemini 3.1 Pro vs GLM-4.7
Wins 6 of 7 areas
Coding · Agents · Reasoning · Facts · Long documents · Following instructions
Wins 1 of 7 areas
Math
Gemini 3.1 Pro is the stronger all-rounder.GLM-4.7 is cheaper and better at math.
Scores updated · 36 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 software70Gemini 3.1 Pro7 of 7 tests
- ReasoningHard problems that need careful thinking40Gemini 3.1 Pro4 of 4 tests
- FactsGetting facts right instead of making them up40Gemini 3.1 Pro4 of 4 tests
- AgentsCarrying out multi-step tasks on its own21Gemini 3.1 Pro2 of 3 tests
- Long documentsFinding answers in very long texts10Gemini 3.1 Pro1 of 1 test
- Following instructionsDoing exactly what it is asked10Gemini 3.1 Pro1 of 1 test
- MathCompetition and research-level math01GLM-4.71 of 1 test
Math, 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-4.7 costs 80% less for the same work.
The biggest differences
The tests each model wins by the widest margin, up to three each. Scores are out of 100.
Where Gemini 3.1 Pro pulls ahead
- Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+42.1points ahead
- Short factual questions, answered correctlySimpleQA Verified+41.3points ahead
- Finds hard-to-locate facts by browsing the webBrowseComp+33.9points ahead
Where GLM-4.7 pulls ahead
- Real work tasks from 44 professionsGDPVal+11.1points ahead
- Olympiad math problems with short answersIMOAnswerBench+1points ahead
Every test, side by side
All 36 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingGemini 3.1 Pro
- Terminal-Bench 2.1Gemini 3.1 Pro by 28.573.845.3+28.5
- Terminal-Bench HardGemini 3.1 Pro by 2253.831.8+22
- SciCodeGemini 3.1 Pro by 13.658.745.1+13.6
- SWE-bench MultilingualGemini 3.1 Pro by 10.276.966.7+10.2
- LiveCodeBench v6Gemini 3.1 Pro by 6.891.784.9+6.8
- SWE-bench VerifiedGemini 3.1 Pro by 6.880.673.8+6.8
- LMArena · WebDevGemini 3.1 Pro by 12 rating points14471435+12 rating
AgentsGemini 3.1 Pro
- BrowseCompGemini 3.1 Pro by 33.985.952+33.9
- GDPValGLM-4.7 by 11.114.725.8+11.1
- τ-Bench V3 · BankingGemini 3.1 Pro by 9.221.412.2+9.2
ReasoningGemini 3.1 Pro
- SimpleBenchGemini 3.1 Pro by 31.979.647.7+31.9
- Humanity's Last ExamGemini 3.1 Pro by 19.64727.4+19.6
- CritPtGemini 3.1 Pro by 1617.71.7+16
- GPQA DiamondGemini 3.1 Pro by 8.294.185.9+8.2
FactsGemini 3.1 Pro
- AA-Omniscience · Non-hallucinationGemini 3.1 Pro by 42.149.17+42.1
- SimpleQA VerifiedGemini 3.1 Pro by 41.373.532.2+41.3
- AA-Omniscience · AccuracyGemini 3.1 Pro by 25.654.929.3+25.6
- Vectara HHEM hallucination ratelower is betterGemini 3.1 Pro by 1.310.411.7+1.3
Following instructionsGemini 3.1 Pro
- IFBenchGemini 3.1 Pro by 9.277.167.9+9.2
Other results15 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.
- AA-OmniscienceGemini 3.1 Pro by 68.331.9-36.4+68.3
- Terminal-Bench 2.0Gemini 3.1 Pro by 27.568.541+27.5
- Artificial Analysis Coding IndexGemini 3.1 Pro by 23.568.845.3+23.5
- browsecomp_with_context_managerGemini 3.1 Pro by 18.485.967.5+18.4
- frontiermath_tier_4_v1Gemini 3.1 Pro by 16.716.70+16.7
- AA Agentic IndexGLM-4.7 by 15.910.326.2+15.9
- CyberGymGemini 3.1 Pro by 15.338.823.5+15.3
- HLE (with tools)Gemini 3.1 Pro by 8.651.442.8+8.6
- AA IntelligenceGemini 3.1 Pro by 7.529.722.2+7.5
- MMLU-ProGemini 3.1 Pro by 6.79184.3+6.7
- vectara_avg_summary_lengthGemini 3.1 Pro by 37.1 rating points107.770.6+37.1 rating
- HMMT Nov. 2025Gemini 3.1 Pro by 1.394.893.5+1.3
- vectara_factual_consistencyGemini 3.1 Pro by 1.389.688.3+1.3
- vectara_answer_ratetie99.499.8tie
- τ²-Bench Telecom (AA run)tie95.695.9tie
Questions people ask
Which is better, Gemini 3.1 Pro or GLM-4.7?
Gemini 3.1 Pro wins six of the seven areas where both have results: coding, agents, reasoning, facts, long documents and following instructions. GLM-4.7 wins math, and costs 80% less.
Which is better for coding?
Gemini 3.1 Pro. It wins 7 of the 7 coding tests both models report; GLM-4.7 wins none.
Which is cheaper?
Gemini 3.1 Pro costs $2.00 per million input tokens and $12.00 per million output tokens; GLM-4.7 costs $0.60 and $2.20. That makes GLM-4.7 about 80% cheaper for the same work.
How do you compare the two?
We use the 36 benchmark tests both models have published scores on. The verdict counts the 21 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 15 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.