Gemini 3.1 Pro vs Grok 4.7
Wins 6 of 8 areas
Reasoning · Facts · Images and charts · Math · Long documents · Following instructions
Wins 2 of 8 areas
Coding · Agents
Gemini 3.1 Pro is the stronger all-rounder.Grok 4.7 is cheaper and better at agents.
Both rank among the ten best models we track in facts.
Scores updated · 30 tests both models report · How we compare
Where each one wins
Tests won in each of the eight areas we test. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.
- ReasoningHard problems that need careful thinking31Gemini 3.1 Pro3 of 5 tests · 1 tie
- FactsGetting facts right instead of making them up21Gemini 3.1 Pro2 of 3 tests
- MathCompetition and research-level math21Gemini 3.1 Pro2 of 3 tests
- Images and chartsUnderstanding pictures, charts and video10Gemini 3.1 Pro1 of 1 test
- 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
- AgentsCarrying out multi-step tasks on its own03Grok 4.73 of 3 tests
- CodingWriting and fixing software12Grok 4.72 of 4 tests · 1 tie
Images and charts, 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.
Grok 4.7 costs 43% 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+17.5points ahead
- Abstract visual puzzles that people can solveARC-AGI-2+15.7points ahead
- Extremely hard research-level math problemsFrontierMath Tier 4+9.7points ahead
Where Grok 4.7 pulls ahead
- Real work tasks from 44 professionsGDPVal+46.1points ahead
- Complex command-line tasks across many fieldsTerminal-Bench 4.0+21.8points ahead
- Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+21.6points ahead
Every test, side by side
All 30 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingGrok 4.7
- LMArena · WebDevGrok 4.7 by 192 rating points14461638+192 rating
- LiveBench · Agentic CodingGrok 4.7 by 9.944.154+9.9
- SciCodeGemini 3.1 Pro by 1.358.757.4+1.3
- LiveBench · Codingtie76.577.2tie
AgentsGrok 4.7
- GDPValGrok 4.7 by 46.114.760.8+46.1
- Terminal-Bench 4.0Grok 4.7 by 21.8425.8+21.8
- AA IT-Bench SREGrok 4.7 by 11.830.342.1+11.8
ReasoningGemini 3.1 Pro
- ARC-AGI-2Gemini 3.1 Pro by 15.777.161.4+15.7
- Humanity's Last ExamGemini 3.1 Pro by 3.94743.1+3.9
- ARC-AGI-3Grok 4.7 by 1.40.41.8+1.4
- LiveBench · ReasoningGemini 3.1 Pro by 1.38482.7+1.3
- CritPttie17.717.7tie
FactsGemini 3.1 Pro
- AA-Omniscience · Non-hallucinationGrok 4.7 by 21.649.170.7+21.6
- SimpleQA VerifiedGemini 3.1 Pro by 17.573.556+17.5
- AA-Omniscience · AccuracyGemini 3.1 Pro by 7.454.947.5+7.4
Images and chartsGemini 3.1 Pro
- MMMU-ProGemini 3.1 Pro by 4.282.478.2+4.2
MathGemini 3.1 Pro
- FrontierMath Tier 4Gemini 3.1 Pro by 9.726.817.1+9.7
- FrontierMath Tiers 1-3 (v2)Gemini 3.1 Pro by 6.759.653+6.7
- LiveBench · MathematicsGrok 4.7 by 4.79195.7+4.7
Following instructionsGemini 3.1 Pro
- LiveBench · Instruction FollowingGemini 3.1 Pro by 3.879.175.3+3.8
Other results9 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.
- DeepSWE 1.1Grok 4.7 by 591271+59
- SWE-MarathonGrok 4.7 by 42446+42
- CyberGymGrok 4.7 by 41.538.880.3+41.5
- AA IntelligenceGrok 4.7 by 16.729.746.4+16.7
- ARC-AGI-1Gemini 3.1 Pro by 8.59889.5+8.5
- livebench_languageGemini 3.1 Pro by 5.385.480.1+5.3
- WMDPGrok 4.7 by 1.886.388.1+1.8
- livebench_data_analysisGemini 3.1 Pro by 1.678.576.9+1.6
- AA-Omnisciencetie31.932tie
Questions people ask
Which is better, Gemini 3.1 Pro or Grok 4.7?
Gemini 3.1 Pro wins six of the eight areas we test: reasoning, facts, images and charts, math, long documents and following instructions. Grok 4.7 wins coding and agents, and costs 43% less.
Which is better for coding?
Grok 4.7. It wins 2 of the 4 coding tests both models report; Gemini 3.1 Pro wins 1, 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; Grok 4.7 costs $2.00 and $6.00. That makes Grok 4.7 about 43% cheaper for the same work.
How do you compare the two?
We use the 30 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 9 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.