AI Hub
← All models

GPT-5.2-Codex vs Grok-2 mini

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

  • GPT-5.2-Codex has the higher intelligence index (89.9 vs 65.9)
GPT-5.2-CodexGrok-2 mini
Intelligence index89.965.9
DeveloperOpenAIxAI
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window400,000 tokens
Input price$1.75 / 1M
Output price$14.00 / 1M
Speed106 tok/s
ReleasedJanuary 14, 2026August 13, 2024
Parameters
Input modalitiesText, Image
Output modalitiesText

Shared benchmarks

GPT-5.2-Codex
Grok-2 mini
GPQA Diamond
89.9
51