Enter opens the highlighted result. Esc closes.

GLM 4.6 vs GPT-6 Luna

GPT-6 Luna leads GLM 4.6 on coding, 57.3 to 8.8 on the Vibe Coding Index, and GPT-6 Luna costs 4.4x less per output token ($0.50 vs $2.20 per million). Updated October 22, 2026; 44 benchmarks have a result for both.

GLM 4.6Z.ai
Coding
8.8
Overall
33.4
Output $/M
$2.20
27
GPT-6 LunaOpenAI
Coding
57.3
Overall
59.7
Output $/M
$0.50
17
vs boards won of 44 shared

GLM 4.6 or GPT-6 Luna: which to pick

Pick GPT-6 Luna for coding: it scores 57.3 on the Vibe Coding Index against 8.8 for GLM 4.6.

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

Shared results
44
GLM 4.6 only
25
GPT-6 Luna only
59
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.6 8.8 from 2 benchmarks, GPT-6 Luna 57.3 from 5 benchmarks.
Widest category
Coding, 33.6 points apart on average over 6 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): GLM 4.6 3.1% against GPT-6 Luna 81.7%, 78.6 points apart on a 0 to 100 scale.
Output price
GLM 4.6 $2.20 against GPT-6 Luna $0.50 per million output tokens, 4.4x apart.
Context window
GLM 4.6 takes 205K tokens, GPT-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.6BarsGPT-6 LunaTies
Coding24
Intelligence01
Agentic work02
Reasoning22
Math20
Knowledge40
Web design07
General171
All shared boards2717
CodingLike-for-likeSix of these boards feed the Vibe Coding Index24
Coding benchmarks for GLM 4.6 and GPT-6 Luna
BenchmarkGLM 4.6GPT-6 LunaLeader
SWE-bench Verified68.2%Not measuredOnly GLM 4.6 measured
LiveBench codingNot measured84.5%Only GPT-6 Luna measured
LMArena WebDev13411578GPT-6 Luna
AA Coding Index45.8Not measuredOnly GLM 4.6 measured
LiveCodeBench (Vals AI)81.0%Not measuredOnly GLM 4.6 measured
Terminal-Bench 4 (Vals AI)Not measured13.6%Only GPT-6 Luna measured
Vibe Code Bench (Vals AI)3.1%81.7%GPT-6 Luna
Code migration (Vals AI)Not measured42.5%Only GPT-6 Luna measured
ProgramBench (Vals AI)Not measured0.5%Only GPT-6 Luna measured
IOI (Vals AI)Not measured55.6%Only GPT-6 Luna measured
Terminal-Bench 2.1 (Vals AI)Not measured73.0%Only GPT-6 Luna measured
SWE-bench Multimodal (Vals AI)Not measured37.5%Only GPT-6 Luna measured
CyberBench (Vals AI)Not measured76.3%Only GPT-6 Luna measured
LiveCodeBench (Artificial Analysis run)69.5%Not measuredOnly GLM 4.6 measured
SciCodeNot measured54.6%Only GPT-6 Luna measured
Terminal-Bench Hard (Artificial Analysis run)28.8%Not measuredOnly GLM 4.6 measured
Terminal-Bench24.5%Not measuredOnly GLM 4.6 measured
FrontierCodeNot measured42.4%Only GPT-6 Luna measured
ALE-Bench340.81576.9GPT-6 Luna
LMArena Text: coding14491437GLM 4.6
LMArena Text: software and IT14551423GLM 4.6
LMArena WebDev: ReactNot measured1573Only GPT-6 Luna measured
LMArena WebDev: HTML13501595GPT-6 Luna
LMArena WebDev: from an imageNot measured1571Only GPT-6 Luna measured
Neither model has a result on the other 15 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.6 and GPT-6 Luna
BenchmarkGLM 4.6GPT-6 LunaLeader
AA Intelligence Index18.538.1GPT-6 Luna
Epoch Capabilities IndexNot measured156.8Only GPT-6 Luna measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for GLM 4.6 and GPT-6 Luna
BenchmarkGLM 4.6GPT-6 LunaLeader
Design Arena: agents building web appsNot measured1191Only GPT-6 Luna measured
Design Arena: agents building full-stack apps10291158GPT-6 Luna
Design Arena: agents building mobile apps10961134GPT-6 Luna
Design Arena: agents building Android apps1084Not measuredOnly GLM 4.6 measured
Design Arena: agents building Godot games1180Not measuredOnly GLM 4.6 measured
LiveBench researchNot measured43.5%Only GPT-6 Luna measured
LiveBench browserNot measured72.0%Only GPT-6 Luna measured
LiveBench long agenticNot measured48.1%Only GPT-6 Luna measured
SREBench (Vals AI)Not measured2.7%Only GPT-6 Luna measured
Finance Agent (Vals AI)Not measured49.9%Only GPT-6 Luna measured
Tax Agent Bench (Vals AI)Not measured19.9%Only GPT-6 Luna measured
Legal Research Bench (Vals AI)Not measured30.3%Only GPT-6 Luna measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured4.2%Only GPT-6 Luna measured
Excel Modeling Benchmark (Vals AI)Not measured68.5%Only GPT-6 Luna measured
BioMysteryBench (Vals AI)Not measured61.5%Only GPT-6 Luna measured
Terminal-Bench-Science (Vals AI)Not measured4.3%Only GPT-6 Luna measured
Vals Science IndexNot measured28.4%Only GPT-6 Luna measured
τ²-Bench Telecom76.9%Not measuredOnly GLM 4.6 measured
APEX-AgentsNot measured44.3%Only GPT-6 Luna measured
SpireClimbNot measured0.0%Only GPT-6 Luna measured
Berkeley Function Calling Leaderboard (BFCL)72.4%Not measuredOnly GLM 4.6 measured
BrowseComp-Plus48.2%Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 19 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index22
Reasoning benchmarks for GLM 4.6 and GPT-6 Luna
BenchmarkGLM 4.6GPT-6 LunaLeader
GPQA Diamond74.5%Not measuredOnly GLM 4.6 measured
LiveBench reasoningNot measured81.8%Only GPT-6 Luna measured
MysteryMechanism (Vals AI)Not measured19.4%Only GPT-6 Luna measured
GPQA Diamond (Artificial Analysis run)78.0%Not measuredOnly GLM 4.6 measured
Humanity's Last Exam (Artificial Analysis run)14.5%38.5%GPT-6 Luna
GPQA Diamond (Epoch AI run)Not measured90.5%Only GPT-6 Luna measured
ARC-AGINot measured86.7%Only GPT-6 Luna measured
ARC-AGI-2Not measured59.3%Only GPT-6 Luna measured
Chess puzzlesNot measured36.0%Only GPT-6 Luna measured
Mystery game puzzlesNot measured7.0%Only GPT-6 Luna measured
LMArena Text: hard prompts14401410GLM 4.6
LMArena Text: expert14321442GPT-6 Luna
LMArena Text: hard prompts in English14451410GLM 4.6
LMArena Vision: diagramsNot measured1245Only GPT-6 Luna measured
LMArena Vision: homeworkNot measured1261Only GPT-6 Luna measured
Kagi LLM Benchmark45.7%Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for GLM 4.6 and GPT-6 Luna
BenchmarkGLM 4.6GPT-6 LunaLeader
AIME92.7%Not measuredOnly GLM 4.6 measured
MGSM (Vals AI)89.8%Not measuredOnly GLM 4.6 measured
AA Math Index86.0Not measuredOnly GLM 4.6 measured
AIME 2025 (Artificial Analysis run)86.0%Not measuredOnly GLM 4.6 measured
OTIS Mock AIMENot measured98.9%Only GPT-6 Luna measured
FrontierMath, tiers 1 to 3Not measured78.9%Only GPT-6 Luna measured
FrontierMath, tier 4Not measured56.1%Only GPT-6 Luna measured
ProofBenchNot measured64.0%Only GPT-6 Luna measured
LMArena Text: math14321409GLM 4.6
LMArena Text: mathematical work14471427GLM 4.6
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
Knowledge benchmarks for GLM 4.6 and GPT-6 Luna
BenchmarkGLM 4.6GPT-6 LunaLeader
MMLU Pro82.2%Not measuredOnly GLM 4.6 measured
LegalBench (Vals AI)79.6%Not measuredOnly GLM 4.6 measured
CorpFin (Vals AI)56.8%Not measuredOnly GLM 4.6 measured
TaxEval (Vals AI)66.2%Not measuredOnly GLM 4.6 measured
MedQA (Vals AI)92.2%Not measuredOnly GLM 4.6 measured
MedCode (Vals AI)Not measured44.7%Only GPT-6 Luna measured
MMLU Pro (Artificial Analysis run)82.9%Not measuredOnly GLM 4.6 measured
SimpleQA VerifiedNot measured41.4%Only GPT-6 Luna measured
LMArena Text: science14561386GLM 4.6
LMArena Text: medicine and healthcare14551352GLM 4.6
LMArena Text: legal and government14481400GLM 4.6
LMArena Text: business and finance14161388GLM 4.6
FACTS Benchmark SuiteNot measured63.3%Only GPT-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 index07
Web design benchmarks for GLM 4.6 and GPT-6 Luna
BenchmarkGLM 4.6GPT-6 LunaLeader
Design Arena: websites11741271GPT-6 Luna
Design Arena: UI components11451295GPT-6 Luna
Design Arena: game dev11501257GPT-6 Luna
Design Arena: data viz11611216GPT-6 Luna
Design Arena: 3D11281218GPT-6 Luna
Design Arena: all code categories11651270GPT-6 Luna
Design Arena: SVG11081252GPT-6 Luna
Design Arena: ASCII artNot measured1153Only GPT-6 Luna measured
LiveBench designNot measured82.5%Only GPT-6 Luna measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index171
General benchmarks for GLM 4.6 and GPT-6 Luna
BenchmarkGLM 4.6GPT-6 LunaLeader
Vals IndexNot measured52.3%Only GPT-6 Luna measured
LiveBench data analysisNot measured73.4%Only GPT-6 Luna measured
Public Benefits Bench (Vals AI)Not measured57.6%Only GPT-6 Luna measured
SAGE (Vals AI)Not measured48.1%Only GPT-6 Luna measured
MedScribe (Vals AI)Not measured83.7%Only GPT-6 Luna measured
IFBench43.4%Not measuredOnly GLM 4.6 measured
Long context reasoning (AA-LCR)54.0%83.3%GPT-6 Luna
DTBenchNot measured90.1%Only GPT-6 Luna measured
LMCANot measured44.5%Only GPT-6 Luna measured
Furniture assemblyNot measured44.2%Only GPT-6 Luna measured
LMArena Text14401389GLM 4.6
LMArena Text: instruction following14101408GLM 4.6
LMArena Text: creative writing14121363GLM 4.6
LMArena VisionNot measured1216Only GPT-6 Luna measured
LMArena Text: English14491393GLM 4.6
LMArena Text: non-English14261381GLM 4.6
LMArena Text: Chinese14991427GLM 4.6
LMArena Text: German14471376GLM 4.6
LMArena Text: Japanese13931369GLM 4.6
LMArena Text: Korean14001359GLM 4.6
LMArena Text: French14591408GLM 4.6
LMArena Text: Spanish14361391GLM 4.6
LMArena Text: Russian14181392GLM 4.6
LMArena Text: Polish14471383GLM 4.6
LMArena Text: multi-turn14271392GLM 4.6
LMArena Text: longer queries14221408GLM 4.6
LMArena Text: writing and language14151384GLM 4.6
LMArena Text: entertainment and media14091364GLM 4.6
LMArena Vision: EnglishNot measured1204Only GPT-6 Luna measured
LMArena Vision: ChineseNot measured1266Only GPT-6 Luna measured
LMArena Vision: reading textNot measured1225Only GPT-6 Luna measured
LMArena Vision: creative writingNot measured1205Only GPT-6 Luna measured
Neither model has a result on the other 14 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.6 and GPT-6 Luna
BenchmarkGLM 4.6GPT-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.6$0.0017Fits in one request
GPT-6 Luna$0.0003Fits in one request

