Enter opens the highlighted result. Esc closes.

GPT-5.4 Mini vs GPT-6 Luna

GPT-6 Luna leads GPT-5.4 Mini on coding, 57.3 to 35.8 on the Vibe Coding Index, and GPT-6 Luna costs 9.0x less per output token ($0.50 vs $4.50 per million). Updated October 22, 2026; 67 benchmarks have a result for both.

GPT-5.4 MiniOpenAI
Coding
35.8
Overall
44.0
Output $/M
$4.50
34
GPT-6 LunaOpenAI
Coding
57.3
Overall
59.7
Output $/M
$0.50
33
vs boards won of 67 shared

GPT-5.4 Mini or GPT-6 Luna: which to pick

Pick GPT-6 Luna for coding: it scores 57.3 on the Vibe Coding Index against 35.8 for GPT-5.4 Mini.

Pick GPT-5.4 Mini for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
67
GPT-5.4 Mini only
22
GPT-6 Luna only
36
Like-for-like categories
7 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 Mini 35.8 from 5 benchmarks, GPT-6 Luna 57.3 from 5 benchmarks.
Widest category
Math, 21.5 points apart on average over 6 shared benchmarks.
Widest single gap
FrontierMath, tier 4: GPT-5.4 Mini 9.8% against GPT-6 Luna 56.1%, 46.3 points apart on a 0 to 100 scale.
Output price
GPT-5.4 Mini $4.50 against GPT-6 Luna $0.50 per million output tokens, 9.0x apart.
Context window
GPT-5.4 Mini takes 400K tokens, GPT-6 Luna 1.05M.

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 MiniBarsGPT-6 LunaTies
Coding211
Intelligence02
Agentic work04
Reasoning56
Math24
Knowledge41
General215
All shared boards3433
CodingLike-for-likeSix of these boards feed the Vibe Coding Index211
Coding benchmarks for GPT-5.4 Mini and GPT-6 Luna
BenchmarkGPT-5.4 MiniGPT-6 LunaLeader
LiveBench codingNot measured84.5%Only GPT-6 Luna measured
LMArena WebDev13971578GPT-6 Luna
AA Coding Index56.1Not measuredOnly GPT-5.4 Mini measured
LiveCodeBench (Vals AI)81.5%Not measuredOnly GPT-5.4 Mini measured
SWE-bench Verified (Vals AI)73.0%Not measuredOnly GPT-5.4 Mini measured
Terminal-Bench 4 (Vals AI)2.5%13.6%GPT-6 Luna
Vibe Code Bench (Vals AI)48.0%81.7%GPT-6 Luna
Code migration (Vals AI)12.9%42.5%GPT-6 Luna
ProgramBench (Vals AI)0.0%0.5%GPT-6 Luna
IOI (Vals AI)Not measured55.6%Only GPT-6 Luna measured
Terminal-Bench 2.1 (Vals AI)54.7%73.0%GPT-6 Luna
SWE-bench Multimodal (Vals AI)Not measured37.5%Only GPT-6 Luna measured
CyberBench (Vals AI)Not measured76.3%Only GPT-6 Luna measured
SciCode52.1%54.6%GPT-6 Luna
Terminal-Bench Hard (Artificial Analysis run)52.3%Not measuredOnly GPT-5.4 Mini measured
FrontierCode27.0%42.4%GPT-6 Luna
WeirdML60.3%Not measuredOnly GPT-5.4 Mini measured
ALE-Bench1188.61576.9GPT-6 Luna
LMArena Text: coding14381437GPT-5.4 Mini
LMArena Text: software and IT14361423GPT-5.4 Mini
LMArena WebDev: React13861573GPT-6 Luna
LMArena WebDev: HTML14191595GPT-6 Luna
LMArena WebDev: from an imageNot measured1571Only GPT-6 Luna measured
Neither model has a result on the other 16 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-5.4 Mini and GPT-6 Luna
BenchmarkGPT-5.4 MiniGPT-6 LunaLeader
AA Intelligence Index24.138.1GPT-6 Luna
Epoch Capabilities Index148.7156.8GPT-6 Luna
Agentic workLike-for-likePublic boards, shown as published, kept out of the index04
Agentic work benchmarks for GPT-5.4 Mini and GPT-6 Luna
BenchmarkGPT-5.4 MiniGPT-6 LunaLeader
AA Agentic Index17.9Not measuredOnly GPT-5.4 Mini measured
Design Arena: agents building web appsNot measured1191Only GPT-6 Luna measured
Design Arena: agents building full-stack appsNot measured1158Only GPT-6 Luna measured
Design Arena: agents building mobile appsNot measured1134Only GPT-6 Luna measured
LiveBench researchNot measured43.5%Only GPT-6 Luna measured
LiveBench browserNot measured72.0%Only GPT-6 Luna measured
LiveBench long agenticNot measured48.1%Only GPT-6 Luna measured
SREBench (Vals AI)Not measured2.7%Only GPT-6 Luna measured
Finance Agent (Vals AI)45.4%49.9%GPT-6 Luna
Tax Agent Bench (Vals AI)8.8%19.9%GPT-6 Luna
Legal Research Bench (Vals AI)12.5%30.3%GPT-6 Luna
Harvey's Legal Agent Benchmark (Vals AI)Not measured4.2%Only GPT-6 Luna measured
Excel Modeling Benchmark (Vals AI)45.4%68.5%GPT-6 Luna
BioMysteryBench (Vals AI)Not measured61.5%Only GPT-6 Luna measured
Terminal-Bench-Science (Vals AI)Not measured4.3%Only GPT-6 Luna measured
Vals Science IndexNot measured28.4%Only GPT-6 Luna measured
τ²-Bench Telecom83.3%Not measuredOnly GPT-5.4 Mini measured
APEX-AgentsNot measured44.3%Only GPT-6 Luna measured
DeepResearch Bench36.3%Not measuredOnly GPT-5.4 Mini measured
SpireClimbNot measured0.0%Only GPT-6 Luna measured
Neither model has a result on the other 21 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index56
Reasoning benchmarks for GPT-5.4 Mini and GPT-6 Luna
BenchmarkGPT-5.4 MiniGPT-6 LunaLeader
GPQA Diamond83.1%Not measuredOnly GPT-5.4 Mini measured
LiveBench reasoningNot measured81.8%Only GPT-6 Luna measured
MysteryMechanism (Vals AI)Not measured19.4%Only GPT-6 Luna measured
MMMU Pro (Vals AI)79.3%Not measuredOnly GPT-5.4 Mini measured
GPQA Diamond (Artificial Analysis run)87.5%Not measuredOnly GPT-5.4 Mini measured
Humanity's Last Exam (Artificial Analysis run)28.1%38.5%GPT-6 Luna
GPQA Diamond (Epoch AI run)86.9%90.5%GPT-6 Luna
ARC-AGI63.7%86.7%GPT-6 Luna
ARC-AGI-218.9%59.3%GPT-6 Luna
Chess puzzles23.0%36.0%GPT-6 Luna
Mystery game puzzles11.0%7.0%GPT-5.4 Mini
LMArena Text: hard prompts14241410GPT-5.4 Mini
LMArena Text: expert14351442GPT-6 Luna
LMArena Text: hard prompts in English14201410GPT-5.4 Mini
LMArena Vision: diagrams12661245GPT-5.4 Mini
LMArena Vision: homework12851261GPT-5.4 Mini
Kagi LLM Benchmark37.9%Not measuredOnly GPT-5.4 Mini measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index24
Math benchmarks for GPT-5.4 Mini and GPT-6 Luna
BenchmarkGPT-5.4 MiniGPT-6 LunaLeader
AIME95.6%Not measuredOnly GPT-5.4 Mini measured
OTIS Mock AIME88.9%98.9%GPT-6 Luna
FrontierMath, tiers 1 to 351.2%78.9%GPT-6 Luna
FrontierMath, tier 49.8%56.1%GPT-6 Luna
ProofBench21.0%64.0%GPT-6 Luna
LMArena Text: math14181409GPT-5.4 Mini
LMArena Text: mathematical work14291427GPT-5.4 Mini
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index41
Knowledge benchmarks for GPT-5.4 Mini and GPT-6 Luna
BenchmarkGPT-5.4 MiniGPT-6 LunaLeader
MMLU Pro84.5%Not measuredOnly GPT-5.4 Mini measured
CaseLaw (Vals AI)51.7%Not measuredOnly GPT-5.4 Mini measured
CorpFin (Vals AI)60.9%Not measuredOnly GPT-5.4 Mini measured
TaxEval (Vals AI)71.2%Not measuredOnly GPT-5.4 Mini measured
MortgageTax (Vals AI)63.5%Not measuredOnly GPT-5.4 Mini measured
MedCode (Vals AI)Not measured44.7%Only GPT-6 Luna measured
SimpleQA Verified29.4%41.4%GPT-6 Luna
LMArena Text: science14171386GPT-5.4 Mini
LMArena Text: medicine and healthcare13951352GPT-5.4 Mini
LMArena Text: legal and government14141400GPT-5.4 Mini
LMArena Text: business and finance14181388GPT-5.4 Mini
FACTS Benchmark SuiteNot measured63.3%Only GPT-6 Luna measured
Neither model has a result on the other 6 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for GPT-5.4 Mini and GPT-6 Luna
BenchmarkGPT-5.4 MiniGPT-6 LunaLeader
Design Arena: websitesNot measured1271Only GPT-6 Luna measured
Design Arena: UI componentsNot measured1295Only GPT-6 Luna measured
Design Arena: game devNot measured1257Only GPT-6 Luna measured
Design Arena: data vizNot measured1216Only GPT-6 Luna measured
Design Arena: 3DNot measured1218Only GPT-6 Luna measured
Design Arena: all code categoriesNot measured1270Only GPT-6 Luna measured
Design Arena: SVGNot measured1252Only GPT-6 Luna measured
Design Arena: ASCII artNot measured1153Only GPT-6 Luna measured
LiveBench designNot measured82.5%Only GPT-6 Luna measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index215
General benchmarks for GPT-5.4 Mini and GPT-6 Luna
BenchmarkGPT-5.4 MiniGPT-6 LunaLeader
Vals IndexNot measured52.3%Only GPT-6 Luna measured
LiveBench data analysisNot measured73.4%Only GPT-6 Luna measured
Public Benefits Bench (Vals AI)Not measured57.6%Only GPT-6 Luna measured
SAGE (Vals AI)50.8%48.1%GPT-5.4 Mini
MedScribe (Vals AI)Not measured83.7%Only GPT-6 Luna measured
Vals Multimodal Index54.2%Not measuredOnly GPT-5.4 Mini measured
IFBench73.3%Not measuredOnly GPT-5.4 Mini measured
Long context reasoning (AA-LCR)77.0%83.3%GPT-6 Luna
DTBench80.0%90.1%GPT-6 Luna
LMCA40.8%44.5%GPT-6 Luna
Furniture assemblyNot measured44.2%Only GPT-6 Luna measured
LMArena Text14121389GPT-5.4 Mini
LMArena Text: instruction following14051408GPT-6 Luna
LMArena Text: creative writing13701363GPT-5.4 Mini
LMArena Vision12451216GPT-5.4 Mini
LMArena Text: English14121393GPT-5.4 Mini
LMArena Text: non-English14051381GPT-5.4 Mini
LMArena Text: Chinese14461427GPT-5.4 Mini
LMArena Text: German14081376GPT-5.4 Mini
LMArena Text: Japanese13751369GPT-5.4 Mini
LMArena Text: Korean13701359GPT-5.4 Mini
LMArena Text: French14411408GPT-5.4 Mini
LMArena Text: Spanish14051391GPT-5.4 Mini
LMArena Text: Russian14171392GPT-5.4 Mini
LMArena Text: Polish14151383GPT-5.4 Mini
LMArena Text: multi-turn14291392GPT-5.4 Mini
LMArena Text: longer queries14081408GPT-6 Luna
LMArena Text: writing and language13931384GPT-5.4 Mini
LMArena Text: entertainment and media13731364GPT-5.4 Mini
LMArena Vision: English12441204GPT-5.4 Mini
LMArena Vision: Chinese12861266GPT-5.4 Mini
LMArena Vision: reading text12531225GPT-5.4 Mini
LMArena Vision: humor1235Not measuredOnly GPT-5.4 Mini measured
LMArena Vision: recognizing things1218Not measuredOnly GPT-5.4 Mini measured
LMArena Vision: creative writing12221205GPT-5.4 Mini
Neither model has a result on the other 11 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-5.4 Mini and GPT-6 Luna
BenchmarkGPT-5.4 MiniGPT-6 LunaLeader
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 Mini$0.0030Fits in one request
GPT-6 Luna$0.0003Fits in one request

