AI Hub
← All models

GPT-5.2-Codex vs Grok-4 Heavy

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

  • GPT-5.2-Codex has the higher intelligence index (89.9 vs 89.3)
GPT-5.2-CodexGrok-4 Heavy
Intelligence index89.989.3
DeveloperOpenAIxAI
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window400,000 tokens
Input price$1.75 / 1M
Output price$14.00 / 1M
Speed106 tok/s
ReleasedJanuary 14, 2026July 9, 2025
Parameters
Input modalitiesText, Image
Output modalitiesText

Shared benchmarks

GPT-5.2-Codex
Grok-4 Heavy
GPQA Diamond
89.9
88.4
Humanity’s Last Exam
33.5
50.7