Qwen3.8 27B vs GLM 5.2

API pricing, monthly cost and benchmark scores for Qwen3.8 27B (Qwen) and GLM 5.2 (Z.AI), side by side.

Prices checked Nov 29, 2026

The short answer

Qwen3.8 27B is the cheaper of the two on the default workload (2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached): $556 a month against $1,226 for GLM 5.2, 55% less. Qwen3.8 27B (152.7) and GLM 5.2 (153.1) are within half a point on the Epoch Capabilities Index, so there is no meaningful intelligence gap.

Both have a 1,000,000-token context window. Across the 3 benchmarks both have results for, Qwen3.8 27B leads on 2 and GLM 5.2 on 1.

Side by side

SpecificationQwen Qwen3.8 27BZ.AI GLM 5.2
Input price per 1M tokens$0.425$1.40
Cached input per 1M tokens$0.085$0.260
Output price per 1M tokens$2.55$4.40
Batch input / cached / output per 1M$0.160 / $0.040 / $2.00$0.322 / $0.109 / $0.989
Context window1M tokens1M tokens
Epoch Capabilities Index152.7153.1
Release dateAug 14, 2026Jun 16, 2026
Open weightsYesYes
Capabilitiestools, reasoning, json, vision, videotools, reasoning, json

Monthly cost for three workloads

Each row prices 30 days of traffic at standard rates. Cached input is billed at the cached rate for the share shown.

WorkloadQwen Qwen3.8 27BZ.AI GLM 5.2Difference
Default workload2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached$555.90$1,226.40Qwen3.8 27B is 55% cheaper
Input-heavy10,000 input and 300 output tokens a request, 10,000 requests a day, 40% cached$1,096.50$3,228.00Qwen3.8 27B is 66% cheaper
Output-heavy500 input and 2,000 output tokens a request, 10,000 requests a day, 0% cached$1,593.75$2,850.00Qwen3.8 27B is 44% cheaper

Benchmark by benchmark

Only benchmarks where both models have a score. Scores are as published on each benchmark; higher is better unless the benchmark page says otherwise.

BenchmarkQwen Qwen3.8 27BZ.AI GLM 5.2
Epoch Capabilities IndexECI152.7153.1
APEX-Agents% pass@147.545.2
ARC-AGI-2% solved42.3622.78

Go further

Frequently asked questions

Is Qwen3.8 27B cheaper than GLM 5.2?
Qwen3.8 27B is cheaper. On the default workload it costs $556 a month against $1,226 for GLM 5.2, which is 55% less. Per 1M tokens, Qwen3.8 27B charges $0.425 for input and $2.55 for output; GLM 5.2 charges $1.40 and $4.40.
Which scores higher, Qwen3.8 27B or GLM 5.2?
GLM 5.2 has the higher Epoch Capabilities Index score: 152.7 for Qwen3.8 27B and 153.1 for GLM 5.2. Their confidence intervals overlap, so the difference may be noise.
Which has the larger context window?
Both accept 1,000,000 tokens of context.
How do cached input and batch pricing compare?
Cached input costs $0.085 per 1M tokens on Qwen3.8 27B and $0.260 on GLM 5.2. Batch rates: Qwen3.8 27B $0.160 in and $2.00 out; GLM 5.2 $0.322 in and $0.989 out.