GPT-6 Luna costs less

Repository review

50K input + 3K output tokens

GPT-5.4 Mini$0.051Fits in one request
GPT-6 Luna$0.0065Fits in one request

GPT-6 Luna costs less

Agent loop

200K input + 10K output tokens

GPT-5.4 Mini$0.195Fits in one request
GPT-6 Luna$0.025Fits in one request

GPT-6 Luna 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 Mini and GPT-6 Luna
SpecificationOpenAI GPT-5.4 MiniOpenAI GPT-6 Luna
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedMarch 17, 2026September 22, 2026
Context window400K1.05M
Input $/Mtok$0.75$0.10
Output $/Mtok$4.50$0.50
Coding index35.857.3
Independent measurements behind it55
Cost per solved task$0.70Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.4 Mini better than GPT-6 Luna for coding?

Pick GPT-6 Luna for coding: it scores 57.3 on the Vibe Coding Index against 35.8 for GPT-5.4 Mini. Pick GPT-5.4 Mini for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Which is cheaper, GPT-5.4 Mini or GPT-6 Luna?

GPT-5.4 Mini costs $0.75 per million input tokens and $4.50 per million output tokens; GPT-6 Luna costs $0.10 and $0.50. Cost per solved task is known for GPT-5.4 Mini only.

Which has the bigger context window, GPT-5.4 Mini or GPT-6 Luna?

GPT-6 Luna, with 1.05M tokens against 400K.

How many benchmarks is the GPT-5.4 Mini vs GPT-6 Luna comparison based on?

67 benchmarks have a result for both models as of October 22, 2026. GPT-5.4 Mini's coding index rests on 5 independent benchmarks and GPT-6 Luna's on 5. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/gpt-5-4-mini-vs-gpt-6-luna" title="GPT-5.4 Mini vs GPT-6 Luna, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/gpt-5-4-mini-vs-gpt-6-luna">LLMBenchmark.ai, GPT-5.4 Mini vs GPT-6 Luna</a></p>