AI Hub
← All models

GPT-5.1-Codex vs Grok-3

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

  • GPT-5.1-Codex has the higher intelligence index (88.2 vs 82.6)
  • GPT-5.1-Codex is cheaper ($1.25 vs $3.00 per 1M input)
  • GPT-5.1-Codex is faster
  • GPT-5.1-Codex has a larger context window (400K)
GPT-5.1-CodexGrok-3
Intelligence index88.282.6
DeveloperOpenAIxAI
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window400,000 tokens128,000 tokens
Input price$1.25 / 1M$3.00 / 1M
Output price$10.00 / 1M$15.00 / 1M
Speed188 tok/s100 tok/s
ReleasedNovember 13, 2025February 17, 2025
Parameters
Input modalitiesText, ImageText, Image
Output modalitiesTextText

Shared benchmarks

GPT-5.1-Codex
Grok-3
AIME 2025
95.7
93.3
GPQA Diamond
86
84.6
Humanity’s Last Exam
23.4
5.1
LiveCodeBench
84.9
79.4
MMLU-Pro
86
80