AI Hub
← All models

GPT-4 vs GPT-5.2-Codex

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

  • GPT-5.2-Codex has the higher intelligence index (89.9 vs 58.3)
  • GPT-5.2-Codex is cheaper ($1.75 vs $30.00 per 1M input)
  • GPT-5.2-Codex is faster
  • GPT-5.2-Codex has a larger context window (400K)
GPT-4GPT-5.2-Codex
Intelligence index58.389.9
DeveloperOpenAIOpenAI
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window8,191 tokens400,000 tokens
Input price$30.00 / 1M$1.75 / 1M
Output price$60.00 / 1M$14.00 / 1M
Speed104 tok/s106 tok/s
ReleasedMarch 14, 2023January 14, 2026
Parameters
Input modalitiesTextText, Image
Output modalitiesTextText

Shared benchmarks

GPT-4
GPT-5.2-Codex
GPQA Diamond
35.7
89.9