Decision support

Gemini 3.1 Pro Preview vs GPT-5.2-Codex

Compare canonical objects directly. The useful dimensions change with the object type, so model and hardware comparisons stay separate.

Benchmark results

Head to head on 2 benchmarks both models report

  • Gemini 3.1 Pro Preview2leads
  • GPT-5.2-Codex0leads
  • DeepSWE 1.1

    Best pass@1 · Higher is better

    • Gemini 3.1 Pro Preview
      11.7%
      #28 of 28
    • GPT-5.2-Codex
      Not reported
    Runs and sources
    Gemini 3.1 Pro Preview
    • high11.7%mini-swe-agent · pass@4 28.3% · $2.14 / attempt
    GPT-5.2-Codex

    Not reported

  • Arena Text

    Arena rating · Higher is better

    • Gemini 3.1 Pro Preview
      1487
      Arena #23CI 1484 to 1490
    • GPT-5.2-Codex
      Not reported
    Runs and sources
    Gemini 3.1 Pro Preview
    • default148795% CI 1484 to 1490 · 131,773 votes
    GPT-5.2-Codex

    Not reported

  • Arena WebDev

    Arena rating · Higher is better

    • Gemini 3.1 Pro Preview
      Best1446
      +108 ahead · Arena #91CI 1441 to 1452
    • GPT-5.2-Codex
      1339
      Arena #135CI 1330 to 1348
    Runs and sources
    Gemini 3.1 Pro Preview
    • default144695% CI 1441 to 1452 · 23,798 votes
    GPT-5.2-Codex
    • default133995% CI 1330 to 1348 · 6,669 votes
  • Arena Vision

    Arena rating · Higher is better

    • Gemini 3.1 Pro Preview
      1280
      Arena #26CI 1275 to 1285
    • GPT-5.2-Codex
      Not reported
    Runs and sources
    Gemini 3.1 Pro Preview
    • default128095% CI 1275 to 1285 · 47,993 votes
    GPT-5.2-Codex

    Not reported

  • Arena Document

    Arena rating · Higher is better

    • Gemini 3.1 Pro Preview
      1459
      Arena #27CI 1454 to 1464
    • GPT-5.2-Codex
      Not reported
    Runs and sources
    Gemini 3.1 Pro Preview
    • default145995% CI 1454 to 1464 · 52,244 votes
    GPT-5.2-Codex

    Not reported

  • Agent Arena

    IPS score · Higher is better

    • Gemini 3.1 Pro Preview
      -0.056
      Arena #52CI -0.074 to -0.039
    • GPT-5.2-Codex
      Not reported
    Runs and sources
    Gemini 3.1 Pro Preview
    • default-0.05695% CI -0.074 to -0.039 · 3,000,921 observations
    GPT-5.2-Codex

    Not reported

  • ARC-AGI-2

    Best published score · Higher is better

    • Gemini 3.1 Pro Preview
      77.1%
      #25 of 90
    • GPT-5.2-Codex
      Not reported
    Runs and sources
    Gemini 3.1 Pro Preview
    • default77.1%
    GPT-5.2-Codex

    Not reported

    Source:External evaluation via Epoch AIOriginal-source terms apply
  • FrontierMath-2025-02-28-Private

    Best published score · Higher is better

    • Gemini 3.1 Pro Preview
      36.9%
      #10 of 59
    • GPT-5.2-Codex
      Not reported
    Runs and sources
    Gemini 3.1 Pro Preview
    • default36.9%
    GPT-5.2-Codex

    Not reported

  • FrontierMath-Tier-4-2025-07-01-Private

    Best published score · Higher is better

    • Gemini 3.1 Pro Preview
      16.7%
      #7 of 47
    • GPT-5.2-Codex
      Not reported
    Runs and sources
    Gemini 3.1 Pro Preview
    • default16.7%
    GPT-5.2-Codex

    Not reported

  • FrontierMath-Tier-4-v2-Private

    Best published score · Higher is better

    • Gemini 3.1 Pro Preview
      26.8%
      #42 of 76
    • GPT-5.2-Codex
      Not reported
    Runs and sources
    Gemini 3.1 Pro Preview
    • default26.8%
    GPT-5.2-Codex

    Not reported

  • FrontierMath-Tiers-1-3-v2-Private

    Best published score · Higher is better

    • Gemini 3.1 Pro Preview
      59.6%
      #45 of 91
    • GPT-5.2-Codex
      Not reported
    Runs and sources
    Gemini 3.1 Pro Preview
    • default59.6%
    GPT-5.2-Codex

    Not reported

  • GPQA diamond

    Best published score · Higher is better

    • Gemini 3.1 Pro Preview
      94.4%
      #12 of 167
    • GPT-5.2-Codex
      Not reported
    Runs and sources
    Gemini 3.1 Pro Preview
    • high94.4%
    • default94.1%
    GPT-5.2-Codex

    Not reported

  • Humanity's Last Exam

    Best published score · Higher is better

    • Gemini 3.1 Pro Preview
      46.4%
      #3 of 35
    • GPT-5.2-Codex
      Not reported
    Runs and sources
    Gemini 3.1 Pro Preview
    • default46.4%
    GPT-5.2-Codex

    Not reported

    Source:External evaluation via Epoch AIOriginal-source terms apply
  • OTIS Mock AIME 2024-2025

    Best published score · Higher is better

    • Gemini 3.1 Pro Preview
      95.6%
      #41 of 164
    • GPT-5.2-Codex
      Not reported
    Runs and sources
    Gemini 3.1 Pro Preview
    • high95.6%
    • default95.6%
    GPT-5.2-Codex

    Not reported

  • SimpleQA Verified

    Best published score · Higher is better

    • Gemini 3.1 Pro Preview
      73.5%
      #8 of 93
    • GPT-5.2-Codex
      Not reported
    Runs and sources
    Gemini 3.1 Pro Preview
    • high73.5%
    GPT-5.2-Codex

    Not reported

  • Terminal Bench

    Best published score · Higher is better

    • Gemini 3.1 Pro Preview
      Best80.2%
      +13.7 pts ahead · #3 of 49
    • GPT-5.2-Codex
      66.5%
      #8 of 49
    Runs and sources
    Gemini 3.1 Pro Preview
    • default80.2%TongAgents
    • default78.4%Forge Code
    • default78.4%ForgeCode
    • default74.8%Terminus-KIRA
    • default61.4%Gemini CLI
    GPT-5.2-Codex
    • default66.5%Deep Agents
    Sources:Terminal-Bench v2 LeaderboardOriginal-source terms applyhttps://www.tbench.ai/leaderboard/terminal-bench/2.0Original-source terms apply

