AI Hub
← All models

GPT-5 Codex vs Grok-4 Heavy

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

  • Grok-4 Heavy has the higher intelligence index (89.3 vs 87.1)
GPT-5 CodexGrok-4 Heavy
Intelligence index87.189.3
DeveloperOpenAIxAI
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window400,000 tokens
Input price$1.25 / 1M
Output price$10.00 / 1M
Speed180 tok/s
ReleasedSeptember 23, 2025July 9, 2025
Parameters
Input modalitiesText, Image
Output modalitiesText

Shared benchmarks

GPT-5 Codex
Grok-4 Heavy
AIME 2025
98.7
100
GPQA Diamond
83.7
88.4
Humanity’s Last Exam
25.6
50.7
LiveCodeBench
84
79.4