Enter opens the highlighted result. Esc closes.

GPT-4o-mini (2024-07-18) vs Granite 4.2 8B

Granite 4.2 8B costs 3.0x less per output token than GPT-4o-mini (2024-07-18) ($0.20 vs $0.60 per million). Updated October 22, 2026; 20 benchmarks have a result for both.

GPT-4o-mini (2024-07-18)OpenAI
Coding
No data
Overall
No data
Output $/M
$0.60
2
Granite 4.2 8BIBM Granite
Coding
No data
Overall
No data
Output $/M
$0.20
18
vs boards won of 20 shared

GPT-4o-mini (2024-07-18) or Granite 4.2 8B: which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick GPT-4o-mini (2024-07-18) for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
20
GPT-4o-mini (2024-07-18) only
26
Granite 4.2 8B only
7
Like-for-like categories
4 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
GPT-4o-mini (2024-07-18) not benchmarked, Granite 4.2 8B not benchmarked.
Widest category
Reasoning, 15.4 points apart on average over 3 shared benchmarks.
Widest single gap
LMArena Text: expert: GPT-4o-mini (2024-07-18) 1234 against Granite 4.2 8B 1386, 25.3 points apart on a 0 to 100 scale.
Output price
GPT-4o-mini (2024-07-18) $0.60 against Granite 4.2 8B $0.20 per million output tokens, 3.0x apart.
Context window
GPT-4o-mini (2024-07-18) takes 128K tokens, Granite 4.2 8B 131K.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryGPT-4o-mini (2024-07-18)BarsGranite 4.2 8BTies
Coding02
Reasoning03
Knowledge04
General29
All shared boards218
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for GPT-4o-mini (2024-07-18) and Granite 4.2 8B
BenchmarkGPT-4o-mini (2024-07-18)Granite 4.2 8BLeader
Aider polyglot3.6%Not measuredOnly GPT-4o-mini (2024-07-18) measured
AA Coding IndexNot measured22.4Only Granite 4.2 8B measured
SciCodeNot measured31.5%Only Granite 4.2 8B measured
WeirdML11.8%Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: coding12901378Granite 4.2 8B
LMArena Text: software and IT12911367Granite 4.2 8B
Neither model has a result on the other 37 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Intelligence benchmarks for GPT-4o-mini (2024-07-18) and Granite 4.2 8B
BenchmarkGPT-4o-mini (2024-07-18)Granite 4.2 8BLeader
AA Intelligence IndexNot measured11.1Only Granite 4.2 8B measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Agentic work benchmarks for GPT-4o-mini (2024-07-18) and Granite 4.2 8B
BenchmarkGPT-4o-mini (2024-07-18)Granite 4.2 8BLeader
AA Agentic IndexNot measured1.3Only Granite 4.2 8B measured
BALROG17.4%Not measuredOnly GPT-4o-mini (2024-07-18) measured
Neither model has a result on the other 40 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index03
Reasoning benchmarks for GPT-4o-mini (2024-07-18) and Granite 4.2 8B
BenchmarkGPT-4o-mini (2024-07-18)Granite 4.2 8BLeader
GPQA Diamond (Artificial Analysis run)Not measured63.1%Only Granite 4.2 8B measured
Humanity's Last Exam (Artificial Analysis run)Not measured9.7%Only Granite 4.2 8B measured
GPQA Diamond (Epoch AI run)37.7%Not measuredOnly GPT-4o-mini (2024-07-18) measured
SimpleBench10.7%Not measuredOnly GPT-4o-mini (2024-07-18) measured
Chess puzzles3.0%Not measuredOnly GPT-4o-mini (2024-07-18) measured
Mystery game puzzles12.0%Not measuredOnly GPT-4o-mini (2024-07-18) measured
VPCT34.0%Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: hard prompts12671327Granite 4.2 8B
LMArena Text: expert12341386Granite 4.2 8B
LMArena Text: hard prompts in English12781345Granite 4.2 8B
Neither model has a result on the other 13 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Math benchmarks for GPT-4o-mini (2024-07-18) and Granite 4.2 8B
BenchmarkGPT-4o-mini (2024-07-18)Granite 4.2 8BLeader
OTIS Mock AIME6.9%Not measuredOnly GPT-4o-mini (2024-07-18) measured
FrontierMath, tiers 1 to 30.7%Not measuredOnly GPT-4o-mini (2024-07-18) measured
MATH level 552.6%Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: math1267Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: mathematical work1271Not measuredOnly GPT-4o-mini (2024-07-18) measured
Neither model has a result on the other 9 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for GPT-4o-mini (2024-07-18) and Granite 4.2 8B
BenchmarkGPT-4o-mini (2024-07-18)Granite 4.2 8BLeader
SimpleQA Verified8.3%Not measuredOnly GPT-4o-mini (2024-07-18) measured
MMLU76.7%Not measuredOnly GPT-4o-mini (2024-07-18) measured
GeoBench64.0%Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: science12861336Granite 4.2 8B
LMArena Text: medicine and healthcare12821336Granite 4.2 8B
LMArena Text: legal and government13051327Granite 4.2 8B
LMArena Text: business and finance12651322Granite 4.2 8B
Neither model has a result on the other 13 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for GPT-4o-mini (2024-07-18) and Granite 4.2 8B
BenchmarkGPT-4o-mini (2024-07-18)Granite 4.2 8BLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index29
General benchmarks for GPT-4o-mini (2024-07-18) and Granite 4.2 8B
BenchmarkGPT-4o-mini (2024-07-18)Granite 4.2 8BLeader
Long context reasoning (AA-LCR)Not measured45.0%Only Granite 4.2 8B measured
Creative writing (Lech Mazur)67.2%Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text12861319Granite 4.2 8B
LMArena Text: instruction following12581300Granite 4.2 8B
LMArena Text: creative writing12681236GPT-4o-mini (2024-07-18)
LMArena Vision1066Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: English13011337Granite 4.2 8B
LMArena Text: non-English12661301Granite 4.2 8B
LMArena Text: Chinese12651367Granite 4.2 8B
LMArena Text: German1272Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: Japanese1216Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: Korean1195Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: French1297Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: Spanish1276Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: Russian12751282Granite 4.2 8B
LMArena Text: Polish1244Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Text: multi-turn12851301Granite 4.2 8B
LMArena Text: longer queries12891325Granite 4.2 8B
LMArena Text: writing and language12821269GPT-4o-mini (2024-07-18)
LMArena Text: entertainment and media12531271Granite 4.2 8B
LMArena Vision: English1072Not measuredOnly GPT-4o-mini (2024-07-18) measured
LMArena Vision: Chinese1033Not measuredOnly GPT-4o-mini (2024-07-18) measured
Neither model has a result on the other 26 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-4o-mini (2024-07-18) and Granite 4.2 8B
BenchmarkGPT-4o-mini (2024-07-18)Granite 4.2 8BLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

