AI Hub
← All models

Gemini 2.5 Flash 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 73.1)
  • Gemini 2.5 Flash is cheaper ($0.30 vs $1.25 per 1M input)
  • GPT-5.1-Codex is faster
  • Gemini 2.5 Flash has a larger context window (1M)
Gemini 2.5 FlashGPT-5.1-Codex
Intelligence index73.188.2
DeveloperGoogleOpenAI
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window1,048,576 tokens400,000 tokens
Input price$0.30 / 1M$1.25 / 1M
Output price$2.50 / 1M$10.00 / 1M
Speed85 tok/s188 tok/s
ReleasedApril 17, 2025November 13, 2025
Parameters
Input modalitiesText, Image, Audio, VideoText, Image
Output modalitiesTextText

Shared benchmarks

Gemini 2.5 Flash
GPT-5.1-Codex
AIME 2025
72
95.7
GPQA Diamond
82.8
86
Humanity’s Last Exam
11
23.4
LiveCodeBench
69.5
84.9
MMLU-Pro
83.2
86