Skip to content

Qwen3.8 Max vs GLM-5.2

Compare Qwen3.8 Max from Alibaba (Qwen) and GLM-5.2 from Z.ai (Zhipu) on price, context length and features. Use both through one Yunshu Router API key.

Alibaba (Qwen)
Z.ai (Zhipu)
Good for
Hard reasoning · Long context · Images and screenshots
Coding agents · Hard reasoning · Long context
Overview
Model ID
qwen3.8-max
glm-5.2
Availability
Available
Available
Context length
256K tokens
128K tokens
Reasoning
Always on
Can be switched off
Reads
text, image, video
text
Writes
text
text
Tool calling
Yes
Yes
Price per 1M tokens
Input
$2.5813
$0.8584
Output
$7.7440
$3.0045
Cached input
$0.3227
$0.2146
Model
Alibaba (Qwen)
Z.ai (Zhipu)
Good forHard reasoning · Long context · Images and screenshotsCoding agents · Hard reasoning · Long context
Overview
Model IDqwen3.8-maxglm-5.2
AvailabilityAvailableAvailable
Context length256K tokens128K tokens
ReasoningAlways onCan be switched off
Readstext, image, videotext
Writestexttext
Tool callingYesYes
Price per 1M tokens
Input$2.5813$0.8584
Output$7.7440$3.0045
Cached input$0.3227$0.2146

Analysis

Qwen3.8 Max vs GLM-5.2: side-by-side summary

Qwen3.8 Max 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.

Qwen3.8 Max, from Alibaba (Qwen), has a 256K-token context window and is priced at $2.5813 per 1M input tokens and $7.7440 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).

AttributeQwen3.8 MaxGLM-5.2
Context window256K tokens128K tokens
Price$2.5813 / M input, $7.7440 / M output$0.8584 / M input, $3.0045 / M output
Provided byAlibaba (Qwen)Z.ai (Zhipu)
Model pageQwen3.8 Max 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 →