AI Hub
← All models

Gemini 3.1 Pro vs GPT-5.1-Codex

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

  • GPT-5.1-Codex has the higher intelligence index (88.2 vs 83.2)
  • GPT-5.1-Codex is cheaper ($1.25 vs $2.00 per 1M input)
  • GPT-5.1-Codex is faster
  • Gemini 3.1 Pro has a larger context window (1M)
Gemini 3.1 ProGPT-5.1-Codex
Intelligence index83.288.2
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/s188 tok/s
ReleasedFebruary 19, 2026November 13, 2025
Parameters
Input modalitiesText, Image, Audio, VideoText, Image
Output modalitiesTextText

Shared benchmarks

Gemini 3.1 Pro
GPT-5.1-Codex
GPQA Diamond
94.3
86
Humanity’s Last Exam
44.4
23.4