openai/gpt-5.2-codex vs openai/gpt-oss-20b
For 100,000 calls of 2,000 in and 500 out, openai/gpt-oss-20b is cheaper: $8.10 a month at OpenRouter, against $1,050.00 for openai/gpt-5.2-codex at OpenRouter — 129.6× the cost.
Cheapest on each
openai/gpt-5.2-codex
$1,050.00/mo
cheapest, at OpenRouter — $1.75 in, $14 out per million
openai/gpt-oss-20b
$8.10/mo
cheapest, at OpenRouter — $0.018 in, $0.09 out per million
Aligned facts
Same rows on both sides, including the ones we cannot fill.
| Attribute | openai/gpt-5.2-codex | openai/gpt-oss-20b |
|---|---|---|
| Context window | 400K | 131K |
| Accepts | Aa · IMG | Aa |
| Sellers | 1 | 1 |
| Cheapest input rate | $1.75 / M | $0.018 / M |
| Cached input rate | $0.175 / M | $0.009 / M |
No quality or benchmark row appears here. We hold no throughput or accuracy measurement for either model, and a cost-per-quality figure built from a lab’s own claim would look authoritative and mean nothing.
Cost for this workload — both models, every seller
100,000 calls a month · 2,000 input and 500 output tokens each. Sellers of both models lead, cheapest combined cost first.
| Seller | openai/gpt-5.2-codex /mo | openai/gpt-oss-20b /mo |
|---|---|---|
| OpenRouter | $1,050.002026-10-27 | $8.102026-10-27 |
Cheapest tier per seller, this workload only. In and output rates, and a cached prefix, are broken out in the cost calculator.