Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Gemini 3.1 Pro vs GPT-5.2 Codex

Google · released

Wins 6 of 8 areas

Coding · Reasoning · Facts · Images and charts · Math · Following instructions

OpenAI · released

Wins 1 of 8 areas

Agents

Gemini 3.1 Pro is the stronger all-rounder.GPT-5.2 Codex is better at agents.

Scores updated · 28 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 Artificial Analysis
GPT-5.2 Codex$1.75 to read · $14.00 to write$16Price from Artificial Analysis

Gemini 3.1 Pro costs 11% 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

Where GPT-5.2 Codex pulls ahead

  • Real work tasks from 44 professionsGDPVal+24.7points aheadGPT-5.2 Codex39.4Gemini 3.1 Pro14.7
  • Programming problems, refreshed regularlyLiveBench · Coding+7.1points aheadGPT-5.2 Codex83.6Gemini 3.1 Pro76.5
  • Fixes real GitHub issues, working as an agentLiveBench · Agentic Coding+5.3points aheadGPT-5.2 Codex49.4Gemini 3.1 Pro44.1

Every test, side by side

All 28 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

AgentsGPT-5.2 Codex
  • GDPValGPT-5.2 Codex by 24.714.739.4+24.7

Full agents ranking

ReasoningGemini 3.1 Pro

Full reasoning ranking

FactsGemini 3.1 Pro

Full facts ranking

Images and chartsGemini 3.1 Pro
  • MMMU-ProGemini 3.1 Pro by 6.182.476.3+6.1

Full images and charts ranking

MathGemini 3.1 Pro

Full math ranking

Long documentsEven

Full long documents ranking

Following instructionsGemini 3.1 Pro

Full following instructions ranking

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.

Questions people ask

Which is better, Gemini 3.1 Pro or GPT-5.2 Codex?

Gemini 3.1 Pro wins six of the eight areas we test: coding, reasoning, facts, images and charts, math and following instructions. GPT-5.2 Codex wins agents. They are level on long documents.

Which is better for coding?

Gemini 3.1 Pro. It wins 4 of the 7 coding tests both models report; GPT-5.2 Codex wins 3.

Which is cheaper?

Gemini 3.1 Pro costs $2.00 per million input tokens and $12.00 per million output tokens; GPT-5.2 Codex costs $1.75 and $14.00. That makes Gemini 3.1 Pro about 11% cheaper for the same work.

How do you compare the two?

We use the 28 benchmark tests both models have published scores on. The verdict counts the 19 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.