AI Hub
← All models

Gemini 3.1 Pro vs GPT-5 Codex

Google vs OpenAI — benchmarks, pricing, and capabilities side by side.

  • GPT-5 Codex has the higher intelligence index (87.1 vs 83.2)
  • GPT-5 Codex is cheaper ($1.25 vs $2.00 per 1M input)
  • GPT-5 Codex is faster
  • Gemini 3.1 Pro has a larger context window (1M)
Gemini 3.1 ProGPT-5 Codex
Intelligence index83.287.1
DeveloperGoogleOpenAI
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window1,048,576 tokens400,000 tokens
Input price$2.00 / 1M$1.25 / 1M
Output price$12.00 / 1M$10.00 / 1M
Speed142 tok/s180 tok/s
ReleasedFebruary 19, 2026September 23, 2025
Parameters
Input modalitiesText, Image, Audio, VideoText, Image
Output modalitiesTextText

Shared benchmarks

Gemini 3.1 Pro
GPT-5 Codex
GPQA Diamond
94.3
83.7
Humanity’s Last Exam
44.4
25.6
SWE-bench Verified
80.6
74.5