# GPT-5.2 Codex vs Grok 4

> Grok 4 is the stronger model overall, scoring 48.1 to 42.6 on the Noometry Index.

- Canonical page: https://noometry.com/compare/gpt-5-2-codex-vs-grok-4
- Last updated: 2026-10-11
- Shared benchmarks: 1

## Summary

- They share 1 benchmark with published results for both. GPT-5.2 Codex scores higher in 1 category and Grok 4 in 1 category; 2 gaps are clear of the uncertainty.
- The widest gap is in agentic & tool use, where GPT-5.2 Codex leads 41.0 to 32.3.
- The biggest single-benchmark swing is Terminal-Bench: 66.5% for GPT-5.2 Codex and 27.2% for Grok 4.

## Snapshot

| | GPT-5.2 Codex | Grok 4 |
|---|---|---|
| Provider | OpenAI | xAI |
| Noometry Index | 42.6 | 48.1 |
| Rank | 111 | 56 |
| Context | 400K | — |
| Input $/M | $1.75 | — |
| Output $/M | $14 | — |
| Weights | Proprietary | Proprietary |

## Coding

- GPT-5.2 Codex: 45.5 (#71)
- Grok 4: 50.3 (#46)

| Benchmark | GPT-5.2 Codex | Grok 4 |
|---|---|---|
| SWE-bench Verified (bash only) | 72.8% | — |
| Aider Polyglot | — | 79.6% |
| LMArena WebDev | 1339 | — |
| SWE-bench Multilingual | 66.3% | — |
| WeirdML | — | 45.7% |
| LMArena Coding | — | 1408 |
| ALE-Bench | 1,300 | — |

## Agentic & Tool Use

- GPT-5.2 Codex: 41.0 (#22)
- Grok 4: 32.3 (#68)

| Benchmark | GPT-5.2 Codex | Grok 4 |
|---|---|---|
| Terminal-Bench | 66.5% | 27.2% |
| Berkeley Function Calling Leaderboard | — | 63% |
| GDPval | — | 21.1% |
| Cybench | — | 43% |
| DeepResearch Bench | — | 47.3% |
| BALROG | — | 43.6% |
| LMArena Search | — | 1142 |
| METR Time Horizons | — | 66.6% |

## Reasoning

- GPT-5.2 Codex: —
- Grok 4: 36.7 (#65)

| Benchmark | GPT-5.2 Codex | Grok 4 |
|---|---|---|
| ARC-AGI-2 | — | 16% |
| SimpleBench | — | 60.5% |
| Kagi LLM Benchmark | — | 73.6% |
| ARC-AGI-1 | — | 66.7% |
| Chess Puzzles | — | 28% |
| LMArena Hard Prompts | — | 1409 |
| Epoch Capabilities Index | — | 146.44 |
| ForecastBench | — | 60.9 |

## Math

- GPT-5.2 Codex: —
- Grok 4: 48.4 (#64)

| Benchmark | GPT-5.2 Codex | Grok 4 |
|---|---|---|
| OTIS Mock AIME 2024-2025 | — | 84% |
| Omni-MATH | — | 60.3% |
| LMArena Math | — | 1422 |
| FrontierMath (Feb 2025 set) | — | 19.7% |
| FrontierMath Tier 4 (v1) | — | 2.1% |

## Knowledge

- GPT-5.2 Codex: —
- Grok 4: 53.8 (#55)

| Benchmark | GPT-5.2 Codex | Grok 4 |
|---|---|---|
| GPQA Diamond | — | 87% |
| MMLU-Pro | — | 85.1% |
| Confabulations | — | 12.4% |
| GPQA (HELM) | — | 72.7% |
| LMArena Expert | — | 1415 |

## Multimodal

- GPT-5.2 Codex: —
- Grok 4: 33.7 (#94)

| Benchmark | GPT-5.2 Codex | Grok 4 |
|---|---|---|
| LMArena Vision | — | 1210 |
| GeoBench | — | 45% |

## Multilingual

- GPT-5.2 Codex: —
- Grok 4: 51.8 (#103)

| Benchmark | GPT-5.2 Codex | Grok 4 |
|---|---|---|
| LMArena Non-English | — | 1403 |
| LMArena Chinese | — | 1427 |
| LMArena French | — | 1418 |
| LMArena German | — | 1429 |
| LMArena Japanese | — | 1394 |
| LMArena Korean | — | 1377 |
| LMArena Russian | — | 1410 |
| LMArena Spanish | — | 1420 |

## Instruction Following

- GPT-5.2 Codex: —
- Grok 4: 79.2 (#5)

| Benchmark | GPT-5.2 Codex | Grok 4 |
|---|---|---|
| IFEval | — | 94.9% |
| LMArena Instruction Following | — | 1387 |

## Long Context

- GPT-5.2 Codex: —
- Grok 4: 63.1 (#4)

| Benchmark | GPT-5.2 Codex | Grok 4 |
|---|---|---|
| Fiction.LiveBench | — | 94.4% |
| LMArena Longer Query | — | 1409 |

## Writing & Preference

- GPT-5.2 Codex: —
- Grok 4: 58.5 (#116)

| Benchmark | GPT-5.2 Codex | Grok 4 |
|---|---|---|
| LMArena Text | — | 1411 |
| LMArena Creative Writing | — | 1397 |
| Short-Story Creative Writing | — | 76.9% |
| WildBench | — | 79.7% |
| LMArena Multi-Turn | — | 1416 |

## FAQ

### Is GPT-5.2 Codex better than Grok 4?

Grok 4 is the stronger model overall, scoring 48.1 to 42.6 on the Noometry Index.

### Is GPT-5.2 Codex or Grok 4 better for coding?

Grok 4 scores higher on coding benchmarks: 50.3 versus 45.5 in the Noometry coding category.

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

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