Enter opens the highlighted result. Esc closes.

GPT-5.6 Luna vs Phi 4

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

GPT-5.6 LunaOpenAI
Coding
58.0
Overall
37.3
Output $/M
$1.20
35
Phi 4Microsoft
Coding
No data
Overall
5.9
Output $/M
$0.14
0
vs boards won of 35 shared

Decision reading

Only GPT-5.6 Luna has a coding score, 58.0 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 8.6x less.

Shared results
35
GPT-5.6 Luna only
81
Phi 4 only
10
Like-for-like categories
7 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-5.6 Luna 58.0 from 6 benchmarks, Phi 4 not benchmarked.
Widest category
Math, 52.0 points apart on average over 3 shared benchmarks.
Widest single gap
OTIS Mock AIME: GPT-5.6 Luna 98.3% against Phi 4 13.8%, 84.6 points apart on a 0 to 100 scale.
Output price
GPT-5.6 Luna $1.20 against Phi 4 $0.14 per million output tokens, 8.6x apart.
Context window
GPT-5.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-5.6 LunaBarsPhi 4Ties
Coding20
Intelligence20
Agentic work10
Reasoning60
Math30
Knowledge40
General170
All shared boards350
CodingLike-for-likeSix of these boards feed the Vibe Coding Index20
Coding benchmarks for GPT-5.6 Luna and Phi 4
BenchmarkGPT-5.6 LunaPhi 4Leader
LiveBench coding73.6%Not measuredOnly GPT-5.6 Luna measured
LMArena WebDev1518Not measuredOnly GPT-5.6 Luna measured
AA Coding Index71.4Not measuredOnly GPT-5.6 Luna measured
SWE-bench Verified (Vals AI)93.0%Not measuredOnly GPT-5.6 Luna measured
Terminal-Bench 4 (Vals AI)11.6%Not measuredOnly GPT-5.6 Luna measured
Vibe Code Bench (Vals AI)77.1%Not measuredOnly GPT-5.6 Luna measured
Code migration (Vals AI)44.5%Not measuredOnly GPT-5.6 Luna measured
ProgramBench (Vals AI)0.0%Not measuredOnly GPT-5.6 Luna measured
IOI (Vals AI)61.8%Not measuredOnly GPT-5.6 Luna measured
Terminal-Bench 2.1 (Vals AI)79.0%Not measuredOnly GPT-5.6 Luna measured
Vibe Code Bench 1-100 (Vals AI)22.6%Not measuredOnly GPT-5.6 Luna measured
SkillsBench (Vals AI)60.5%Not measuredOnly GPT-5.6 Luna measured
CyberBench (Vals AI)73.6%Not measuredOnly GPT-5.6 Luna measured
LiveCodeBench (Artificial Analysis run)Not measured23.1%Only Phi 4 measured
SciCode53.6%Not measuredOnly GPT-5.6 Luna measured
Terminal-Bench Hard (Artificial Analysis run)Not measured3.8%Only Phi 4 measured
FrontierCode39.8%Not measuredOnly GPT-5.6 Luna measured
WeirdML60.9%Not measuredOnly GPT-5.6 Luna measured
ALE-Bench1667.4Not measuredOnly GPT-5.6 Luna measured
LMArena Text: coding14661231GPT-5.6 Luna
LMArena Text: software and IT14631228GPT-5.6 Luna
LMArena WebDev: React1508Not measuredOnly GPT-5.6 Luna measured
LMArena WebDev: HTML1520Not measuredOnly GPT-5.6 Luna measured
LMArena WebDev: from an image1517Not measuredOnly GPT-5.6 Luna measured
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GPT-5.6 Luna and Phi 4
BenchmarkGPT-5.6 LunaPhi 4Leader
AA Intelligence Index37.35.9GPT-5.6 Luna
Epoch Capabilities Index156.5130.5GPT-5.6 Luna
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GPT-5.6 Luna and Phi 4
BenchmarkGPT-5.6 LunaPhi 4Leader
AA Agentic Index42.1Not measuredOnly GPT-5.6 Luna measured
LiveBench research51.0%Not measuredOnly GPT-5.6 Luna measured
LiveBench browser68.0%Not measuredOnly GPT-5.6 Luna measured
LiveBench long agentic30.4%Not measuredOnly GPT-5.6 Luna measured
SREBench (Vals AI)1.5%Not measuredOnly GPT-5.6 Luna measured
Finance Agent (Vals AI)55.0%Not measuredOnly GPT-5.6 Luna measured
Tax Agent Bench (Vals AI)24.8%Not measuredOnly GPT-5.6 Luna measured
Legal Research Bench (Vals AI)36.5%Not measuredOnly GPT-5.6 Luna measured
Excel Modeling Benchmark (Vals AI)67.1%Not measuredOnly GPT-5.6 Luna measured
BioMysteryBench (Vals AI)61.5%Not measuredOnly GPT-5.6 Luna measured
Terminal-Bench-Science (Vals AI)0.0%Not measuredOnly GPT-5.6 Luna measured
Vals Science Index25.3%Not measuredOnly GPT-5.6 Luna measured
τ²-Bench TelecomNot measured0.0%Only Phi 4 measured
APEX-Agents43.0%Not measuredOnly GPT-5.6 Luna measured
BALROG45.6%11.6%GPT-5.6 Luna
Vending-Bench 2$4,095Not measuredOnly GPT-5.6 Luna measured
Neither model has a result on the other 23 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index60
Reasoning benchmarks for GPT-5.6 Luna and Phi 4
BenchmarkGPT-5.6 LunaPhi 4Leader
GPQA Diamond91.7%Not measuredOnly GPT-5.6 Luna measured
LiveBench reasoning85.6%Not measuredOnly GPT-5.6 Luna measured
MysteryMechanism (Vals AI)14.4%Not measuredOnly GPT-5.6 Luna measured
MMMU Pro (Vals AI)85.0%Not measuredOnly GPT-5.6 Luna measured
GPQA Diamond (Artificial Analysis run)91.1%57.5%GPT-5.6 Luna
Humanity's Last Exam (Artificial Analysis run)39.5%3.8%GPT-5.6 Luna
GPQA Diamond (Epoch AI run)91.6%56.1%GPT-5.6 Luna
ARC-AGI88.0%Not measuredOnly GPT-5.6 Luna measured
ARC-AGI-259.5%Not measuredOnly GPT-5.6 Luna measured
SimpleBench46.8%Not measuredOnly GPT-5.6 Luna measured
Chess puzzles43.0%Not measuredOnly GPT-5.6 Luna measured
Mystery game puzzles21.0%Not measuredOnly GPT-5.6 Luna measured
LMArena Text: hard prompts14511220GPT-5.6 Luna
LMArena Text: expert14781203GPT-5.6 Luna
LMArena Text: hard prompts in English14601230GPT-5.6 Luna
LMArena Vision: diagrams1273Not measuredOnly GPT-5.6 Luna measured
LMArena Vision: homework1282Not measuredOnly GPT-5.6 Luna measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for GPT-5.6 Luna and Phi 4
BenchmarkGPT-5.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.3%13.8%GPT-5.6 Luna
FrontierMath, tiers 1 to 382.1%Not measuredOnly GPT-5.6 Luna measured
FrontierMath, tier 461.0%Not measuredOnly GPT-5.6 Luna measured
ProofBench60.0%Not measuredOnly GPT-5.6 Luna measured
MATH level 5Not measured64.9%Only Phi 4 measured
LMArena Text: math14591246GPT-5.6 Luna
LMArena Text: mathematical work14701254GPT-5.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-5.6 Luna and Phi 4
BenchmarkGPT-5.6 LunaPhi 4Leader
MMLU Pro86.0%Not measuredOnly GPT-5.6 Luna measured
LegalBench (Vals AI)84.0%Not measuredOnly GPT-5.6 Luna measured
CorpFin (Vals AI)64.2%Not measuredOnly GPT-5.6 Luna measured
TaxEval (Vals AI)76.2%Not measuredOnly GPT-5.6 Luna measured
MortgageTax (Vals AI)67.3%Not measuredOnly GPT-5.6 Luna measured
MedCode (Vals AI)42.4%Not measuredOnly GPT-5.6 Luna measured
MMLU Pro (Artificial Analysis run)Not measured71.4%Only Phi 4 measured
SimpleQA Verified41.0%Not measuredOnly GPT-5.6 Luna measured
MMLUNot measured84.8%Only Phi 4 measured
LMArena Text: science14331206GPT-5.6 Luna
LMArena Text: medicine and healthcare13991202GPT-5.6 Luna
LMArena Text: legal and government14461241GPT-5.6 Luna
LMArena Text: business and finance14391199GPT-5.6 Luna
Neither model has a result on the other 4 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for GPT-5.6 Luna and Phi 4
BenchmarkGPT-5.6 LunaPhi 4Leader
Design Arena: websites1256Not measuredOnly GPT-5.6 Luna measured
Design Arena: UI components1250Not measuredOnly GPT-5.6 Luna measured
Design Arena: game dev1195Not measuredOnly GPT-5.6 Luna measured
Design Arena: data viz1211Not measuredOnly GPT-5.6 Luna measured
Design Arena: 3D1121Not measuredOnly GPT-5.6 Luna measured
Design Arena: all code categories1231Not measuredOnly GPT-5.6 Luna measured
Design Arena: SVG1194Not measuredOnly GPT-5.6 Luna measured
Design Arena: ASCII art1144Not measuredOnly GPT-5.6 Luna measured
LiveBench design76.0%Not measuredOnly GPT-5.6 Luna measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index170
General benchmarks for GPT-5.6 Luna and Phi 4
BenchmarkGPT-5.6 LunaPhi 4Leader
LiveBench data analysis78.0%Not measuredOnly GPT-5.6 Luna measured
Public Benefits Bench (Vals AI)61.2%Not measuredOnly GPT-5.6 Luna measured
SAGE (Vals AI)44.2%Not measuredOnly GPT-5.6 Luna measured
MedScribe (Vals AI)84.4%Not measuredOnly GPT-5.6 Luna measured
Vals Multimodal Index69.1%Not measuredOnly GPT-5.6 Luna measured
IFBenchNot measured23.5%Only Phi 4 measured
Long context reasoning (AA-LCR)83.7%0.0%GPT-5.6 Luna
DTBench89.1%Not measuredOnly GPT-5.6 Luna measured
LMCA48.5%Not measuredOnly GPT-5.6 Luna measured
Creative writing (Lech Mazur)Not measured62.6%Only Phi 4 measured
Surface Evolver Bench61.9%Not measuredOnly GPT-5.6 Luna measured
Furniture assembly42.5%Not measuredOnly GPT-5.6 Luna measured
LMArena Text14311217GPT-5.6 Luna
LMArena Text: instruction following14371201GPT-5.6 Luna
LMArena Text: creative writing13961181GPT-5.6 Luna
LMArena Vision1257Not measuredOnly GPT-5.6 Luna measured
LMArena Text: English14411231GPT-5.6 Luna
LMArena Text: non-English14171197GPT-5.6 Luna
LMArena Text: Chinese14701212GPT-5.6 Luna
LMArena Text: German14551222GPT-5.6 Luna
LMArena Text: Japanese14151158GPT-5.6 Luna
LMArena Text: Korean14151151GPT-5.6 Luna
LMArena Text: French14581224GPT-5.6 Luna
LMArena Text: Spanish14461234GPT-5.6 Luna
LMArena Text: Russian14271209GPT-5.6 Luna
LMArena Text: Polish1405Not measuredOnly GPT-5.6 Luna measured
LMArena Text: multi-turn14341206GPT-5.6 Luna
LMArena Text: longer queries14361217GPT-5.6 Luna
LMArena Text: writing and language14191198GPT-5.6 Luna
LMArena Text: entertainment and media14021162GPT-5.6 Luna
LMArena Vision: English1263Not measuredOnly GPT-5.6 Luna measured
LMArena Vision: Chinese1294Not measuredOnly GPT-5.6 Luna measured
LMArena Vision: reading text1264Not measuredOnly GPT-5.6 Luna measured
LMArena Vision: humor1190Not measuredOnly GPT-5.6 Luna measured
LMArena Vision: creative writing1257Not measuredOnly GPT-5.6 Luna measured
LMArena Document1457Not measuredOnly GPT-5.6 Luna measured
Neither model has a result on the other 10 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-5.6 Luna and Phi 4
BenchmarkGPT-5.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-5.6 Luna$0.0008Fits in one request
Phi 4$0.0001Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

GPT-5.6 Luna$0.014Fits in one request
Phi 4$0.0039Exceeds the context window

Phi 4 costs less

Agent loop

200K input + 10K output tokens

GPT-5.6 Luna$0.052Fits 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-5.6 Luna and Phi 4
SpecificationOpenAI GPT-5.6 LunaMicrosoft Phi 4
MakerOpenAIMicrosoft
WeightsNo public weights listedOpen weights
ReleasedJuly 9, 2026January 10, 2025
Context window1.05M16K
Input $/Mtok$0.20$0.07
Output $/Mtok$1.20$0.14
Coding index58.0Not benchmarked
Independent measurements behind it60
Cost per solved task$0.04Not computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Only GPT-5.6 Luna has a coding score, 58.0 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 8.6x less.

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

GPT-5.6 Luna costs $0.20 per million input tokens and $1.20 per million output tokens; Phi 4 costs $0.07 and $0.14. Cost per solved task is known for GPT-5.6 Luna only.

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

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

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

35 benchmarks have a result for both models as of October 21, 2026. GPT-5.6 Luna's coding index rests on 6 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