Comparison · Qwen and Z.ai

Qwen3.8 Max (0902) vs GLM 5.3 Prime

Listed API prices of Qwen3.8 Max (0902) and GLM 5.3 Prime turned into the cost of the same three standard tasks and what each provider’s API documentation says about features that break on a switch. Output quality, speed and answer length are not compared.

Calculated impact cost per task and per month

For an L2 task (deep analysis over a 50,000-token document, 3 steps), Qwen3.8 Max (0902) costs $0.336 and GLM 5.3 Prime $0.472 at the prices listed in the United States on , so Qwen3.8 Max (0902) is 28.8 % less than GLM 5.3 Prime, counting visible output only, without cache discounts or hidden reasoning.

Head to head: Qwen3.8 Max (0902): $0.336; GLM 5.3 Prime: $0.472 Calculated from published rates Input and visible output are priced separately for the same task. 159,000 input + 3,000 visible output tokens per task. No cache discount; hidden reasoning excluded.
Head to head.Calculated from published rates Input and visible output are priced separately for the same task. 159,000 input + 3,000 visible output tokens per task. No cache discount; hidden reasoning excluded. Open image · Explore the chart · Measured Lab · CC BY 4.0
TaskQwen3.8 Max (0902), per taskGLM 5.3 Prime, per taskQwen3.8 Max (0902), per monthGLM 5.3 Prime, per monthQwen3.8 Max (0902) vs GLM 5.3 Prime, per task
L1Micro-task (classification or strict JSON extraction)$0.0042per L1 task$0.0060per L1 task$61.32per month$87.02per month−29.5 %
L2Deep analysis over a 50,000-token document$0.336per L2 task$0.472per L2 task$4,905.60per month$6,885.36per month−28.8 %
L3Agentic coding loop, 15 steps$2.69per L3 task$3.76per L3 task$39,201.00per month$54,933.96per month−28.6 %

Calculated Per month: 20 tasks an hour around the clock, 730 hours.

Prices USD per 1M tokens

PriceQwen3.8 Max (0902)GLM 5.3 Prime
Input, per 1M tokens$2.00$2.80
Output, per 1M tokens$6.00$8.80
Price fromProvider's price list · source page PublishedOpenRouter · source page (data) Published
Read · the United States · the United States
Context window1,000,000 tokens1,000,000 tokens

What can I use it for? six common tasks, our data checks

Quality on your task: not measured by Measured Lab yet.

TaskQwen3.8 Max (0902)GLM 5.3 Prime
Answer customer messagesFits on price and context—
Pull data from invoices and documents with strict JSON and page imagesFits on price and context—
Summarize documents and meetingsFits on price and context—
Translate contentFits on price and context—
Chat assistant on your websiteFits on price and context—
Write and review code with tool callsFits on price and context—
Tasks it fits6 of 6—

Checks of our data for six common tasks: a published price, a context window and answer length for the task and, where the task needs them, strict JSON output, page images and tool calls; prices, cost a month and terms for each model on its model card. GLM 5.3 Prime is not in the model picker. Compare models for your own task in the model picker.

What breaks when you switch Published provider documentation

Moving from Qwen to Z.ai, 1 of the 5 features may not carry over, by each provider’s documentation:

  • Parallel tool calls — Qwen: yes; Z.ai: not stated. An agent built around several calls per turn gets one call per turn: more round trips, more input tokens, slower runs.

Moving from Z.ai to Qwen: every feature that Z.ai’s documentation lists as supported is also listed as supported by Qwen.

Feature of the APIQwenZ.ai
Strict JSON schemasPartlyPartly
Parallel tool callsYesNot stated
Streamed tool argumentsNot statedPartly
Reasoning with toolsYesYes
Cache covers tool definitionsNot statedNot stated

What each provider’s own API documentation says, read ; “not stated” is not the same as “no”. Quotes and sources: what breaks when you switch AI APIs.

