LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GLM 5 vs GPT-5.6 Luna

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

GLM 5Z.ai
Coding
59.7
Overall
27.9
Output $/M
$3.20
27
GPT-5.6 LunaOpenAI
Coding
61.5
Overall
37.3
Output $/M
$1.20
32
vs boards won of 59 shared

Decision reading

GLM 5 and GPT-5.6 Luna are level for coding, 59.7 against 61.5 on the Vibe Coding Index, so price and context decide.

Pick GLM 5 when what matters is Vending-Bench 2 or SimpleBench, where it leads. Pick GPT-5.6 Luna when output tokens cost 2.7x less, or when a solved task costs $0.04 against $0.63.

Shared results
59
GLM 5 only
16
GPT-5.6 Luna only
57
Like-for-like categories
8 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
GLM 5 59.7 from 2 benchmarks, GPT-5.6 Luna 61.5 from 2 benchmarks.
Widest category
Coding, 17.4 points apart on average over 9 shared benchmarks.
Widest single gap
ARC-AGI-2: GLM 5 4.9% against GPT-5.6 Luna 59.5%, 54.7 points apart on a 0 to 100 scale.
Output price
GLM 5 $3.20 against GPT-5.6 Luna $1.20 per million output tokens, 2.7x apart.
Context window
GLM 5 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 5BarsGPT-5.6 LunaTies
Coding09
Intelligence02
Agentic work10
Reasoning37
Math03
Knowledge44
Web design53
General144
All shared boards2732
CodingLike-for-likeFour of these boards feed the Vibe Coding Index09
Coding benchmarks for GLM 5 and GPT-5.6 Luna
BenchmarkGLM 5GPT-5.6 LunaLeader
SWE-bench Verified72.8%Not measuredOnly GLM 5 measured
SWE-bench Multilingual69.7%Not measuredOnly GLM 5 measured
LiveBench codingNot measured73.6%Only GPT-5.6 Luna measured
LMArena WebDev14351518GPT-5.6 Luna
AA Coding IndexNot measured71.4Only GPT-5.6 Luna measured
LiveCodeBench (Vals AI)81.9%Not measuredOnly GLM 5 measured
SWE-bench Verified (Vals AI)71.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)23.4%77.1%GPT-5.6 Luna
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
SciCodeNot measured53.6%Only GPT-5.6 Luna measured
Terminal-Bench Hard (Artificial Analysis run)43.2%Not measuredOnly GLM 5 measured
Terminal-Bench52.4%Not measuredOnly GLM 5 measured
FrontierCodeNot measured39.8%Only GPT-5.6 Luna measured
WeirdML48.2%60.9%GPT-5.6 Luna
ALE-Bench765.61667.4GPT-5.6 Luna
LMArena Text: coding14611466GPT-5.6 Luna
LMArena Text: software and IT14601463GPT-5.6 Luna
LMArena WebDev: React14241508GPT-5.6 Luna
LMArena WebDev: HTML14501520GPT-5.6 Luna
LMArena WebDev: from an imageNot measured1517Only GPT-5.6 Luna measured
Neither model has a result on the other 11 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GLM 5 and GPT-5.6 Luna
BenchmarkGLM 5GPT-5.6 LunaLeader
AA Intelligence Index27.937.3GPT-5.6 Luna
Epoch Capabilities Index145.8156.5GPT-5.6 Luna
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GLM 5 and GPT-5.6 Luna
BenchmarkGLM 5GPT-5.6 LunaLeader
AA Agentic IndexNot measured42.1Only GPT-5.6 Luna measured
Design Arena: agents building full-stack apps1123Not measuredOnly GLM 5 measured
Design Arena: agents building mobile apps1136Not measuredOnly GLM 5 measured
Design Arena: agents building Android apps1152Not measuredOnly GLM 5 measured
Design Arena: agents building Godot games1144Not measuredOnly GLM 5 measured
Design Arena: HTML slides1148Not measuredOnly GLM 5 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 Telecom98.2%Not measuredOnly GLM 5 measured
APEX-AgentsNot measured43.0%Only GPT-5.6 Luna measured
BALROGNot measured45.6%Only GPT-5.6 Luna measured
Vending-Bench 2$4,432$4,095GLM 5
Neither model has a result on the other 18 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index37
Reasoning benchmarks for GLM 5 and GPT-5.6 Luna
BenchmarkGLM 5GPT-5.6 LunaLeader
GPQA Diamond83.3%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)82.0%91.1%GPT-5.6 Luna
Humanity's Last Exam (Artificial Analysis run)29.3%39.5%GPT-5.6 Luna
GPQA Diamond (Epoch AI run)87.8%91.6%GPT-5.6 Luna
ARC-AGI44.7%88.0%GPT-5.6 Luna
ARC-AGI-24.9%59.5%GPT-5.6 Luna
SimpleBench53.2%46.8%GLM 5
Chess puzzlesNot measured43.0%Only GPT-5.6 Luna measured
Mystery game puzzlesNot measured21.0%Only GPT-5.6 Luna measured
LMArena Text: hard prompts14521451GLM 5
LMArena Text: expert14541478GPT-5.6 Luna
LMArena Text: hard prompts in English14601460GLM 5
LMArena Vision: diagramsNot measured1273Only GPT-5.6 Luna measured
LMArena Vision: homeworkNot measured1282Only 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 index03
Math benchmarks for GLM 5 and GPT-5.6 Luna
BenchmarkGLM 5GPT-5.6 LunaLeader
AIME91.7%Not measuredOnly GLM 5 measured
OTIS Mock AIME80.0%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
ProofBenchNot measured60.0%Only GPT-5.6 Luna measured
LMArena Text: math14401459GPT-5.6 Luna
LMArena Text: mathematical work14511470GPT-5.6 Luna
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index44
Knowledge benchmarks for GLM 5 and GPT-5.6 Luna
BenchmarkGLM 5GPT-5.6 LunaLeader
MMLU Pro86.0%86.0%GPT-5.6 Luna
LegalBench (Vals AI)84.1%84.0%GLM 5
CaseLaw (Vals AI)52.5%Not measuredOnly GLM 5 measured
CorpFin (Vals AI)62.9%64.2%GPT-5.6 Luna
TaxEval (Vals AI)70.0%76.2%GPT-5.6 Luna
MortgageTax (Vals AI)Not measured67.3%Only GPT-5.6 Luna measured
MedQA (Vals AI)94.3%Not measuredOnly GLM 5 measured
MedCode (Vals AI)Not measured42.4%Only GPT-5.6 Luna measured
SimpleQA VerifiedNot measured41.0%Only GPT-5.6 Luna measured
LMArena Text: science14601433GLM 5
LMArena Text: medicine and healthcare14551399GLM 5
LMArena Text: legal and government14531446GLM 5
LMArena Text: business and finance14301439GPT-5.6 Luna
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index53
Web design benchmarks for GLM 5 and GPT-5.6 Luna
BenchmarkGLM 5GPT-5.6 LunaLeader
Design Arena: websites12471256GPT-5.6 Luna
Design Arena: UI components12301250GPT-5.6 Luna
Design Arena: game dev12341196GLM 5
Design Arena: data viz12281212GLM 5
Design Arena: 3D12291121GLM 5
Design Arena: all code categories12461231GLM 5
Design Arena: SVG11681193GPT-5.6 Luna
Design Arena: ASCII art11461144GLM 5
LiveBench designNot measured76.0%Only GPT-5.6 Luna measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index144
General benchmarks for GLM 5 and GPT-5.6 Luna
BenchmarkGLM 5GPT-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)Not measured84.4%Only GPT-5.6 Luna measured
Vals Multimodal IndexNot measured69.1%Only GPT-5.6 Luna measured
IFBench72.3%Not measuredOnly GLM 5 measured
Long context reasoning (AA-LCR)75.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
CL-bench18.7%Not measuredOnly GLM 5 measured
Surface Evolver BenchNot measured61.9%Only GPT-5.6 Luna measured
Furniture assemblyNot measured42.5%Only GPT-5.6 Luna measured
LMArena Text14461431GLM 5
LMArena Text: instruction following14281437GPT-5.6 Luna
LMArena Text: creative writing14381396GLM 5
LMArena VisionNot measured1257Only GPT-5.6 Luna measured
LMArena Text: English14581441GLM 5
LMArena Text: non-English14301417GLM 5
LMArena Text: Chinese15111470GLM 5
LMArena Text: German14471455GPT-5.6 Luna
LMArena Text: Japanese14161415GLM 5
LMArena Text: Korean14231415GLM 5
LMArena Text: French14561458GPT-5.6 Luna
LMArena Text: Spanish14541446GLM 5
LMArena Text: Russian14361427GLM 5
LMArena Text: Polish14341405GLM 5
LMArena Text: multi-turn14561434GLM 5
LMArena Text: longer queries14461436GLM 5
LMArena Text: writing and language14371419GLM 5
LMArena Text: entertainment and media14261402GLM 5
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 and GPT-5.6 Luna
BenchmarkGLM 5GPT-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$0.0026Fits 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$0.060Fits 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$0.232Exceeds 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 and GPT-5.6 Luna
SpecificationZ.ai GLM 5OpenAI GPT-5.6 Luna
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedFebruary 11, 2026July 9, 2026
Context window205K1.05M
Input $/Mtok$1.00$0.20
Output $/Mtok$3.20$1.20
Coding index59.761.5
Independent measurements behind it22
Cost per solved task$0.63$0.04
SourceOpenRouter listingOpenRouter listing

Questions

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

GLM 5 and GPT-5.6 Luna are level for coding, 59.7 against 61.5 on the Vibe Coding Index, so price and context decide. Pick GLM 5 when what matters is Vending-Bench 2 or SimpleBench, where it leads. Pick GPT-5.6 Luna when output tokens cost 2.7x less, or when a solved task costs $0.04 against $0.63.

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

GLM 5 costs $1.00 per million input tokens and $3.20 per million output tokens; GPT-5.6 Luna costs $0.20 and $1.20. Per solved SWE-bench Verified task, GLM 5 costs $0.63 and GPT-5.6 Luna $0.04.

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

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

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

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