Skip to content

Phi 4 vs gpt-oss-20b

Both have similar output pricing, while gpt-oss-20b offers a larger context window. Choose Phi 4 or gpt-oss-20b based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecPhi 4gpt-oss-20b
ProviderOpenRouterOpenRouter
Input / 1M tokens$0.07$0.03
Output / 1M tokens$0.14$0.14
Context window16K131K
Parameters21B
Open weightsYesYes
ReleasedJan 2025Aug 2025

FAQ

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