# GPT-5.1-Codex vs Grok 4.1

> Grok 4.1 is the stronger model overall, scoring 41.5 to 38.6 on the Noometry Index.

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

## Summary

- They share 1 benchmark with published results for both. GPT-5.1-Codex scores higher in 2 categories and Grok 4.1 in 1 category; 3 gaps are clear of the uncertainty.
- The widest gap is in math, where Grok 4.1 leads 38.9 to 30.3.

## Snapshot

| | GPT-5.1-Codex | Grok 4.1 |
|---|---|---|
| Provider | OpenAI | xAI |
| Noometry Index | 38.6 | 41.5 |
| Rank | 186 | 134 |
| Context | 400K | — |
| Input $/M | $1.25 | — |
| Output $/M | $10 | — |
| Weights | Proprietary | Proprietary |

## Coding

- GPT-5.1-Codex: 41.9 (#116)
- Grok 4.1: 33.7 (#253)

| Benchmark | GPT-5.1-Codex | Grok 4.1 |
|---|---|---|
| LMArena WebDev | 1337 | 1214 |
| SWE-bench Verified (bash only) | 66% | — |
| LMArena Coding | — | 1445 |
| ALE-Bench | 1,245 | — |

## Agentic & Tool Use

- GPT-5.1-Codex: 38.0 (#33)
- Grok 4.1: 34.1 (#49)

| Benchmark | GPT-5.1-Codex | Grok 4.1 |
|---|---|---|
| Terminal-Bench | 60.4% | — |
| Cybench | — | 39% |
| METR Time Horizons | 70.8% | — |

## Reasoning

- GPT-5.1-Codex: —
- Grok 4.1: 29.5 (#91)

| Benchmark | GPT-5.1-Codex | Grok 4.1 |
|---|---|---|
| LMArena Hard Prompts | — | 1435 |

## Math

- GPT-5.1-Codex: 30.3 (#235)
- Grok 4.1: 38.9 (#120)

| Benchmark | GPT-5.1-Codex | Grok 4.1 |
|---|---|---|
| ProofBench | 9% | — |
| LMArena Math | — | 1422 |

## Knowledge

- GPT-5.1-Codex: —
- Grok 4.1: 39.5 (#133)

| Benchmark | GPT-5.1-Codex | Grok 4.1 |
|---|---|---|
| LMArena Expert | — | 1417 |

## Multilingual

- GPT-5.1-Codex: —
- Grok 4.1: 53.4 (#68)

| Benchmark | GPT-5.1-Codex | Grok 4.1 |
|---|---|---|
| LMArena Non-English | — | 1425 |
| LMArena Chinese | — | 1465 |
| LMArena French | — | 1448 |
| LMArena German | — | 1446 |
| LMArena Japanese | — | 1397 |
| LMArena Korean | — | 1407 |
| LMArena Russian | — | 1434 |
| LMArena Spanish | — | 1438 |

## Instruction Following

- GPT-5.1-Codex: —
- Grok 4.1: 73.8 (#111)

| Benchmark | GPT-5.1-Codex | Grok 4.1 |
|---|---|---|
| LMArena Instruction Following | — | 1400 |

## Long Context

- GPT-5.1-Codex: —
- Grok 4.1: 43.2 (#100)

| Benchmark | GPT-5.1-Codex | Grok 4.1 |
|---|---|---|
| LMArena Longer Query | — | 1416 |

## Writing & Preference

- GPT-5.1-Codex: —
- Grok 4.1: 62.4 (#75)

| Benchmark | GPT-5.1-Codex | Grok 4.1 |
|---|---|---|
| LMArena Text | — | 1437 |
| LMArena Creative Writing | — | 1411 |
| LMArena Multi-Turn | — | 1437 |

## FAQ

### Is GPT-5.1-Codex better than Grok 4.1?

Grok 4.1 is the stronger model overall, scoring 41.5 to 38.6 on the Noometry Index.

### Is GPT-5.1-Codex or Grok 4.1 better for coding?

GPT-5.1-Codex scores higher on coding benchmarks: 41.9 versus 33.7 in the Noometry coding category.

### How many benchmarks do GPT-5.1-Codex and Grok 4.1 share?

1 benchmark has published results for both models. GPT-5.1-Codex has 6 scored results on Noometry and Grok 4.1 has 19.
