Model comparison

GPT-5.2 Codex vs Grok 4.7

Grok 4.7 is the stronger model overall, scoring 53.1 to 42.6 on the Noometry Index.

Last verified . 1 shared benchmarks.

GPT-5.2 Codex OpenAI

42.6

Rank #111 Reported

Grok 4.7 xAI

53.1

Rank #37 Confirmed

Summary

  • They share 1 benchmark with published results for both. GPT-5.2 Codex scores higher in 1 category and Grok 4.7 in 1 category; 2 gaps are clear of the uncertainty.
  • The widest gap is in coding, where Grok 4.7 leads 58.0 to 45.5.
  • 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.653.1
Released2025-12-182026-09-21
WeightsProprietaryProprietary
Context window400K500K
Max output128K500K
Input $ / M tokens$1.75$2
Output $ / M tokens$14$6
Results tracked539

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.5 (#71), Grok 4.7: 58.0 (#18)

Coding benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
LMArena WebDev13391639
FrontierCode—47.6%
SWE-bench Verified (bash only)72.8%—
CursorBench—46.3%
SWE-bench Multilingual66.3%—
FrontierSWE—29.5%
SciCode—57.8%
LMArena Coding—1427
ALE-Bench1,300—

Agentic & Tool Use GPT-5.2 Codex leads

GPT-5.2 Codex: 41.0 (#22), Grok 4.7: 36.7 (#37)

Agentic & Tool Use benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
Terminal-Bench66.5%—
APEX-Agents—54.6%
GDP.pdf—22.8%
Vending-Bench 2—10,537

Reasoning Not comparable

GPT-5.2 Codex: —, Grok 4.7: 49.1 (#40)

Reasoning benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
NYT Connections (extended)—76.8%
CritPt—18%
Chess Puzzles—38%
LMArena Hard Prompts—1413
Mystery Game Puzzles—29%
DTBench—96%
LMCA—49.4%
Epoch Capabilities Index—153.53

Math Not comparable

GPT-5.2 Codex: —, Grok 4.7: 57.8 (#39)

Math benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
FrontierMath (Tiers 1-3)—53%
FrontierMath Tier 4—17.1%
OTIS Mock AIME 2024-2025—98.1%
ProofBench—34%
LMArena Math—1407

Knowledge Not comparable

GPT-5.2 Codex: —, Grok 4.7: 62.8 (#22)

Knowledge benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
GPQA Diamond—92.7%
SimpleQA Verified—56%
LMArena Expert—1422

Multimodal Not comparable

GPT-5.2 Codex: —, Grok 4.7: 35.5 (#87)

Multimodal benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
LMArena Vision—1228
Blueprint-Bench 2—32.5%
Furniture Assembly—20.8%

Multilingual Not comparable

GPT-5.2 Codex: —, Grok 4.7: 50.8 (#116)

Multilingual benchmarks
BenchmarkGPT-5.2 CodexGrok 4.7
LMArena Non-English—1389
LMArena Chinese—1455
LMArena French—1455
LMArena Russian—1397
LMArena Spanish—1400

Instruction Following Not comparable

GPT-5.2 Codex: —, Grok 4.7: 74.1 (#105)

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

Long Context Not comparable

GPT-5.2 Codex: —, Grok 4.7: 43.1 (#104)

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

Writing & Preference Not comparable

GPT-5.2 Codex: —, Grok 4.7: 70.0 (#24)

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

Frequently asked questions

Is GPT-5.2 Codex better than Grok 4.7?

Grok 4.7 is the stronger model overall, scoring 53.1 to 42.6 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: 58.0 versus 45.5 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 39.

Related comparisons

Go deeper