GPT-4o-mini (2024-07-18)$0.0004Fits in one request
Granite 4.2 8B$0.0002Fits in one request

Granite 4.2 8B costs less

Repository review

50K input + 3K output tokens

GPT-4o-mini (2024-07-18)$0.0093Fits in one request
Granite 4.2 8B$0.0046Fits in one request

Granite 4.2 8B costs less

Agent loop

200K input + 10K output tokens

GPT-4o-mini (2024-07-18)$0.036Exceeds the context window
Granite 4.2 8B$0.018Exceeds the context window

Granite 4.2 8B costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of GPT-4o-mini (2024-07-18) and Granite 4.2 8B
SpecificationOpenAI GPT-4o-mini (2024-07-18)IBM Granite 4.2 8B
MakerOpenAIIBM Granite
WeightsNo public weights listedOpen weights
ReleasedJuly 18, 2024August 31, 2026
Context window128K131K
Input $/Mtok$0.15$0.08
Output $/Mtok$0.60$0.20
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4o-mini (2024-07-18) better than Granite 4.2 8B for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick GPT-4o-mini (2024-07-18) for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Which is cheaper, GPT-4o-mini (2024-07-18) or Granite 4.2 8B?

GPT-4o-mini (2024-07-18) costs $0.15 per million input tokens and $0.60 per million output tokens; Granite 4.2 8B costs $0.08 and $0.20. Cost per solved task is known for neither of them.

Which has the bigger context window, GPT-4o-mini (2024-07-18) or Granite 4.2 8B?

Granite 4.2 8B, with 131K tokens against 128K.

How many benchmarks is the GPT-4o-mini (2024-07-18) vs Granite 4.2 8B comparison based on?

20 benchmarks have a result for both models as of October 22, 2026. GPT-4o-mini (2024-07-18)'s coding index rests on 0 independent benchmarks and Granite 4.2 8B's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next