Skip to content

GPT-6 Luna vs GLM-5.2

Compare GPT-6 Luna from OpenAI and GLM-5.2 from Z.ai (Zhipu) on price, context length and features. Use both through one Yunshu Router API key.

OpenAI
Z.ai (Zhipu)
Good for
Fast and cheap · Bulk and batch jobs · Images and screenshots
Coding agents · Hard reasoning · Long context
Overview
Model ID
gpt-6-luna
glm-5.2
Availability
Available
Available
Context length
266K tokens
128K tokens
Reasoning
Can be switched off
Can be switched off
Reads
text, image, file
text
Writes
text
text
Tool calling
Yes
Yes
Price per 1M tokens
Input
$0.1151
$0.8584
Output
$0.5757
$3.0045
Cached input
$0.0115
$0.2146
Model
OpenAI
Z.ai (Zhipu)
Good forFast and cheap · Bulk and batch jobs · Images and screenshotsCoding agents · Hard reasoning · Long context
Overview
Model IDgpt-6-lunaglm-5.2
AvailabilityAvailableAvailable
Context length266K tokens128K tokens
ReasoningCan be switched offCan be switched off
Readstext, image, filetext
Writestexttext
Tool callingYesYes
Price per 1M tokens
Input$0.1151$0.8584
Output$0.5757$3.0045
Cached input$0.0115$0.2146

Analysis

GPT-6 Luna vs GLM-5.2: side-by-side summary

GPT-6 Luna and GLM-5.2 are both available through the Yunshu Router API, so switching between them is a change of model ID, not a new integration.

GPT-6 Luna, from OpenAI, has a 266K-token context window and is priced at $0.1151 per 1M input tokens and $0.5757 per 1M output tokens on Yunshu Router (prices as of 2026-11-21).

GLM-5.2, from Z.ai (Zhipu), has a 128K-token context window and is priced at $0.8584 per 1M input tokens and $3.0045 per 1M output tokens on Yunshu Router (prices as of 2026-11-21).

AttributeGPT-6 LunaGLM-5.2
Context window266K tokens128K tokens
Price$0.1151 / M input, $0.5757 / M output$0.8584 / M input, $3.0045 / M output
Provided byOpenAIZ.ai (Zhipu)
Model pageGPT-6 Luna details, setup and pricingGLM-5.2 details, setup and pricing

USD per 1M tokens, prices as of 2026-11-21. Input types are what each model's maker lists. "Highlight best" marks the lowest price and the largest context among the models shown, in green.

More comparisons

Compare any models →