Skip to content

GPT-5.1 Codex mini vs gpt-oss-20b

gpt-oss-20b is cheaper on output tokens, while GPT-5.1 Codex mini offers a larger context window. Choose GPT-5.1 Codex mini or gpt-oss-20b based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGPT-5.1 Codex minigpt-oss-20b
ProviderOpenRouterOpenRouter
Input / 1M tokens$0.25$0.03
Output / 1M tokens$2.00$0.14
Context window400K131K
Parameters21B
Open weightsNoYes
ReleasedNov 2025Aug 2025

FAQ

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.