AI Hub
← All models

GPT-5.1-Codex vs Grok-2 mini

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

  • GPT-5.1-Codex has the higher intelligence index (88.2 vs 65.9)
GPT-5.1-CodexGrok-2 mini
Intelligence index88.265.9
DeveloperOpenAIxAI
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window400,000 tokens
Input price$1.25 / 1M
Output price$10.00 / 1M
Speed188 tok/s
ReleasedNovember 13, 2025August 13, 2024
Parameters
Input modalitiesText, Image
Output modalitiesText

Shared benchmarks

GPT-5.1-Codex
Grok-2 mini
GPQA Diamond
86
51
MMLU-Pro
86
72