Enter opens the highlighted result. Esc closes.

GLM 4.7 vs GPT-5.6 Luna

GPT-5.6 Luna leads GLM 4.7 on coding, 58.0 to 55.1 on the Vibe Coding Index, and GPT-5.6 Luna costs 1.8x less per output token ($1.20 vs $2.20 per million). Updated October 22, 2026; 61 benchmarks have a result for both.

GLM 4.7Z.ai
Coding
55.1
Overall
56.9
Output $/M
$2.20
12
GPT-5.6 LunaOpenAI
Coding
58.0
Overall
61.6
Output $/M
$1.20
49
vs boards won of 61 shared

GLM 4.7 or GPT-5.6 Luna: which to pick

Pick GPT-5.6 Luna for coding: it scores 58.0 on the Vibe Coding Index against 55.1 for GLM 4.7.

Pick GLM 4.7 for work measured by SimpleBench or LMArena Text: science, where it leads.

Shared results
61
GLM 4.7 only
20
GPT-5.6 Luna only
58
Like-for-like categories
8 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
GLM 4.7 55.1 from 2 benchmarks, GPT-5.6 Luna 58.0 from 6 benchmarks.
Widest category
Math, 21.2 points apart on average over 4 shared benchmarks.
Widest single gap
ProofBench: GLM 4.7 6.0% against GPT-5.6 Luna 60.0%, 54.0 points apart on a 0 to 100 scale.
Output price
GLM 4.7 $2.20 against GPT-5.6 Luna $1.20 per million output tokens, 1.8x apart.
Context window
GLM 4.7 takes 205K tokens, GPT-5.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
CategoryGLM 4.7BarsGPT-5.6 LunaTies
Coding08
Intelligence02
Agentic work01
Reasoning18
Math04
Knowledge28
Web design26
General712
All shared boards1249
CodingLike-for-likeSix of these boards feed the Vibe Coding Index08
Coding benchmarks for GLM 4.7 and GPT-5.6 Luna
BenchmarkGLM 4.7GPT-5.6 LunaLeader
LiveBench codingNot measured73.6%Only GPT-5.6 Luna measured
LMArena WebDev14351518GPT-5.6 Luna
AA Coding Index45.371.4GPT-5.6 Luna
LiveCodeBench (Vals AI)82.2%Not measuredOnly GLM 4.7 measured
SWE-bench Verified (Vals AI)69.4%93.0%GPT-5.6 Luna
Terminal-Bench 4 (Vals AI)Not measured11.6%Only GPT-5.6 Luna measured
Vibe Code Bench (Vals AI)Not measured77.1%Only GPT-5.6 Luna measured
Code migration (Vals AI)Not measured44.5%Only GPT-5.6 Luna measured
ProgramBench (Vals AI)Not measured0.0%Only GPT-5.6 Luna measured
IOI (Vals AI)Not measured61.8%Only GPT-5.6 Luna measured
Terminal-Bench 2.1 (Vals AI)Not measured79.0%Only GPT-5.6 Luna measured
Vibe Code Bench 1-100 (Vals AI)Not measured22.6%Only GPT-5.6 Luna measured
SkillsBench (Vals AI)Not measured60.5%Only GPT-5.6 Luna measured
CyberBench (Vals AI)Not measured73.6%Only GPT-5.6 Luna measured
LiveCodeBench (Artificial Analysis run)89.4%Not measuredOnly GLM 4.7 measured
SciCodeNot measured53.6%Only GPT-5.6 Luna measured
Terminal-Bench Hard (Artificial Analysis run)31.8%Not measuredOnly GLM 4.7 measured
Terminal-Bench33.4%Not measuredOnly GLM 4.7 measured
FrontierCodeNot measured39.8%Only GPT-5.6 Luna measured
WeirdMLNot measured60.9%Only GPT-5.6 Luna measured
ALE-Bench399.51667.4GPT-5.6 Luna
LMArena Text: coding14541466GPT-5.6 Luna
LMArena Text: software and IT14531463GPT-5.6 Luna
LMArena WebDev: React14201508GPT-5.6 Luna
LMArena WebDev: HTML14471520GPT-5.6 Luna
LMArena WebDev: from an imageNot measured1517Only GPT-5.6 Luna measured
SciCodeNot measured6.2%Only GPT-5.6 Luna measured
Neither model has a result on the other 12 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GLM 4.7 and GPT-5.6 Luna
BenchmarkGLM 4.7GPT-5.6 LunaLeader
AA Intelligence Index22.237.3GPT-5.6 Luna
Epoch Capabilities Index143.6156.5GPT-5.6 Luna
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GLM 4.7 and GPT-5.6 Luna
BenchmarkGLM 4.7GPT-5.6 LunaLeader
AA Agentic IndexNot measured42.1Only GPT-5.6 Luna measured
Design Arena: agents building full-stack apps1050Not measuredOnly GLM 4.7 measured
Design Arena: agents building mobile apps1105Not measuredOnly GLM 4.7 measured
Design Arena: agents building Android apps1112Not measuredOnly GLM 4.7 measured
Design Arena: agents building Godot games1058Not measuredOnly GLM 4.7 measured
LiveBench researchNot measured51.0%Only GPT-5.6 Luna measured
LiveBench browserNot measured68.0%Only GPT-5.6 Luna measured
LiveBench long agenticNot measured30.4%Only GPT-5.6 Luna measured
SREBench (Vals AI)Not measured1.5%Only GPT-5.6 Luna measured
Finance Agent (Vals AI)Not measured55.0%Only GPT-5.6 Luna measured
Tax Agent Bench (Vals AI)Not measured24.8%Only GPT-5.6 Luna measured
Legal Research Bench (Vals AI)Not measured36.5%Only GPT-5.6 Luna measured
Excel Modeling Benchmark (Vals AI)Not measured67.1%Only GPT-5.6 Luna measured
BioMysteryBench (Vals AI)Not measured61.5%Only GPT-5.6 Luna measured
Terminal-Bench-Science (Vals AI)Not measured0.0%Only GPT-5.6 Luna measured
Vals Science IndexNot measured25.3%Only GPT-5.6 Luna measured
τ²-Bench Telecom95.9%Not measuredOnly GLM 4.7 measured
APEX-AgentsNot measured43.0%Only GPT-5.6 Luna measured
BALROGNot measured45.6%Only GPT-5.6 Luna measured
Vending-Bench 2$2,377$4,095GPT-5.6 Luna
BrowseComp-Plus64.7%Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 20 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index18
Reasoning benchmarks for GLM 4.7 and GPT-5.6 Luna
BenchmarkGLM 4.7GPT-5.6 LunaLeader
GPQA Diamond80.0%91.7%GPT-5.6 Luna
LiveBench reasoningNot measured85.6%Only GPT-5.6 Luna measured
MysteryMechanism (Vals AI)Not measured14.4%Only GPT-5.6 Luna measured
MMMU Pro (Vals AI)Not measured85.0%Only GPT-5.6 Luna measured
GPQA Diamond (Artificial Analysis run)85.9%91.1%GPT-5.6 Luna
Humanity's Last Exam (Artificial Analysis run)27.4%39.5%GPT-5.6 Luna
GPQA Diamond (Epoch AI run)83.3%91.6%GPT-5.6 Luna
ARC-AGINot measured88.0%Only GPT-5.6 Luna measured
ARC-AGI-2Not measured59.5%Only GPT-5.6 Luna measured
SimpleBench47.7%46.8%GLM 4.7
Chess puzzles21.0%43.0%GPT-5.6 Luna
Mystery game puzzlesNot measured21.0%Only GPT-5.6 Luna measured
LMArena Text: hard prompts14431451GPT-5.6 Luna
LMArena Text: expert14241478GPT-5.6 Luna
LMArena Text: hard prompts in English14521460GPT-5.6 Luna
LMArena Vision: diagramsNot measured1273Only GPT-5.6 Luna measured
LMArena Vision: homeworkNot measured1282Only GPT-5.6 Luna measured
Kagi LLM BenchmarkNot measured49.1%Only 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 index04
Math benchmarks for GLM 4.7 and GPT-5.6 Luna
BenchmarkGLM 4.7GPT-5.6 LunaLeader
AIME93.3%Not measuredOnly GLM 4.7 measured
MGSM (Vals AI)88.2%Not measuredOnly GLM 4.7 measured
AA Math Index95.0Not measuredOnly GLM 4.7 measured
AIME 2025 (Artificial Analysis run)95.0%Not measuredOnly GLM 4.7 measured
OTIS Mock AIME83.3%98.3%GPT-5.6 Luna
FrontierMath, tiers 1 to 3Not measured82.1%Only GPT-5.6 Luna measured
FrontierMath, tier 4Not measured61.0%Only GPT-5.6 Luna measured
ProofBench6.0%60.0%GPT-5.6 Luna
LMArena Text: math14241459GPT-5.6 Luna
LMArena Text: mathematical work14111470GPT-5.6 Luna
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index28
Knowledge benchmarks for GLM 4.7 and GPT-5.6 Luna
BenchmarkGLM 4.7GPT-5.6 LunaLeader
MMLU Pro82.7%86.0%GPT-5.6 Luna
LegalBench (Vals AI)83.4%84.0%GPT-5.6 Luna
CaseLaw (Vals AI)54.9%Not measuredOnly GLM 4.7 measured
CorpFin (Vals AI)46.4%64.2%GPT-5.6 Luna
TaxEval (Vals AI)68.8%76.2%GPT-5.6 Luna
MortgageTax (Vals AI)Not measured67.3%Only GPT-5.6 Luna measured
MedQA (Vals AI)93.7%Not measuredOnly GLM 4.7 measured
MedCode (Vals AI)32.8%42.4%GPT-5.6 Luna
MMLU Pro (Artificial Analysis run)85.6%Not measuredOnly GLM 4.7 measured
SimpleQA Verified32.2%41.0%GPT-5.6 Luna
LMArena Text: science14571433GLM 4.7
LMArena Text: medicine and healthcare14691399GLM 4.7
LMArena Text: legal and government14441446GPT-5.6 Luna
LMArena Text: business and finance14291439GPT-5.6 Luna
FACTS Benchmark SuiteNot measured35.0%Only GPT-5.6 Luna measured
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index26
Web design benchmarks for GLM 4.7 and GPT-5.6 Luna
BenchmarkGLM 4.7GPT-5.6 LunaLeader
Design Arena: websites12251255GPT-5.6 Luna
Design Arena: UI components11961248GPT-5.6 Luna
Design Arena: game dev11881194GPT-5.6 Luna
Design Arena: data viz11951211GPT-5.6 Luna
Design Arena: 3D11901121GLM 4.7
Design Arena: all code categories12161231GPT-5.6 Luna
Design Arena: SVG11421194GPT-5.6 Luna
Design Arena: ASCII art11651142GLM 4.7
LiveBench designNot measured76.0%Only GPT-5.6 Luna measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index712
General benchmarks for GLM 4.7 and GPT-5.6 Luna
BenchmarkGLM 4.7GPT-5.6 LunaLeader
LiveBench data analysisNot measured78.0%Only GPT-5.6 Luna measured
Public Benefits Bench (Vals AI)Not measured61.2%Only GPT-5.6 Luna measured
SAGE (Vals AI)Not measured44.2%Only GPT-5.6 Luna measured
MedScribe (Vals AI)68.6%84.4%GPT-5.6 Luna
Vals Multimodal IndexNot measured69.1%Only GPT-5.6 Luna measured
IFBench67.9%Not measuredOnly GLM 4.7 measured
Long context reasoning (AA-LCR)71.0%83.7%GPT-5.6 Luna
DTBenchNot measured89.1%Only GPT-5.6 Luna measured
LMCANot measured48.5%Only GPT-5.6 Luna measured
CL-bench15.9%Not measuredOnly GLM 4.7 measured
Surface Evolver BenchNot measured61.9%Only GPT-5.6 Luna measured
Furniture assemblyNot measured42.5%Only GPT-5.6 Luna measured
CL-bench Life10.9%Not measuredOnly GLM 4.7 measured
LMArena Text14351431GLM 4.7
LMArena Text: instruction following14121437GPT-5.6 Luna
LMArena Text: creative writing14011396GLM 4.7
LMArena VisionNot measured1257Only GPT-5.6 Luna measured
LMArena Text: English14531441GLM 4.7
LMArena Text: non-English14171417GPT-5.6 Luna
LMArena Text: Chinese14951470GLM 4.7
LMArena Text: German14261455GPT-5.6 Luna
LMArena Text: Japanese14391415GLM 4.7
LMArena Text: Korean13991415GPT-5.6 Luna
LMArena Text: French14321458GPT-5.6 Luna
LMArena Text: Spanish14341446GPT-5.6 Luna
LMArena Text: Russian14231427GPT-5.6 Luna
LMArena Text: Polish14351405GLM 4.7
LMArena Text: multi-turn14461434GLM 4.7
LMArena Text: longer queries14321436GPT-5.6 Luna
LMArena Text: writing and language14111419GPT-5.6 Luna
LMArena Text: entertainment and media14001402GPT-5.6 Luna
LMArena Vision: EnglishNot measured1263Only GPT-5.6 Luna measured
LMArena Vision: ChineseNot measured1294Only GPT-5.6 Luna measured
LMArena Vision: reading textNot measured1264Only GPT-5.6 Luna measured
LMArena Vision: humorNot measured1190Only GPT-5.6 Luna measured
LMArena Vision: creative writingNot measured1257Only GPT-5.6 Luna measured
LMArena DocumentNot measured1457Only GPT-5.6 Luna measured
Neither model has a result on the other 9 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.7 and GPT-5.6 Luna
BenchmarkGLM 4.7GPT-5.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

