GLM-5.2 vs GPT-5.6 Luna: Specs & Benchmark Comparison

GLM-5.2 is developed by Zhipu AI, while GPT-5.6 Luna comes from OpenAI. GLM-5.2 was released in June 2026, and GPT-5.6 Luna followed a month later in July 2026. GLM-5.2 has a published size of about 753 billion parameters; OpenAI has not disclosed the parameter count of GPT-5.6 Luna.

The two models share 7 published benchmarks. GPT-5.6 Luna leads on 7 of them. The widest gaps are on DeepSWE 1.1, where GPT-5.6 Luna scores 67.0% against 44.0%; DeepSWE, where GPT-5.6 Luna scores 67.2% against 46.2%. Averaged across everything we track, GLM-5.2 sits at 60.9% and GPT-5.6 Luna at 51.5%.

GPT-5.6 Luna is the cheaper API at $0.20 per million input tokens and $1.20 per million output tokens, roughly 7 times cheaper than GLM-5.2 at $1.40 and $4.40. Both accept a context window of about 1M tokens. GLM-5.2 accepts text as input, while GPT-5.6 Luna accepts text and images.

CharacteristicGLM-5.2GPT-5.6 Luna
CompanyZhipu AIOpenAI
Release DateJune 16, 2026July 9, 2026
Parameters753B
MultimodalNoYes
Context (input)1.0M1.1M
Context (output)131K128K
Input Price / 1M$1.40$0.20
Output Price / 1M$4.40$1.20
Average Score60.9%51.5%
Benchmarks
DeepSWE 1.144.0%67.0%
DeepSWE46.2%67.2%
FrontierCode 1.124.5%39.8%
Toolathlon48.2%53.4%
Terminal-Bench 2.182.7%84.7%
GPQA91.0%92.3%
SWE-Bench Pro62.1%62.7%

Visual Benchmark Comparison

GLM-5.2
GPT-5.6 Luna
DeepSWE 1.10.4 vs 0.7
0.4
0.7
DeepSWE0.5 vs 0.7
0.5
0.7
FrontierCode 1.10.2 vs 0.4
0.2
0.4
Toolathlon0.5 vs 0.5
0.5
0.5
Terminal-Bench 2.10.8 vs 0.8
0.8
0.8
GPQA0.9 vs 0.9
0.9
0.9
SWE-Bench Pro0.6 vs 0.6
0.6
0.6

Verdict

GPT-5.6 Luna leads in 3 out of 4 comparison categories.

Overall Performance

Both models show comparable average scores: GLM-5.2 — 0.6, GPT-5.6 Luna — 0.5.

API Cost

GPT-5.6 Luna is 4.1x cheaper: input $0.20/1M vs $1.40/1M tokens.

Context Window

GPT-5.6 Luna supports a larger context: 1M vs 1M tokens.

Recency

GPT-5.6 Luna is newer: released 7/9/2026 vs 6/16/2026.

More About These Models

Related Comparisons

Frequently Asked Questions

Which is better for coding — GLM-5.2 or GPT-5.6 Luna?
Direct comparison on the SWE-Bench benchmark is not available. We recommend reviewing other metrics on the comparison page.
Which model is cheaper — GLM-5.2 or GPT-5.6 Luna?
GPT-5.6 Luna is cheaper for input: $0.20 per 1M tokens vs $1.40.
Which has a larger context window — GLM-5.2 or GPT-5.6 Luna?
GPT-5.6 Luna supports a larger context: 1,050,000 tokens vs 1,048,576.

The GLM-5.2 and GPT-5.6 Luna comparison is updated for 2026. Data includes benchmark results, API pricing, context window size and other specifications. For more detailed information, visit the GLM-5.2 or GPT-5.6 Luna page. See also the complete list of AI model comparisons.