Qwen3.8 27B vs Grok 4.20

API pricing, monthly cost and benchmark scores for Qwen3.8 27B (Qwen) and Grok 4.20 (xAI), 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 $873 for Grok 4.20, 36% less. Qwen3.8 27B (152.7) and Grok 4.20 (152.3) are within half a point on the Epoch Capabilities Index, so there is no meaningful intelligence gap.

Grok 4.20 has the larger context window, 2,000,000 tokens against 1,000,000. Across the 2 benchmarks both have results for, Qwen3.8 27B leads on 1 and Grok 4.20 on 1.

Side by side

SpecificationQwen Qwen3.8 27BxAI Grok 4.20
Input price per 1M tokens$0.425$1.25
Cached input per 1M tokens$0.085$0.200
Output price per 1M tokens$2.55$2.50
Batch input / cached / output per 1M$0.160 / $0.040 / $2.00Not listed
Context window1M tokens2M tokens
Epoch Capabilities Index152.7152.3
Release dateAug 14, 2026Feb 17, 2026
Open weightsYesNo
Capabilitiestools, reasoning, json, vision, videotools, reasoning, json, vision, pdf

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 27BxAI Grok 4.20Difference
Default workload2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached$555.90$873.00Qwen3.8 27B is 36% cheaper
Input-heavy10,000 input and 300 output tokens a request, 10,000 requests a day, 40% cached$1,096.50$2,715.00Qwen3.8 27B is 60% cheaper
Output-heavy500 input and 2,000 output tokens a request, 10,000 requests a day, 0% cached$1,593.75$1,687.50Qwen3.8 27B is 6% 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 27BxAI Grok 4.20
Epoch Capabilities IndexECI152.7152.3
ARC-AGI-2% solved42.3665.14

Go further

Frequently asked questions

Is Qwen3.8 27B cheaper than Grok 4.20?
Qwen3.8 27B is cheaper. On the default workload it costs $556 a month against $873 for Grok 4.20, which is 36% less. Per 1M tokens, Qwen3.8 27B charges $0.425 for input and $2.55 for output; Grok 4.20 charges $1.25 and $2.50.
Which scores higher, Qwen3.8 27B or Grok 4.20?
Qwen3.8 27B has the higher Epoch Capabilities Index score: 152.7 for Qwen3.8 27B and 152.3 for Grok 4.20. Their confidence intervals overlap, so the difference may be noise.
Which has the larger context window?
Grok 4.20 accepts more: 2,000,000 tokens against 1,000,000. The window is a limit, not a price; you pay for the tokens you send.
How do cached input and batch pricing compare?
Cached input costs $0.085 per 1M tokens on Qwen3.8 27B and $0.200 on Grok 4.20. Batch rates: Qwen3.8 27B $0.160 in and $2.00 out; Grok 4.20 not listed.