AI Hub
← All models

Gemini 1.5 Flash 8B 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 48.4)
  • Gemini 1.5 Flash 8B is cheaper ($0.07 vs $1.25 per 1M input)
  • GPT-5.1-Codex is faster
  • Gemini 1.5 Flash 8B has a larger context window (1M)
Gemini 1.5 Flash 8BGPT-5.1-Codex
Intelligence index48.488.2
DeveloperGoogleOpenAI
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window1,048,576 tokens400,000 tokens
Input price$0.07 / 1M$1.25 / 1M
Output price$0.30 / 1M$10.00 / 1M
Speed150 tok/s188 tok/s
ReleasedMarch 15, 2024November 13, 2025
Parameters8000000000
Input modalitiesText, Image
Output modalitiesText

Shared benchmarks

Gemini 1.5 Flash 8B
GPT-5.1-Codex
GPQA Diamond
38.4
86
Humanity’s Last Exam
4.5
23.4
LiveCodeBench
21.7
84.9
MMLU-Pro
58.7
86