Models

Coding GLM 5.1 vs Qwen3.8 Max Preview

Output tokens cost $0.22 per million on Coding GLM 5.1 and $1.01 per million on Qwen3.8 Max Preview. Input tokens cost $0.06 per million on Coding GLM 5.1 and $0.34 per million on Qwen3.8 Max Preview. Cached input tokens are billed at $0.06 per million on Coding GLM 5.1 and $0.03 per million on Qwen3.8 Max Preview. On the LMArena coding leaderboard Coding GLM 5.1 scores 1524 and Qwen3.8 Max Preview scores 1520.

Z.AICoding GLM 5.1QwenQwen3.8 Max Preview
Z.AI logo
Coding GLM 5.1
Z.AI · text → text

Only supports OpenAI-compatible formats.

Input$0.06 /M
Output$0.22 /M
Qwen logo
Qwen3.8 Max Preview
Qwen · text, image → text

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.

Input$0.34 /M
Output$1.01 /M

Pricing & Specifications

Prices are per million tokens. Time to First Token and throughput are rolling averages measured on AIHubMix.

Coding GLM 5.1
Qwen3.8 Max Preview
Input /M
$0.06
$0.34
Output /M
$0.22
$1.01
Cache read /M
$0.06
$0.03
Context length
0
983,616
Max output
0
131,072
Time to First Token
-
2.4 s
Throughput
-
48.1 tok/s
Modalities
text
textimage
Supported Parameters
thinkingtoolsfunction callingstructured outputs
toolsfunction callingstructured outputsweblong contextthinking
API Formats
Released
-
-

Promotional prices show the discounted rate; see each model page for promotion windows.

Activity Past 30 Days

Daily traffic served through AIHubMix — how demand for each model is trending.

coding-glm-5.1qwen3.8-max-preview

Tokens / day

-

Requests / day

-

Performance Past 3 Days

Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.

coding-glm-5.1qwen3.8-max-preview

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

LMArena Benchmarks

LMArena ratings by capability (Bradley-Terry, commonly called Elo). Higher is better.

Text
coding-glm-5.1qwen3.8-max-preview
1440148015201560
Overall
14721481
Coding
15201524
Math
14761504
Hard prompts
14961506
Instruction following
14651478
Multi-turn
14871496
Creative writing
14581469
Longer query
14871497
Chinese
15161545
English
14861487
WebDev Arena
coding-glm-5.1qwen3.8-max-preview
1500158016601740
Overall
15231669
React
15201678
HTML
15201628
Gaming
17331733
Simulations
16651665
Data analytics
16141614

Source: LMArena (arena.ai) leaderboard, imported by AIHubMix. Models without published ratings are omitted per chart.

Cost calculator

Estimate your monthly bill for the same workload on each model.

Coding GLM 5.1
$6.90 /mo
Qwen3.8 Max Preview
$35.49 /mo

Monthly = daily × 30. Discounted rates applied where a promotion is active.

FAQ

Which is cheaper: Coding GLM 5.1, Qwen3.8 Max Preview?

Coding GLM 5.1: $0.22/M output tokens; Qwen3.8 Max Preview: $1.01/M. Use the cost calculator above to estimate your own workload.

How do their coding arena scores compare?

Coding GLM 5.1: 1524; Qwen3.8 Max Preview: 1520 (LMArena coding leaderboard).

What inputs and capabilities does each model support?

Coding GLM 5.1 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 Coding GLM 5.1 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.