AI Hub
← All models

Gemini 1.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 61.9)
  • Gemini 1.5 Flash is cheaper ($0.15 vs $1.25 per 1M input)
  • GPT-5.1-Codex is faster
  • Gemini 1.5 Flash has a larger context window (1M)
Gemini 1.5 FlashGPT-5.1-Codex
Intelligence index61.988.2
DeveloperGoogleOpenAI
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window1,048,576 tokens400,000 tokens
Input price$0.15 / 1M$1.25 / 1M
Output price$0.60 / 1M$10.00 / 1M
Speed150 tok/s188 tok/s
ReleasedMay 1, 2024November 13, 2025
Parameters
Input modalitiesText, Image
Output modalitiesText

Shared benchmarks

Gemini 1.5 Flash
GPT-5.1-Codex
GPQA Diamond
51
86
Humanity’s Last Exam
4.2
23.4
LiveCodeBench
27.3
84.9
MMLU-Pro
67.3
86