GLM 4.7$0.0017Fits in one request
GPT-5.6 Luna$0.0008Fits in one request

GPT-5.6 Luna costs less

Repository review

50K input + 3K output tokens

GLM 4.7$0.037Fits in one request
GPT-5.6 Luna$0.014Fits in one request

GPT-5.6 Luna costs less

Agent loop

200K input + 10K output tokens

GLM 4.7$0.142Exceeds the context window
GPT-5.6 Luna$0.052Fits in one request

GPT-5.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 GLM 4.7 and GPT-5.6 Luna
SpecificationZ.ai GLM 4.7OpenAI GPT-5.6 Luna
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedDecember 22, 2025July 9, 2026
Context window205K1.05M
Input $/Mtok$0.60$0.20
Output $/Mtok$2.20$1.20
Coding index55.158.0
Independent measurements behind it26
Cost per solved task$0.29$0.04
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.7 better than GPT-5.6 Luna for coding?

Pick GPT-5.6 Luna for coding: it scores 58.0 on the Vibe Coding Index against 55.1 for GLM 4.7. Pick GLM 4.7 for work measured by SimpleBench or LMArena Text: science, where it leads.

Which is cheaper, GLM 4.7 or GPT-5.6 Luna?

GLM 4.7 costs $0.60 per million input tokens and $2.20 per million output tokens; GPT-5.6 Luna costs $0.20 and $1.20. Per solved SWE-bench Verified task, GLM 4.7 costs $0.29 and GPT-5.6 Luna $0.04.

Which has the bigger context window, GLM 4.7 or GPT-5.6 Luna?

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

How many benchmarks is the GLM 4.7 vs GPT-5.6 Luna comparison based on?

61 benchmarks have a result for both models as of October 22, 2026. GLM 4.7's coding index rests on 2 independent benchmarks and GPT-5.6 Luna's on 6. 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/glm-4-7-vs-gpt-5-6-luna" title="GLM 4.7 vs GPT-5.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/glm-4-7-vs-gpt-5-6-luna">LLMBenchmark.ai, GLM 4.7 vs GPT-5.6 Luna</a></p>