Qwen 2.5 Coder 7 B vs GPT OSS 20 B: cost comparison
Prices updated 2026-10-27 · computed from live provider data
Short answer: Qwen 2.5 Coder 7 B is cheaper on a
3:1 input/output blend — $0.015 per million tokens versus
$0.028, a 47% difference.
GPT OSS 20 B offers the larger context window at 131,072 tokens, against 32,768 for Qwen 2.5 Coder 7 B.
Head to head
| Qwen 2.5 Coder 7 B | GPT OSS 20 B | |
|---|---|---|
| Input, per 1M tokens | $0.010 | $0.015 |
| Output, per 1M tokens | $0.030 | $0.070 |
| Blended 3:1, per 1M | $0.015 | $0.028 |
| Context window | 32,768 | 131,072 |
| Vendor | nebius | darkbloom |
Monthly cost at real volumes
| Workload (input / output) | Qwen 2.5 Coder 7 B | GPT OSS 20 B |
|---|---|---|
| 1M in / 250K out | $0.018 | $0.032 |
| 10M in / 2.5M out | $0.175 | $0.320 |
| 100M in / 25M out | $1.75 | $3.20 |
Which should you pick?
Pick GPT OSS 20 B when you need the longer context window (131,072 vs 32,768 tokens). Pick Qwen 2.5 Coder 7 B when price per token dominates your workload — high-volume classification, extraction, or batch summarisation.