Model comparison

GPT-5.2 Codex vs Grok 4.7

Grok 4.7 is the stronger model overall, scoring 46.6 to 42.2 on the Noometry Index.

Last verified . 1 shared benchmarks.

GPT-5.2 Codex OpenAI

42.2

Rank #107 Reported

Grok 4.7 xAI

46.6

Rank #56 Confirmed

Summary

  • They share 1 benchmark with published results for both. GPT-5.2 Codex scores higher in 0 categories and Grok 4.7 in 1 category; one gap is clear of the uncertainty.
  • The widest gap is in coding, where Grok 4.7 leads 55.0 to 45.4.
  • Grok 4.7 is cheaper at $2 / $6 per million input/output tokens, against $1.75 / $14 for GPT-5.2 Codex.
  • Grok 4.7 accepts more context: 500K tokens versus 400K.

Side by side

GPT-5.2 Codex and Grok 4.7 specifications
GPT-5.2 CodexGrok 4.7
ProviderOpenAIxAI
Noometry Index42.246.6
Released2025-12-182026-09-21
WeightsProprietaryProprietary
Context window400K500K
Max output128K500K
Input $ / M tokens$1.75$2
Output $ / M tokens$14$6
Results tracked521

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Grok 4.7 leads

GPT-5.2 Codex: 45.4 (#66), Grok 4.7: 55.0 (#23)

Coding benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
LMArena WebDev13391636
SWE-bench Verified (bash only)72.8%—
CursorBench—46.3%
SWE-bench Multilingual66.3%—
FrontierSWE—29.5%
SciCode—57.4%
LMArena Coding—1423
ALE-Bench1,300—

Agentic & Tool Use Not comparable

GPT-5.2 Codex: 40.7 (#20), Grok 4.7: —

Agentic & Tool Use benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
Terminal-Bench66.5%—

Reasoning Not comparable

GPT-5.2 Codex: —, Grok 4.7: 40.1 (#49)

Reasoning benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
NYT Connections (extended)—76.8%
CritPt—17.7%
LMArena Hard Prompts—1409

Math Not comparable

GPT-5.2 Codex: —, Grok 4.7: 41.1 (#73)

Math benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
ProofBench—34%
LMArena Math—1393

Knowledge Not comparable

GPT-5.2 Codex: —, Grok 4.7: 38.7 (#130)

Knowledge benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
LMArena Expert—1413

Multimodal Not comparable

GPT-5.2 Codex: —, Grok 4.7: 28.8 (#107)

Multimodal benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
Furniture Assembly—20.8%

Multilingual Not comparable

GPT-5.2 Codex: —, Grok 4.7: 51.2 (#108)

Multilingual benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
LMArena Non-English—1392
LMArena Chinese—1476
LMArena Russian—1396

Instruction Following Not comparable

GPT-5.2 Codex: —, Grok 4.7: 74.3 (#98)

Instruction Following benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
LMArena Instruction Following—1406

Long Context Not comparable

GPT-5.2 Codex: —, Grok 4.7: 43.2 (#97)

Long Context benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
LMArena Longer Query—1416

Writing & Preference Not comparable

GPT-5.2 Codex: —, Grok 4.7: 70.1 (#23)

Writing & Preference benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
LMArena Text—1397
LMArena Creative Writing—1391
EQ-Bench Creative Writing—2007
LMArena Multi-Turn—1389

Frequently asked questions

Is GPT-5.2 Codex better than Grok 4.7?

Grok 4.7 is the stronger model overall, scoring 46.6 to 42.2 on the Noometry Index.

Which is cheaper, GPT-5.2 Codex or Grok 4.7?

Grok 4.7 is cheaper. It lists at $2 per million input tokens and $6 per million output tokens; GPT-5.2 Codex lists at $1.75 and $14.

Is GPT-5.2 Codex or Grok 4.7 better for coding?

Grok 4.7 scores higher on coding benchmarks: 55.0 versus 45.4 in the Noometry coding category.

Which has the bigger context window?

Grok 4.7 does, with 500K tokens against 400K.

How many benchmarks do GPT-5.2 Codex and Grok 4.7 share?

1 benchmark has published results for both models. GPT-5.2 Codex has 5 scored results on Noometry and Grok 4.7 has 21.

Related comparisons

Go deeper