Model comparison

GPT-5.1-Codex vs Granite 4.2 8B

Granite 4.2 8B is the stronger model overall, scoring 40.0 to 38.2 on the Noometry Index.

Last verified . 0 shared benchmarks.

GPT-5.1-Codex OpenAI

38.2

Rank #178 Reported

Granite 4.2 8B IBM

40.0

Rank #143 Confirmed

Summary

  • Granite 4.2 8B is cheaper at $0.06 / $0.25 per million input/output tokens, against $1.25 / $10 for GPT-5.1-Codex.
  • GPT-5.1-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.1-Codex and Granite 4.2 8B specifications
GPT-5.1-CodexGranite 4.2 8B
ProviderOpenAIIBM
Noometry Index38.240.0
Released2025-11-12—
WeightsProprietaryOpen
Context window400K131K
Max output128K118K
Input $ / M tokens$1.25$0.06
Output $ / M tokens$10$0.25
Results tracked611

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

Category by category

Coding GPT-5.1-Codex leads

GPT-5.1-Codex: 41.7 (#107), Granite 4.2 8B: 39.9 (#138)

Coding benchmarks
BenchmarkGPT-5.1-CodexGranite 4.2 8B
SWE-bench Verified (bash only)66%—
LMArena WebDev1337—
LMArena Coding—1379
ALE-Bench1,245—

Agentic & Tool Use Not comparable

GPT-5.1-Codex: 37.8 (#32), Granite 4.2 8B: —

Agentic & Tool Use benchmarks
BenchmarkGPT-5.1-CodexGranite 4.2 8B
Terminal-Bench60.4%—
METR Time Horizons70.8%—

Reasoning Not comparable

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

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

Math Not comparable

GPT-5.1-Codex: 29.3 (#218), Granite 4.2 8B: —

Math benchmarks
BenchmarkGPT-5.1-CodexGranite 4.2 8B
ProofBench9%—

Knowledge Not comparable

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

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

Multilingual Not comparable

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

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

Instruction Following Not comparable

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

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

Long Context Not comparable

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

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

Writing & Preference Not comparable

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

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

Frequently asked questions

Is GPT-5.1-Codex better than Granite 4.2 8B?

Granite 4.2 8B is the stronger model overall, scoring 40.0 to 38.2 on the Noometry Index.

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

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

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

Which has the bigger context window?

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

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

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

Related comparisons

Go deeper