Model comparison

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.

Last verified . 0 shared benchmarks.

GPT-5.2 Codex OpenAI

42.2

Rank #107 Reported

Granite 4.2 8B IBM

40.0

Rank #143 Confirmed

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.

Side by side

GPT-5.2 Codex and Granite 4.2 8B specifications
GPT-5.2 CodexGranite 4.2 8B
ProviderOpenAIIBM
Noometry Index42.240.0
Released2025-12-18—
WeightsProprietaryOpen
Context window400K131K
Max output128K118K
Input $ / M tokens$1.75$0.06
Output $ / M tokens$14$0.25
Results tracked511

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding GPT-5.2 Codex leads

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

Coding benchmarks
BenchmarkGPT-5.2 CodexGranite 4.2 8B
SWE-bench Verified (bash only)72.8%—
LMArena WebDev1339—
SWE-bench Multilingual66.3%—
LMArena Coding—1379
ALE-Bench1,300—

Agentic & Tool Use Not comparable

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

Agentic & Tool Use benchmarks
BenchmarkGPT-5.2 CodexGranite 4.2 8B
Terminal-Bench66.5%—

Reasoning Not comparable

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

Reasoning benchmarks
BenchmarkGPT-5.2 CodexGranite 4.2 8B
LMArena Hard Prompts—1327

Knowledge Not comparable

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

Knowledge benchmarks
BenchmarkGPT-5.2 CodexGranite 4.2 8B
LMArena Expert—1380

Multilingual Not comparable

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

Multilingual benchmarks
BenchmarkGPT-5.2 CodexGranite 4.2 8B
LMArena Non-English—1299
LMArena Chinese—1361
LMArena Russian—1283

Instruction Following Not comparable

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

Instruction Following benchmarks
BenchmarkGPT-5.2 CodexGranite 4.2 8B
LMArena Instruction Following—1298

Long Context Not comparable

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

Long Context benchmarks
BenchmarkGPT-5.2 CodexGranite 4.2 8B
LMArena Longer Query—1323

Writing & Preference Not comparable

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

Writing & Preference benchmarks
BenchmarkGPT-5.2 CodexGranite 4.2 8B
LMArena Text—1319
LMArena Creative Writing—1238
LMArena Multi-Turn—1299

Frequently asked questions

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.

Related comparisons

Go deeper