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.
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
| Specification | ||
|---|---|---|
| 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.00 | Not listed |
| Context window | 1M tokens | 2M tokens |
| Epoch Capabilities Index | 152.7 | 152.3 |
| Release date | Aug 14, 2026 | Feb 17, 2026 |
| Open weights | Yes | No |
| Capabilities | tools, reasoning, json, vision, video | tools, 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.
| Workload | Difference | ||
|---|---|---|---|
| Default workload2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached | $555.90 | $873.00 | Qwen3.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.00 | Qwen3.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.50 | Qwen3.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.
| Benchmark | ||
|---|---|---|
| Epoch Capabilities IndexECI | 152.7 | 152.3 |
| ARC-AGI-2% solved | 42.36 | 65.14 |
Go further
Full pages: Qwen3.8 27B and Grok 4.20. Or use the interactive comparison to pick any models.