Enter opens the highlighted result. Esc closes.

GLM 5.1 vs GPT-5.6 Luna

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

GLM 5.1Z.ai
Coding
49.2
Overall
57.5
Output $/M
$4.40
41
GPT-5.6 LunaOpenAI
Coding
58.0
Overall
61.6
Output $/M
$1.20
31
vs boards won of 73 shared, 1 tied

GLM 5.1 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 49.2 for GLM 5.1.

Pick GLM 5.1 for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
73
GLM 5.1 only
16
GPT-5.6 Luna only
46
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 5.1 49.2 from 3 benchmarks, GPT-5.6 Luna 58.0 from 6 benchmarks.
Widest category
Math, 18.1 points apart on average over 5 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): GLM 5.1 31.5% against GPT-5.6 Luna 77.1%, 45.6 points apart on a 0 to 100 scale.
Output price
GLM 5.1 $4.40 against GPT-5.6 Luna $1.20 per million output tokens, 3.7x apart.
Context window
GLM 5.1 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 5.1BarsGPT-5.6 LunaTies
Coding2111 tie
Intelligence02
Agentic work14
Reasoning45
Math23
Knowledge73
Web design71
General182
All shared boards41311 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index211
Coding benchmarks for GLM 5.1 and GPT-5.6 Luna
BenchmarkGLM 5.1GPT-5.6 LunaLeader
LiveBench codingNot measured73.6%Only GPT-5.6 Luna measured
LMArena WebDev15081518GPT-5.6 Luna
AA Coding Index55.871.4GPT-5.6 Luna
LiveCodeBench (Vals AI)81.4%Not measuredOnly GLM 5.1 measured
SWE-bench Verified (Vals AI)76.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)31.5%77.1%GPT-5.6 Luna
Code migration (Vals AI)25.8%44.5%GPT-5.6 Luna
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)Not measured61.8%Only GPT-5.6 Luna measured
Terminal-Bench 2.1 (Vals AI)56.9%79.0%GPT-5.6 Luna
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
SciCode44.8%53.6%GPT-5.6 Luna
Terminal-Bench Hard (Artificial Analysis run)43.2%Not measuredOnly GLM 5.1 measured
FrontierCodeNot measured39.8%Only GPT-5.6 Luna measured
WeirdML57.1%60.9%GPT-5.6 Luna
ALE-Bench887.11667.4GPT-5.6 Luna
LMArena Text: coding14851466GLM 5.1
LMArena Text: software and IT14841463GLM 5.1
LMArena WebDev: React15051508GPT-5.6 Luna
LMArena WebDev: HTML15081520GPT-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 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GLM 5.1 and GPT-5.6 Luna
BenchmarkGLM 5.1GPT-5.6 LunaLeader
AA Intelligence Index26.137.3GPT-5.6 Luna
Epoch Capabilities Index149.8156.5GPT-5.6 Luna
Agentic workLike-for-likePublic boards, shown as published, kept out of the index14
Agentic work benchmarks for GLM 5.1 and GPT-5.6 Luna
BenchmarkGLM 5.1GPT-5.6 LunaLeader
AA Agentic Index23.942.1GPT-5.6 Luna
Design Arena: agents building web apps1175Not measuredOnly GLM 5.1 measured
Design Arena: agents building full-stack apps1167Not measuredOnly GLM 5.1 measured
Design Arena: agents building mobile apps1162Not measuredOnly GLM 5.1 measured
Design Arena: agents building Android apps1182Not measuredOnly GLM 5.1 measured
Design Arena: agents building Godot games1053Not measuredOnly GLM 5.1 measured
Design Arena: agents building games1164Not measuredOnly GLM 5.1 measured
Design Arena: HTML slides1120Not measuredOnly GLM 5.1 measured
Design Arena: PowerPoint slides1163Not measuredOnly GLM 5.1 measured
Design Arena: spreadsheets1315Not measuredOnly GLM 5.1 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)44.8%55.0%GPT-5.6 Luna
Tax Agent Bench (Vals AI)Not measured24.8%Only GPT-5.6 Luna measured
Legal Research Bench (Vals AI)27.9%36.5%GPT-5.6 Luna
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 Telecom97.7%Not measuredOnly GLM 5.1 measured
APEX-Agents40.9%43.0%GPT-5.6 Luna
BALROGNot measured45.6%Only GPT-5.6 Luna measured
Vending-Bench 2$5,634$4,095GLM 5.1
Neither model has a result on the other 16 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index45
Reasoning benchmarks for GLM 5.1 and GPT-5.6 Luna
BenchmarkGLM 5.1GPT-5.6 LunaLeader
GPQA Diamond84.5%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)86.8%91.1%GPT-5.6 Luna
Humanity's Last Exam (Artificial Analysis run)30.1%39.5%GPT-5.6 Luna
GPQA Diamond (Epoch AI run)89.9%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
SimpleBench55.1%46.8%GLM 5.1
Chess puzzles20.0%43.0%GPT-5.6 Luna
Mystery game puzzlesNot measured21.0%Only GPT-5.6 Luna measured
LMArena Text: hard prompts14731451GLM 5.1
LMArena Text: expert14781478GLM 5.1
LMArena Text: hard prompts in English14821460GLM 5.1
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 index23
Math benchmarks for GLM 5.1 and GPT-5.6 Luna
BenchmarkGLM 5.1GPT-5.6 LunaLeader
AIME91.9%Not measuredOnly GLM 5.1 measured
OTIS Mock AIME93.3%98.3%GPT-5.6 Luna
FrontierMath, tiers 1 to 336.8%82.1%GPT-5.6 Luna
FrontierMath, tier 4Not measured61.0%Only GPT-5.6 Luna measured
ProofBench22.2%60.0%GPT-5.6 Luna
LMArena Text: math14731459GLM 5.1
LMArena Text: mathematical work14701470GLM 5.1
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index73
Knowledge benchmarks for GLM 5.1 and GPT-5.6 Luna
BenchmarkGLM 5.1GPT-5.6 LunaLeader
MMLU Pro86.9%86.0%GLM 5.1
LegalBench (Vals AI)84.4%84.0%GLM 5.1
CaseLaw (Vals AI)51.5%Not measuredOnly GLM 5.1 measured
CorpFin (Vals AI)64.5%64.2%GLM 5.1
TaxEval (Vals AI)71.2%76.2%GPT-5.6 Luna
MortgageTax (Vals AI)Not measured67.3%Only GPT-5.6 Luna measured
MedCode (Vals AI)41.6%42.4%GPT-5.6 Luna
SimpleQA Verified34.0%41.0%GPT-5.6 Luna
LMArena Text: science14781433GLM 5.1
LMArena Text: medicine and healthcare14741399GLM 5.1
LMArena Text: legal and government14651446GLM 5.1
LMArena Text: business and finance14521439GLM 5.1
FACTS Benchmark SuiteNot measured35.0%Only GPT-5.6 Luna measured
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index71
Web design benchmarks for GLM 5.1 and GPT-5.6 Luna
BenchmarkGLM 5.1GPT-5.6 LunaLeader
Design Arena: websites12901255GLM 5.1
Design Arena: UI components12921248GLM 5.1
Design Arena: game dev12651194GLM 5.1
Design Arena: data viz13661211GLM 5.1
Design Arena: 3D13361121GLM 5.1
Design Arena: all code categories12681231GLM 5.1
Design Arena: SVG12181194GLM 5.1
Design Arena: ASCII art11411142GPT-5.6 Luna
LiveBench designNot measured76.0%Only GPT-5.6 Luna measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index182
General benchmarks for GLM 5.1 and GPT-5.6 Luna
BenchmarkGLM 5.1GPT-5.6 LunaLeader
LiveBench data analysisNot measured78.0%Only GPT-5.6 Luna measured
Public Benefits Bench (Vals AI)61.8%61.2%GLM 5.1
SAGE (Vals AI)Not measured44.2%Only GPT-5.6 Luna measured
MedScribe (Vals AI)72.3%84.4%GPT-5.6 Luna
Vals Multimodal IndexNot measured69.1%Only GPT-5.6 Luna measured
IFBench76.3%Not measuredOnly GLM 5.1 measured
Long context reasoning (AA-LCR)73.7%83.7%GPT-5.6 Luna
DTBenchNot measured89.1%Only GPT-5.6 Luna measured
LMCANot measured48.5%Only GPT-5.6 Luna measured
Surface Evolver BenchNot measured61.9%Only GPT-5.6 Luna measured
Furniture assemblyNot measured42.5%Only GPT-5.6 Luna measured
ExploitBench18.1%Not measuredOnly GLM 5.1 measured
LMArena Text14631431GLM 5.1
LMArena Text: instruction following14531437GLM 5.1
LMArena Text: creative writing14531396GLM 5.1
LMArena VisionNot measured1257Only GPT-5.6 Luna measured
LMArena Text: English14761441GLM 5.1
LMArena Text: non-English14481417GLM 5.1
LMArena Text: Chinese15151470GLM 5.1
LMArena Text: German14671455GLM 5.1
LMArena Text: Japanese14351415GLM 5.1
LMArena Text: Korean14241415GLM 5.1
LMArena Text: French14701458GLM 5.1
LMArena Text: Spanish14681446GLM 5.1
LMArena Text: Russian14541427GLM 5.1
LMArena Text: Polish14491405GLM 5.1
LMArena Text: multi-turn14731434GLM 5.1
LMArena Text: longer queries14671436GLM 5.1
LMArena Text: writing and language14541419GLM 5.1
LMArena Text: entertainment and media14421402GLM 5.1
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 10 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5.1 and GPT-5.6 Luna
BenchmarkGLM 5.1GPT-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 5.1$0.0036Fits 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 5.1$0.083Fits 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 5.1$0.324Exceeds 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 5.1 and GPT-5.6 Luna
SpecificationZ.ai GLM 5.1OpenAI GPT-5.6 Luna
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedApril 7, 2026July 9, 2026
Context window205K1.05M
Input $/Mtok$1.40$0.20
Output $/Mtok$4.40$1.20
Coding index49.258.0
Independent measurements behind it36
Cost per solved task$0.60$0.04
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.1 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 49.2 for GLM 5.1. Pick GLM 5.1 for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

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

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

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

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

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

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