GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow engineering standards more consistently, and complete the full development workflow from requirements to multi-platform deployment in a single task.
glm-5.2 vs qwen3.8-max-preview
Output tokens cost $1.97 per million on glm-5.2 and $1.01 per million on qwen3.8-max-preview. Input tokens cost $0.56 per million on glm-5.2 and $0.34 per million on qwen3.8-max-preview. Cached input tokens are billed at $0.14 per million on glm-5.2 and $0.03 per million on qwen3.8-max-preview. Discounted rates are shown where a promotion is active. Context windows are 1,000,000 tokens on glm-5.2 and 983,616 tokens on qwen3.8-max-preview. First-token latency measured on AIHubMix is 1.8s on glm-5.2 and 2.4s on qwen3.8-max-preview. Measured output throughput is 46.9 tokens/s on glm-5.2 and 48.1 tokens/s on qwen3.8-max-preview.
Qwen 3.8 Max Preview(Qwen3.8-Max-Preview) is the latest-generation foundation model in the Qwen family, packing 2.4T parameters and still evolving. Compared with the previous flagship Qwen 3.7 Max, it delivers major gains in core capabilities like Coding and Cowork (professional productivity), with world-leading performance on complex, long-horizon tasks such as full-stack development, data analysis, and Office workflows. Launch offer: Credits are consumed at just 20% of the standard rate, effectively 5× your usage. Limited time only.
Specs & Pricing
Prices are per million tokens. Latency and throughput are rolling averages measured on AIHubMix.
Promotional prices show the discounted rate; see each model page for promotion windows.
Usage on AIHubMix last 30 days
Daily traffic served through AIHubMix — how demand for each model is trending.
Tokens / day
Requests / day
Live Performance last 3 days
Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.
Throughput (TPS)
Latency (s)
Uptime (%)
Cost Calculator
Estimate your monthly bill for the same workload on each model.
Monthly = daily × 30. Discounted rates applied where a promotion is active.
FAQ
Which is cheaper: glm-5.2, qwen3.8-max-preview?
qwen3.8-max-preview: $1.01/M output tokens; glm-5.2: $1.97/M. Use the cost calculator above to estimate your own workload.
Which responds faster?
glm-5.2: 1.8s first-token latency measured on AIHubMix; see the live performance charts above for how each model behaves across the day.
How large is each context window?
glm-5.2 accepts 1,000,000 and qwen3.8-max-preview accepts 983,616 input tokens. Maximum output per request is 128,000 tokens on glm-5.2 and 131,072 tokens on qwen3.8-max-preview.
Which one generates tokens faster?
qwen3.8-max-preview at 48.1 tokens/s and glm-5.2 at 46.9 tokens/s, measured as output throughput on AIHubMix — a separate metric from first-token latency.
What inputs and capabilities does each model support?
glm-5.2 accepts text input and supports thinking, tool calling, function calling and structured outputs; qwen3.8-max-preview accepts text and image input and supports tool calling, function calling, structured outputs, web search, long context and thinking.
Can I call glm-5.2 and qwen3.8-max-preview with the same API key?
Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK.
Popular Comparisons
Related model match-ups readers also look at.
