AI Hub
← All models

GPT-4.1 vs GPT-5.1-Codex

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

  • GPT-5.1-Codex has the higher intelligence index (88.2 vs 63.8)
  • GPT-5.1-Codex is cheaper ($1.25 vs $2.00 per 1M input)
  • GPT-5.1-Codex is faster
  • GPT-4.1 has a larger context window (1M)
GPT-4.1GPT-5.1-Codex
Intelligence index63.888.2
DeveloperOpenAIOpenAI
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window1,047,576 tokens400,000 tokens
Input price$2.00 / 1M$1.25 / 1M
Output price$8.00 / 1M$10.00 / 1M
Speed100 tok/s188 tok/s
ReleasedApril 14, 2025November 13, 2025
Parameters
Input modalitiesText, ImageText, Image
Output modalitiesTextText

Shared benchmarks

GPT-4.1
GPT-5.1-Codex
AIME 2025
46.4
95.7
GPQA Diamond
66.3
86
Humanity’s Last Exam
5.4
23.4
LiveCodeBench
45.7
84.9
MMLU-Pro
80.6
86