AI Hub
← All models

GPT-4.1 Mini 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 58.2)
  • GPT-4.1 Mini is cheaper ($0.40 vs $1.25 per 1M input)
  • GPT-5.1-Codex is faster
  • GPT-4.1 Mini has a larger context window (1M)
GPT-4.1 MiniGPT-5.1-Codex
Intelligence index58.288.2
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/s188 tok/s
ReleasedApril 14, 2025November 13, 2025
Parameters
Input modalitiesImage, TextText, Image
Output modalitiesTextText

Shared benchmarks

GPT-4.1 Mini
GPT-5.1-Codex
AIME 2025
40.2
95.7
GPQA Diamond
65
86
Humanity’s Last Exam
3.7
23.4
LiveCodeBench
48.3
84.9
MMLU-Pro
78.1
86