Each model's best published result is shown; "Not reported" means no matched evaluation, not a score of zero. Arena and DeepSWE ranks are the leaderboards' own; other ranks are among catalogue models with a score. Results from different harnesses or settings are not directly comparable.

Original-source terms apply to evaluations credited to their original publishers.

DeepSWE 1.1 results: official leaderboard, data generated 2026-09-22. Only exact model versions in the official dataset are matched.

Benchmark compilation: Epoch AI, Capabilities & benchmarking (CC BY attribution). Scores are converted to percentages and model names matched to the Vertical Tabs catalog. Individual evaluations are credited to their original sources. External results may carry separate licences and evaluation configurations; do not interpret scores from different harnesses as directly comparable.

Arena ratings: Arena (lmarena-ai/leaderboard-dataset), licensed CC BY 4.0. Ratings come from pairwise human votes and are only comparable within one leaderboard; the interval is Arena's 95% confidence interval. Model names are matched to the Vertical Tabs catalog.

Model specifications

Release date
February 19, 2026
December 11, 2025
Context window
1M
400K
Native context
—
—
Max output tokens
65,536
128,000
Knowledge cutoff
2025-01
2025-08-31
Open weights
Closed
Closed
Parameter count
—
—

API pricing · USD per 1M tokens

Input
$2.00
$1.75
Output
$12.00
$14.00
Cached input
$0.20
$0.175
Cache write
$0.375
—

Capabilities and modalities

Input modalities
audio, file, image, text, video
text, image
Output modalities
text
text
Tool calling
Supported
Supported
Reasoning option
Supported
Supported
Supported options
include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
include_reasoning, max_completion_tokens, reasoning, reasoning_effort, response_format, seed, structured_outputs, tool_choice, tools, verbosity
Capabilities
—
—

Architecture and availability

Architecture
—
—
Model families
—
—
Tokenizer
Gemini
GPT
Instruction format
—
—
License
—
—
Providers
2
1
Provider endpoints
12
1
Ollama variants
0
0
Metadata source
ai-research
ai-research

A dash means the field is not reported. Provider-specific performance and pricing may differ.

To give you the best experience, we use cookies for personalization, insights, and performance. Learn more.