AI Hub
← All models

Gemini 2.0 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 60.3)
  • Gemini 2.0 Flash is cheaper ($0.10 vs $1.25 per 1M input)
  • GPT-5.1-Codex is faster
  • Gemini 2.0 Flash has a larger context window (1M)
Gemini 2.0 FlashGPT-5.1-Codex
Intelligence index60.388.2
DeveloperGoogleOpenAI
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window1,000,000 tokens400,000 tokens
Input price$0.10 / 1M$1.25 / 1M
Output price$0.40 / 1M$10.00 / 1M
Speed183 tok/s188 tok/s
ReleasedDecember 11, 2024November 13, 2025
Parameters
Input modalitiesText, Image, Audio, VideoText, Image
Output modalitiesTextText

Shared benchmarks

Gemini 2.0 Flash
GPT-5.1-Codex
AIME 2025
21.7
95.7
GPQA Diamond
62.1
86
Humanity’s Last Exam
5.3
23.4
LiveCodeBench
35.1
84.9
MMLU-Pro
76.4
86