Enter opens the highlighted result. Esc closes.

GPT-6 Luna vs Phi 4

Updated October 21, 2026. 33 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

GPT-6 LunaOpenAI
Coding
57.3
Overall
38.1
Output $/M
$0.50
33
Phi 4Microsoft
Coding
No data
Overall
5.9
Output $/M
$0.14
0
vs boards won of 33 shared

Decision reading

Only GPT-6 Luna has a coding score, 57.3 on the Vibe Coding Index; Phi 4 has none, so the two cannot be ranked on coding.

Phi 4 has the edge where output tokens cost 3.6x less.

Shared results
33
GPT-6 Luna only
69
Phi 4 only
12
Like-for-like categories
6 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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-6 Luna 57.3 from 5 benchmarks, Phi 4 not benchmarked.
Widest category
Math, 47.0 points apart on average over 3 shared benchmarks.
Widest single gap
OTIS Mock AIME: GPT-6 Luna 98.9% against Phi 4 13.8%, 85.1 points apart on a 0 to 100 scale.
Output price
GPT-6 Luna $0.50 against Phi 4 $0.14 per million output tokens, 3.6x apart.
Context window
GPT-6 Luna takes 1.05M tokens, Phi 4 16K.

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-6 LunaBarsPhi 4Ties
Coding20
Intelligence20
Reasoning50
Math30
Knowledge40
General170
All shared boards330
CodingLike-for-likeSix of these boards feed the Vibe Coding Index20
Coding benchmarks for GPT-6 Luna and Phi 4
BenchmarkGPT-6 LunaPhi 4Leader
LiveBench coding84.5%Not measuredOnly GPT-6 Luna measured
LMArena WebDev1578Not measuredOnly GPT-6 Luna measured
Terminal-Bench 4 (Vals AI)13.6%Not measuredOnly GPT-6 Luna measured
Vibe Code Bench (Vals AI)81.7%Not measuredOnly GPT-6 Luna measured
Code migration (Vals AI)42.5%Not measuredOnly GPT-6 Luna measured
ProgramBench (Vals AI)0.5%Not measuredOnly GPT-6 Luna measured
IOI (Vals AI)55.6%Not measuredOnly GPT-6 Luna measured
Terminal-Bench 2.1 (Vals AI)73.0%Not measuredOnly GPT-6 Luna measured
SWE-bench Multimodal (Vals AI)37.5%Not measuredOnly GPT-6 Luna measured
CyberBench (Vals AI)76.3%Not measuredOnly GPT-6 Luna measured
LiveCodeBench (Artificial Analysis run)Not measured23.1%Only Phi 4 measured
SciCode54.6%Not measuredOnly GPT-6 Luna measured
Terminal-Bench Hard (Artificial Analysis run)Not measured3.8%Only Phi 4 measured
FrontierCode42.4%Not measuredOnly GPT-6 Luna measured
ALE-Bench1576.9Not measuredOnly GPT-6 Luna measured
LMArena Text: coding14371231GPT-6 Luna
LMArena Text: software and IT14231228GPT-6 Luna
LMArena WebDev: React1573Not measuredOnly GPT-6 Luna measured
LMArena WebDev: HTML1595Not measuredOnly GPT-6 Luna measured
LMArena WebDev: from an image1571Not measuredOnly GPT-6 Luna measured
Neither model has a result on the other 18 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GPT-6 Luna and Phi 4
BenchmarkGPT-6 LunaPhi 4Leader
AA Intelligence Index38.15.9GPT-6 Luna
Epoch Capabilities Index156.8130.5GPT-6 Luna
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index19 boards, none shared
Agentic work benchmarks for GPT-6 Luna and Phi 4
BenchmarkGPT-6 LunaPhi 4Leader
Design Arena: agents building web apps1191Not measuredOnly GPT-6 Luna measured
Design Arena: agents building full-stack apps1158Not measuredOnly GPT-6 Luna measured
Design Arena: agents building mobile apps1127Not measuredOnly GPT-6 Luna measured
LiveBench research43.5%Not measuredOnly GPT-6 Luna measured
LiveBench browser72.0%Not measuredOnly GPT-6 Luna measured
LiveBench long agentic48.1%Not measuredOnly GPT-6 Luna measured
SREBench (Vals AI)2.7%Not measuredOnly GPT-6 Luna measured
Finance Agent (Vals AI)49.9%Not measuredOnly GPT-6 Luna measured
Tax Agent Bench (Vals AI)19.9%Not measuredOnly GPT-6 Luna measured
Legal Research Bench (Vals AI)30.3%Not measuredOnly GPT-6 Luna measured
Harvey's Legal Agent Benchmark (Vals AI)4.2%Not measuredOnly GPT-6 Luna measured
Excel Modeling Benchmark (Vals AI)68.5%Not measuredOnly GPT-6 Luna measured
BioMysteryBench (Vals AI)61.5%Not measuredOnly GPT-6 Luna measured
Terminal-Bench-Science (Vals AI)4.3%Not measuredOnly GPT-6 Luna measured
Vals Science Index28.4%Not measuredOnly GPT-6 Luna measured
τ²-Bench TelecomNot measured0.0%Only Phi 4 measured
APEX-Agents44.3%Not measuredOnly GPT-6 Luna measured
BALROGNot measured11.6%Only Phi 4 measured
SpireClimb0.0%Not measuredOnly GPT-6 Luna measured
Neither model has a result on the other 20 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index50
Reasoning benchmarks for GPT-6 Luna and Phi 4
BenchmarkGPT-6 LunaPhi 4Leader
LiveBench reasoning81.8%Not measuredOnly GPT-6 Luna measured
MysteryMechanism (Vals AI)19.4%Not measuredOnly GPT-6 Luna measured
GPQA Diamond (Artificial Analysis run)Not measured57.5%Only Phi 4 measured
Humanity's Last Exam (Artificial Analysis run)38.5%3.8%GPT-6 Luna
GPQA Diamond (Epoch AI run)90.5%56.1%GPT-6 Luna
ARC-AGI86.7%Not measuredOnly GPT-6 Luna measured
ARC-AGI-259.3%Not measuredOnly GPT-6 Luna measured
Chess puzzles36.0%Not measuredOnly GPT-6 Luna measured
Mystery game puzzles7.0%Not measuredOnly GPT-6 Luna measured
LMArena Text: hard prompts14101220GPT-6 Luna
LMArena Text: expert14421203GPT-6 Luna
LMArena Text: hard prompts in English14101230GPT-6 Luna
LMArena Vision: diagrams1245Not measuredOnly GPT-6 Luna measured
LMArena Vision: homework1261Not measuredOnly GPT-6 Luna measured
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for GPT-6 Luna and Phi 4
BenchmarkGPT-6 LunaPhi 4Leader
AA Math IndexNot measured18.0Only Phi 4 measured
AIME 2025 (Artificial Analysis run)Not measured18.0%Only Phi 4 measured
OTIS Mock AIME98.9%13.8%GPT-6 Luna
FrontierMath, tiers 1 to 378.9%Not measuredOnly GPT-6 Luna measured
FrontierMath, tier 456.1%Not measuredOnly GPT-6 Luna measured
ProofBench64.0%Not measuredOnly GPT-6 Luna measured
MATH level 5Not measured64.9%Only Phi 4 measured
LMArena Text: math14091246GPT-6 Luna
LMArena Text: mathematical work14271254GPT-6 Luna
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
Knowledge benchmarks for GPT-6 Luna and Phi 4
BenchmarkGPT-6 LunaPhi 4Leader
MedCode (Vals AI)44.7%Not measuredOnly GPT-6 Luna measured
MMLU Pro (Artificial Analysis run)Not measured71.4%Only Phi 4 measured
SimpleQA Verified41.4%Not measuredOnly GPT-6 Luna measured
MMLUNot measured84.8%Only Phi 4 measured
LMArena Text: science13861206GPT-6 Luna
LMArena Text: medicine and healthcare13521202GPT-6 Luna
LMArena Text: legal and government14001241GPT-6 Luna
LMArena Text: business and finance13881199GPT-6 Luna
Neither model has a result on the other 9 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for GPT-6 Luna and Phi 4
BenchmarkGPT-6 LunaPhi 4Leader
Design Arena: websites1272Not measuredOnly GPT-6 Luna measured
Design Arena: UI components1298Not measuredOnly GPT-6 Luna measured
Design Arena: game dev1261Not measuredOnly GPT-6 Luna measured
Design Arena: data viz1215Not measuredOnly GPT-6 Luna measured
Design Arena: 3D1217Not measuredOnly GPT-6 Luna measured
Design Arena: all code categories1272Not measuredOnly GPT-6 Luna measured
Design Arena: SVG1250Not measuredOnly GPT-6 Luna measured
Design Arena: ASCII art1155Not measuredOnly GPT-6 Luna measured
LiveBench design82.5%Not measuredOnly GPT-6 Luna measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index170
General benchmarks for GPT-6 Luna and Phi 4
BenchmarkGPT-6 LunaPhi 4Leader
Vals Index52.3%Not measuredOnly GPT-6 Luna measured
LiveBench data analysis73.4%Not measuredOnly GPT-6 Luna measured
Public Benefits Bench (Vals AI)57.6%Not measuredOnly GPT-6 Luna measured
SAGE (Vals AI)48.1%Not measuredOnly GPT-6 Luna measured
MedScribe (Vals AI)83.7%Not measuredOnly GPT-6 Luna measured
IFBenchNot measured23.5%Only Phi 4 measured
Long context reasoning (AA-LCR)83.3%0.0%GPT-6 Luna
DTBench90.1%Not measuredOnly GPT-6 Luna measured
LMCA44.5%Not measuredOnly GPT-6 Luna measured
Creative writing (Lech Mazur)Not measured62.6%Only Phi 4 measured
Furniture assembly44.2%Not measuredOnly GPT-6 Luna measured
LMArena Text13891217GPT-6 Luna
LMArena Text: instruction following14081201GPT-6 Luna
LMArena Text: creative writing13631181GPT-6 Luna
LMArena Vision1216Not measuredOnly GPT-6 Luna measured
LMArena Text: English13931231GPT-6 Luna
LMArena Text: non-English13811197GPT-6 Luna
LMArena Text: Chinese14271212GPT-6 Luna
LMArena Text: German13761222GPT-6 Luna
LMArena Text: Japanese13691158GPT-6 Luna
LMArena Text: Korean13591151GPT-6 Luna
LMArena Text: French14081224GPT-6 Luna
LMArena Text: Spanish13911234GPT-6 Luna
LMArena Text: Russian13921209GPT-6 Luna
LMArena Text: Polish1383Not measuredOnly GPT-6 Luna measured
LMArena Text: multi-turn13921206GPT-6 Luna
LMArena Text: longer queries14081217GPT-6 Luna
LMArena Text: writing and language13841198GPT-6 Luna
LMArena Text: entertainment and media13641162GPT-6 Luna
LMArena Vision: English1204Not measuredOnly GPT-6 Luna measured
LMArena Vision: Chinese1266Not measuredOnly GPT-6 Luna measured
LMArena Vision: reading text1225Not measuredOnly GPT-6 Luna measured
LMArena Vision: creative writing1205Not measuredOnly GPT-6 Luna measured
Neither model has a result on the other 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-6 Luna and Phi 4
BenchmarkGPT-6 LunaPhi 4Leader
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-6 Luna$0.0003Fits in one request
Phi 4$0.0001Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