GPT-6 Luna costs less

Repository review

50K input + 3K output tokens

GLM 4.6$0.037Fits in one request
GPT-6 Luna$0.0065Fits in one request

GPT-6 Luna costs less

Agent loop

200K input + 10K output tokens

GLM 4.6$0.142Exceeds the context window
GPT-6 Luna$0.025Fits in one request

GPT-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.6 and GPT-6 Luna
SpecificationZ.ai GLM 4.6OpenAI GPT-6 Luna
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedSeptember 30, 2025September 22, 2026
Context window205K1.05M
Input $/Mtok$0.60$0.10
Output $/Mtok$2.20$0.50
Coding index8.857.3
Independent measurements behind it25
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.6 better than GPT-6 Luna for coding?

Pick GPT-6 Luna for coding: it scores 57.3 on the Vibe Coding Index against 8.8 for GLM 4.6. Pick GLM 4.6 for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Which is cheaper, GLM 4.6 or GPT-6 Luna?

GLM 4.6 costs $0.60 per million input tokens and $2.20 per million output tokens; GPT-6 Luna costs $0.10 and $0.50. Cost per solved task is known for neither of them.

Which has the bigger context window, GLM 4.6 or GPT-6 Luna?

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

How many benchmarks is the GLM 4.6 vs GPT-6 Luna comparison based on?

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