# GPT-5-Codex vs Grok 4.7

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

- Canonical page: https://noometry.com/compare/gpt-5-codex-vs-grok-4-7
- Last updated: 2026-10-12
- Shared benchmarks: 0

## Summary

- The widest gap is in reasoning, where Grok 4.7 leads 49.1 to 30.9.
- Grok 4.7 is cheaper at $2 / $6 per million input/output tokens, against $1.25 / $10 for GPT-5-Codex.
- Grok 4.7 accepts more context: 500K tokens versus 400K.

## Snapshot

| | GPT-5-Codex | Grok 4.7 |
|---|---|---|
| Provider | OpenAI | xAI |
| Noometry Index | 37.9 | 53.1 |
| Rank | 192 | 37 |
| Context | 400K | 500K |
| Input $/M | $1.25 | $2 |
| Output $/M | $10 | $6 |
| Weights | Proprietary | Proprietary |

## Coding

- GPT-5-Codex: 42.4 (#103)
- Grok 4.7: 58.0 (#18)

| Benchmark | GPT-5-Codex | Grok 4.7 |
|---|---|---|
| FrontierCode | — | 47.6% |
| CursorBench | — | 46.3% |
| LMArena WebDev | — | 1639 |
| FrontierSWE | — | 29.5% |
| SciCode | — | 57.8% |
| WeirdML | 54.5% | — |
| LMArena Coding | — | 1427 |

## Agentic & Tool Use

- GPT-5-Codex: 31.0 (#72)
- Grok 4.7: 36.7 (#37)

| Benchmark | GPT-5-Codex | Grok 4.7 |
|---|---|---|
| Terminal-Bench | 44.3% | — |
| APEX-Agents | — | 54.6% |
| GDP.pdf | — | 22.8% |
| Vending-Bench 2 | — | 10,537 |

## Reasoning

- GPT-5-Codex: 30.9 (#83)
- Grok 4.7: 49.1 (#40)

| Benchmark | GPT-5-Codex | Grok 4.7 |
|---|---|---|
| Kagi LLM Benchmark | 70.3% | — |
| 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

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

| Benchmark | GPT-5-Codex | Grok 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

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

| Benchmark | GPT-5-Codex | Grok 4.7 |
|---|---|---|
| GPQA Diamond | — | 92.7% |
| SimpleQA Verified | — | 56% |
| LMArena Expert | — | 1422 |

## Multimodal

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

| Benchmark | GPT-5-Codex | Grok 4.7 |
|---|---|---|
| LMArena Vision | — | 1228 |
| Blueprint-Bench 2 | — | 32.5% |
| Furniture Assembly | — | 20.8% |

## Multilingual

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

| Benchmark | GPT-5-Codex | Grok 4.7 |
|---|---|---|
| LMArena Non-English | — | 1389 |
| LMArena Chinese | — | 1455 |
| LMArena French | — | 1455 |
| LMArena Russian | — | 1397 |
| LMArena Spanish | — | 1400 |

## Instruction Following

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

| Benchmark | GPT-5-Codex | Grok 4.7 |
|---|---|---|
| LMArena Instruction Following | — | 1404 |

## Long Context

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

| Benchmark | GPT-5-Codex | Grok 4.7 |
|---|---|---|
| LMArena Longer Query | — | 1413 |

## Writing & Preference

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

| Benchmark | GPT-5-Codex | Grok 4.7 |
|---|---|---|
| LMArena Text | — | 1399 |
| LMArena Creative Writing | — | 1391 |
| EQ-Bench Creative Writing | — | 2007 |
| LMArena Multi-Turn | — | 1393 |

## FAQ

### Is GPT-5-Codex better than Grok 4.7?

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

### Which is cheaper, GPT-5-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-Codex lists at $1.25 and $10.

### Is GPT-5-Codex or Grok 4.7 better for coding?

Grok 4.7 scores higher on coding benchmarks: 58.0 versus 42.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-Codex and Grok 4.7 share?

0 benchmarks have published results for both models. GPT-5-Codex has 3 scored results on Noometry and Grok 4.7 has 39.
