Enter opens the highlighted result. Esc closes.

GPT-5.4 Nano vs Granite 4.2 8B

GPT-5.4 Nano leads Granite 4.2 8B on the Artificial Analysis Intelligence Index, 20.7 to 11.1, and Granite 4.2 8B costs 6.3x less per output token ($0.20 vs $1.25 per million). Updated October 22, 2026; 27 benchmarks have a result for both.

GPT-5.4 NanoOpenAI
Coding
44.8
Overall
45.7
Output $/M
$1.25
27
Granite 4.2 8BIBM Granite
Coding
No data
Overall
No data
Output $/M
$0.20
0
vs boards won of 27 shared

GPT-5.4 Nano or Granite 4.2 8B: which to pick

Only GPT-5.4 Nano has a coding score, 44.8 on the Vibe Coding Index; Granite 4.2 8B has none, so the two cannot be ranked on coding.

Pick Granite 4.2 8B for output tokens 6.3x cheaper ($0.20 vs $1.25 per million).

Shared results
27
GPT-5.4 Nano only
58
Granite 4.2 8B only
0
Like-for-like categories
6 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-5.4 Nano 44.8 from 2 benchmarks, Granite 4.2 8B not benchmarked.
Widest category
Coding, 14.9 points apart on average over 4 shared benchmarks.
Widest single gap
AA Coding Index: GPT-5.4 Nano 56.1 against Granite 4.2 8B 22.4, 33.7 points apart on a 0 to 100 scale.
Output price
GPT-5.4 Nano $1.25 against Granite 4.2 8B $0.20 per million output tokens, 6.3x apart.
Context window
GPT-5.4 Nano takes 400K 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-5.4 NanoBarsGranite 4.2 8BTies
Coding40
Intelligence10
Agentic work10
Reasoning50
Knowledge40
General120
All shared boards270
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for GPT-5.4 Nano and Granite 4.2 8B
BenchmarkGPT-5.4 NanoGranite 4.2 8BLeader
AA Coding Index56.122.4GPT-5.4 Nano
LiveCodeBench (Vals AI)84.0%Not measuredOnly GPT-5.4 Nano measured
SWE-bench Verified (Vals AI)69.8%Not measuredOnly GPT-5.4 Nano measured
Vibe Code Bench (Vals AI)26.1%Not measuredOnly GPT-5.4 Nano measured
Code migration (Vals AI)14.5%Not measuredOnly GPT-5.4 Nano measured
Terminal-Bench 2.1 (Vals AI)41.6%Not measuredOnly GPT-5.4 Nano measured
SciCode47.2%31.5%GPT-5.4 Nano
Terminal-Bench Hard (Artificial Analysis run)42.4%Not measuredOnly GPT-5.4 Nano measured
WeirdML49.2%Not measuredOnly GPT-5.4 Nano measured
ALE-Bench1004.5Not measuredOnly GPT-5.4 Nano measured
LMArena Text: coding14041378GPT-5.4 Nano
LMArena Text: software and IT14021367GPT-5.4 Nano
Neither model has a result on the other 31 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GPT-5.4 Nano and Granite 4.2 8B
BenchmarkGPT-5.4 NanoGranite 4.2 8BLeader
AA Intelligence Index20.711.1GPT-5.4 Nano
Epoch Capabilities Index146.0Not measuredOnly GPT-5.4 Nano measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GPT-5.4 Nano and Granite 4.2 8B
BenchmarkGPT-5.4 NanoGranite 4.2 8BLeader
AA Agentic Index16.01.3GPT-5.4 Nano
Finance Agent (Vals AI)38.2%Not measuredOnly GPT-5.4 Nano measured
Tax Agent Bench (Vals AI)5.0%Not measuredOnly GPT-5.4 Nano measured
Legal Research Bench (Vals AI)6.3%Not measuredOnly GPT-5.4 Nano measured
Excel Modeling Benchmark (Vals AI)44.8%Not measuredOnly GPT-5.4 Nano measured
τ²-Bench Telecom76.0%Not measuredOnly GPT-5.4 Nano measured
Neither model has a result on the other 36 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index50
Reasoning benchmarks for GPT-5.4 Nano and Granite 4.2 8B
BenchmarkGPT-5.4 NanoGranite 4.2 8BLeader
GPQA Diamond77.5%Not measuredOnly GPT-5.4 Nano measured
MMMU Pro (Vals AI)73.6%Not measuredOnly GPT-5.4 Nano measured
GPQA Diamond (Artificial Analysis run)81.7%63.1%GPT-5.4 Nano
Humanity's Last Exam (Artificial Analysis run)28.3%9.7%GPT-5.4 Nano
GPQA Diamond (Epoch AI run)78.5%Not measuredOnly GPT-5.4 Nano measured
ARC-AGI51.5%Not measuredOnly GPT-5.4 Nano measured
ARC-AGI-25.7%Not measuredOnly GPT-5.4 Nano measured
Chess puzzles45.0%Not measuredOnly GPT-5.4 Nano measured
Mystery game puzzles9.0%Not measuredOnly GPT-5.4 Nano measured
LMArena Text: hard prompts13811327GPT-5.4 Nano
LMArena Text: expert13961386GPT-5.4 Nano
LMArena Text: hard prompts in English13871345GPT-5.4 Nano
LMArena Vision: diagrams1210Not measuredOnly GPT-5.4 Nano measured
LMArena Vision: homework1225Not measuredOnly GPT-5.4 Nano measured
Kagi LLM Benchmark39.7%Not measuredOnly GPT-5.4 Nano measured
Neither model has a result on the other 8 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Math benchmarks for GPT-5.4 Nano and Granite 4.2 8B
BenchmarkGPT-5.4 NanoGranite 4.2 8BLeader
AIME88.8%Not measuredOnly GPT-5.4 Nano measured
OTIS Mock AIME87.8%Not measuredOnly GPT-5.4 Nano measured
FrontierMath, tiers 1 to 344.9%Not measuredOnly GPT-5.4 Nano measured
FrontierMath, tier 412.2%Not measuredOnly GPT-5.4 Nano measured
ProofBench5.0%Not measuredOnly GPT-5.4 Nano measured
LMArena Text: math1405Not measuredOnly GPT-5.4 Nano measured
LMArena Text: mathematical work1409Not measuredOnly GPT-5.4 Nano measured
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
Knowledge benchmarks for GPT-5.4 Nano and Granite 4.2 8B
BenchmarkGPT-5.4 NanoGranite 4.2 8BLeader
MMLU Pro77.2%Not measuredOnly GPT-5.4 Nano measured
LegalBench (Vals AI)77.9%Not measuredOnly GPT-5.4 Nano measured
CaseLaw (Vals AI)51.9%Not measuredOnly GPT-5.4 Nano measured
CorpFin (Vals AI)61.2%Not measuredOnly GPT-5.4 Nano measured
TaxEval (Vals AI)67.4%Not measuredOnly GPT-5.4 Nano measured
MortgageTax (Vals AI)59.1%Not measuredOnly GPT-5.4 Nano measured
MedCode (Vals AI)41.0%Not measuredOnly GPT-5.4 Nano measured
SimpleQA Verified11.7%Not measuredOnly GPT-5.4 Nano measured
LMArena Text: science13741336GPT-5.4 Nano
LMArena Text: medicine and healthcare13691336GPT-5.4 Nano
LMArena Text: legal and government13681327GPT-5.4 Nano
LMArena Text: business and finance13661322GPT-5.4 Nano
Neither model has a result on the other 8 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for GPT-5.4 Nano and Granite 4.2 8B
BenchmarkGPT-5.4 NanoGranite 4.2 8BLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index120
General benchmarks for GPT-5.4 Nano and Granite 4.2 8B
BenchmarkGPT-5.4 NanoGranite 4.2 8BLeader
SAGE (Vals AI)38.1%Not measuredOnly GPT-5.4 Nano measured
MedScribe (Vals AI)77.1%Not measuredOnly GPT-5.4 Nano measured
Vals Multimodal Index47.6%Not measuredOnly GPT-5.4 Nano measured
IFBench75.9%Not measuredOnly GPT-5.4 Nano measured
Long context reasoning (AA-LCR)76.7%45.0%GPT-5.4 Nano
DTBench80.3%Not measuredOnly GPT-5.4 Nano measured
LMCA36.9%Not measuredOnly GPT-5.4 Nano measured
LMArena Text13721319GPT-5.4 Nano
LMArena Text: instruction following13621300GPT-5.4 Nano
LMArena Text: creative writing13151236GPT-5.4 Nano
LMArena Vision1196Not measuredOnly GPT-5.4 Nano measured
LMArena Text: English13811337GPT-5.4 Nano
LMArena Text: non-English13591301GPT-5.4 Nano
LMArena Text: Chinese13911367GPT-5.4 Nano
LMArena Text: German1368Not measuredOnly GPT-5.4 Nano measured
LMArena Text: Japanese1343Not measuredOnly GPT-5.4 Nano measured
LMArena Text: Korean1321Not measuredOnly GPT-5.4 Nano measured
LMArena Text: French1395Not measuredOnly GPT-5.4 Nano measured
LMArena Text: Spanish1371Not measuredOnly GPT-5.4 Nano measured
LMArena Text: Russian13631282GPT-5.4 Nano
LMArena Text: Polish1366Not measuredOnly GPT-5.4 Nano measured
LMArena Text: multi-turn13821301GPT-5.4 Nano
LMArena Text: longer queries13651325GPT-5.4 Nano
LMArena Text: writing and language13381269GPT-5.4 Nano
LMArena Text: entertainment and media13251271GPT-5.4 Nano
LMArena Vision: English1202Not measuredOnly GPT-5.4 Nano measured
LMArena Vision: Chinese1232Not measuredOnly GPT-5.4 Nano measured
LMArena Vision: reading text1204Not measuredOnly GPT-5.4 Nano measured
LMArena Vision: humor1161Not measuredOnly GPT-5.4 Nano measured
LMArena Vision: recognizing things1141Not measuredOnly GPT-5.4 Nano measured
LMArena Vision: creative writing1159Not measuredOnly GPT-5.4 Nano measured
Neither model has a result on the other 17 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-5.4 Nano and Granite 4.2 8B
BenchmarkGPT-5.4 NanoGranite 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-5.4 Nano$0.0008Fits 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-5.4 Nano$0.014Fits 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-5.4 Nano$0.052Fits in one request
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-5.4 Nano and Granite 4.2 8B
SpecificationOpenAI GPT-5.4 NanoIBM Granite 4.2 8B
MakerOpenAIIBM Granite
WeightsNo public weights listedOpen weights
ReleasedMarch 17, 2026August 31, 2026
Context window400K131K
Input $/Mtok$0.20$0.08
Output $/Mtok$1.25$0.20
Coding index44.8Not benchmarked
Independent measurements behind it20
Cost per solved task$0.14Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.4 Nano better than Granite 4.2 8B for coding?

Only GPT-5.4 Nano has a coding score, 44.8 on the Vibe Coding Index; Granite 4.2 8B has none, so the two cannot be ranked on coding. Pick Granite 4.2 8B for output tokens 6.3x cheaper ($0.20 vs $1.25 per million).

Which is cheaper, GPT-5.4 Nano or Granite 4.2 8B?

GPT-5.4 Nano costs $0.20 per million input tokens and $1.25 per million output tokens; Granite 4.2 8B costs $0.08 and $0.20. Cost per solved task is known for GPT-5.4 Nano only.

Which has the bigger context window, GPT-5.4 Nano or Granite 4.2 8B?

GPT-5.4 Nano, with 400K tokens against 131K.

How many benchmarks is the GPT-5.4 Nano vs Granite 4.2 8B comparison based on?

27 benchmarks have a result for both models as of October 22, 2026. GPT-5.4 Nano's coding index rests on 2 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