Skip to content

Phi-4-mini-instruct vs gpt-oss-20b

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

SpecPhi-4-mini-instructgpt-oss-20b
ProviderWeights & BiasesWeights & Biases
Input / 1M tokens$0.08$0.05
Output / 1M tokens$0.35$0.20
Context window128K131K
Parameters21B
Open weightsYesNo
ReleasedDec 2024Aug 2025

FAQ

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