GPT-6 Luna$0.0065Fits in one request
Phi 4$0.0039Exceeds the context window

Phi 4 costs less

Agent loop

200K input + 10K output tokens

GPT-6 Luna$0.025Fits in one request
Phi 4$0.015Exceeds the context window

Phi 4 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-6 Luna and Phi 4
SpecificationOpenAI GPT-6 LunaMicrosoft Phi 4
MakerOpenAIMicrosoft
WeightsNo public weights listedOpen weights
ReleasedSeptember 22, 2026January 10, 2025
Context window1.05M16K
Input $/Mtok$0.10$0.07
Output $/Mtok$0.50$0.14
Coding index57.3Not benchmarked
Independent measurements behind it50
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-6 Luna better than Phi 4 for coding?

Only GPT-6 Luna has a coding score, 57.3 on the Vibe Coding Index; Phi 4 has none, so the two cannot be ranked on coding. Phi 4 has the edge where output tokens cost 3.6x less.

Which is cheaper, GPT-6 Luna or Phi 4?

GPT-6 Luna costs $0.10 per million input tokens and $0.50 per million output tokens; Phi 4 costs $0.07 and $0.14. Cost per solved task is known for neither of them.

Which has the bigger context window, GPT-6 Luna or Phi 4?

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

How many benchmarks is the GPT-6 Luna vs Phi 4 comparison based on?

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

Compare next