All model comparisons · How we check prices

Explore the numbers

Calculated from published rates

The same work. Two bills.

Input and visible output are priced separately for the same task.

$0.136L2 task differenceGLM 5.3 Prime more
$1,979.76L2 monthly differenceAssumption: 20 tasks/hour × 730 hours
Qwen3.8 Max (0902)$0.336GLM 5.3 Prime$0.472$0.00$0.20$0.40$0.60Qwen3.8 Max (0902)$0.336GLM 5.3 Prime$0.472$0.00$0.20$0.40$0.60
Fresh inputVisible output

159,000 input + 3,000 visible output tokens per task. No cache discount; hidden reasoning excluded.

GLM 5.3 Prime costs $0.136 more per task.

Qwen3.8 Max (0902)$0.0042GLM 5.3 Prime$0.0060$0.00$0.002$0.004$0.006Qwen3.8 Max (0902)$0.0042GLM 5.3 Prime$0.0060$0.00$0.002$0.004$0.006
Fresh inputVisible output

1,500 input + 200 visible output tokens per task. No cache discount; hidden reasoning excluded.

GLM 5.3 Prime costs $0.0018 more per task.

Qwen3.8 Max (0902)$2.69GLM 5.3 Prime$3.76$0$1$2$3$4Qwen3.8 Max (0902)$2.69GLM 5.3 Prime$3.76$0$1$2$3$4
Fresh inputVisible output

1,315,500 input + 9,000 visible output tokens per task. No cache discount; hidden reasoning excluded.

GLM 5.3 Prime costs $1.08 more per task.

Qwen3.8 Max (0902)$4,905.60GLM 5.3 Prime$6,885.36$0$2,000$4,000$6,000$8,000Qwen3.8 Max (0902)$4,905.60GLM 5.3 Prime$6,885.36$0$2,000$4,000$6,000$8,000
Fresh inputVisible output

Assumption: 20 tasks/hour × 730 hours = 14,600 tasks/month.

Observed · United States

Wait and streaming speed

The same short request. Each route must have successful answers on at least two dates.

Qwen3.8 Max (0902)

Direct API · Alibaba Cloud · 110 answers on 22 dates.

First answer token 1.50 s
Observed range · dot = median0.01.02.03.04.0secondsObserved range · dot = median0.01.02.03.04.0seconds

Qwen3.8 Max (0902) · 1.50 s median; observed range 1.11 s–3.19 s.

Output speed 43.2 tokens/s
Observed range · dot = median020406080tokens/sObserved range · dot = median020406080tokens/s

Qwen3.8 Max (0902) · 43.2 tokens/s median; observed range 24.5 tokens/s–59.9 tokens/s.

Observed · independent medians

More output than the answer shows.

Visible answer560204060Visible answer560204060
Unknown · Hidden reasoning

The API did not report this count; Unknown is not zero.

Calculated median cost per request: $0.00108.

Visible outputHidden reasoning

Visible output and hidden reasoning are independent medians and are not added together. Request cost is the median of individually priced requests. Hidden reasoning is billed at the output rate.

Published context window: 1,000,000 tokens.

GLM 5.3 Prime

Collecting

No route for this model has passed the publication threshold.

Published context window: 1,000,000 tokens.

Published · provider documentation

What changes when you switch

A matching feature list does not measure migration quality. “Not stated” is not the same as “No”.

Feature of the APIQwenZ.ai
Strict JSON schemasPartlyPartly
Parallel tool callsYesNot stated
Streamed tool argumentsNot statedPartly
Reasoning with toolsYesYes
Cache covers tool definitionsNot statedNot stated

Qwen → Z.ai: Review Parallel tool calls.

Z.ai → Qwen: The documented supported features carry over.

Read the dated documentation and feature details.

Sources: this page; published model prices (data (JSON)); task assumptions (data (JSON)). Published prices · Observed responses · Calculated scenarios · Assumptions stated with each chart.