# GPT-5.2 Codex vs Granite 4.2 8B

> GPT-5.2 Codex is the stronger model overall, scoring 42.2 to 40.0 on the Noometry Index. Granite 4.2 8B costs 45× less per token, which makes it the better buy when GPT-5.2 Codex's lead doesn't matter for your workload.

- Canonical page: https://noometry.com/compare/gpt-5-2-codex-vs-granite-4-2-8b
- Last updated: 2026-10-10
- Shared benchmarks: 0

## Summary

- The widest gap is in coding, where GPT-5.2 Codex leads 45.4 to 39.9.
- Granite 4.2 8B is cheaper at $0.06 / $0.25 per million input/output tokens, against $1.75 / $14 for GPT-5.2 Codex.
- GPT-5.2 Codex accepts more context: 400K tokens versus 131K.
- Granite 4.2 8B has downloadable open weights; the other is API-only.

## Snapshot

| | GPT-5.2 Codex | Granite 4.2 8B |
|---|---|---|
| Provider | OpenAI | IBM |
| Noometry Index | 42.2 | 40.0 |
| Rank | 107 | 143 |
| Context | 400K | 131K |
| Input $/M | $1.75 | $0.06 |
| Output $/M | $14 | $0.25 |
| Weights | Proprietary | Open |

## Coding

- GPT-5.2 Codex: 45.4 (#66)
- Granite 4.2 8B: 39.9 (#138)

| Benchmark | GPT-5.2 Codex | Granite 4.2 8B |
|---|---|---|
| SWE-bench Verified (bash only) | 72.8% | — |
| LMArena WebDev | 1339 | — |
| SWE-bench Multilingual | 66.3% | — |
| LMArena Coding | — | 1379 |
| ALE-Bench | 1,300 | — |

## Agentic & Tool Use

- GPT-5.2 Codex: 40.7 (#20)
- Granite 4.2 8B: —

| Benchmark | GPT-5.2 Codex | Granite 4.2 8B |
|---|---|---|
| Terminal-Bench | 66.5% | — |

## Reasoning

- GPT-5.2 Codex: —
- Granite 4.2 8B: 25.5 (#130)

| Benchmark | GPT-5.2 Codex | Granite 4.2 8B |
|---|---|---|
| LMArena Hard Prompts | — | 1327 |

## Knowledge

- GPT-5.2 Codex: —
- Granite 4.2 8B: 37.7 (#144)

| Benchmark | GPT-5.2 Codex | Granite 4.2 8B |
|---|---|---|
| LMArena Expert | — | 1380 |

## Multilingual

- GPT-5.2 Codex: —
- Granite 4.2 8B: 44.5 (#173)

| Benchmark | GPT-5.2 Codex | Granite 4.2 8B |
|---|---|---|
| LMArena Non-English | — | 1299 |
| LMArena Chinese | — | 1361 |
| LMArena Russian | — | 1283 |

## Instruction Following

- GPT-5.2 Codex: —
- Granite 4.2 8B: 68.7 (#183)

| Benchmark | GPT-5.2 Codex | Granite 4.2 8B |
|---|---|---|
| LMArena Instruction Following | — | 1298 |

## Long Context

- GPT-5.2 Codex: —
- Granite 4.2 8B: 40.2 (#154)

| Benchmark | GPT-5.2 Codex | Granite 4.2 8B |
|---|---|---|
| LMArena Longer Query | — | 1323 |

## Writing & Preference

- GPT-5.2 Codex: —
- Granite 4.2 8B: 49.8 (#183)

| Benchmark | GPT-5.2 Codex | Granite 4.2 8B |
|---|---|---|
| LMArena Text | — | 1319 |
| LMArena Creative Writing | — | 1238 |
| LMArena Multi-Turn | — | 1299 |

## FAQ

### Is GPT-5.2 Codex better than Granite 4.2 8B?

GPT-5.2 Codex is the stronger model overall, scoring 42.2 to 40.0 on the Noometry Index. Granite 4.2 8B costs 45× less per token, which makes it the better buy when GPT-5.2 Codex's lead doesn't matter for your workload.

### Which is cheaper, GPT-5.2 Codex or Granite 4.2 8B?

Granite 4.2 8B is cheaper. It lists at $0.06 per million input tokens and $0.25 per million output tokens; GPT-5.2 Codex lists at $1.75 and $14.

### Is GPT-5.2 Codex or Granite 4.2 8B better for coding?

GPT-5.2 Codex scores higher on coding benchmarks: 45.4 versus 39.9 in the Noometry coding category.

### Which has the bigger context window?

GPT-5.2 Codex does, with 400K tokens against 131K.

### How many benchmarks do GPT-5.2 Codex and Granite 4.2 8B share?

0 benchmarks have published results for both models. GPT-5.2 Codex has 5 scored results on Noometry and Granite 4.2 8B has 11.
