AI Hub
← All models

GPT-4.1 Mini vs GPT-5 Codex

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

  • GPT-5 Codex has the higher intelligence index (87.1 vs 58.2)
  • GPT-4.1 Mini is cheaper ($0.40 vs $1.25 per 1M input)
  • GPT-5 Codex is faster
  • GPT-4.1 Mini has a larger context window (1M)
GPT-4.1 MiniGPT-5 Codex
Intelligence index58.287.1
DeveloperOpenAIOpenAI
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window1,047,576 tokens400,000 tokens
Input price$0.40 / 1M$1.25 / 1M
Output price$1.60 / 1M$10.00 / 1M
Speed150 tok/s180 tok/s
ReleasedApril 14, 2025September 23, 2025
Parameters
Input modalitiesImage, TextText, Image
Output modalitiesTextText

Shared benchmarks

GPT-4.1 Mini
GPT-5 Codex
AIME 2025
40.2
98.7
GPQA Diamond
65
83.7
Humanity’s Last Exam
3.7
25.6
LiveCodeBench
48.3
84
MMLU-Pro
78.1
86.5
SWE-bench Verified
23.6
74.5