gpt-oss-20b is 1.3× cheaper per million tokens (blended). gpt-oss-20b has the larger context window (131,072 vs 16,384 tokens, 8.0×).

Phi 4 vs gpt-oss-20b

Live catalog fields. Best-in-row is highlighted.

Phi 4open

Microsoft · microsoft__phi-4

gpt-oss-20bopen

OpenAI · openai__gpt-oss-20b

Identity

Fieldmicrosoft__phi-4openai__gpt-oss-20b
ProviderMicrosoftOpenAI
Slugmicrosoft__phi-4openai__gpt-oss-20b
Statuslivelive
Open weightsYesYes
License——
HuggingFacemicrosoft/phi-4openai/gpt-oss-20b

Quality

Fieldmicrosoft__phi-4openai__gpt-oss-20b
Quality index (0–100)——

Cost

Fieldmicrosoft__phi-4openai__gpt-oss-20b
Input $ / 1M tokens$0.07$0.03
Cached input $ / 1M—$0.03
Output $ / 1M tokens$0.14$0.13

Context

Fieldmicrosoft__phi-4openai__gpt-oss-20b
Max context tokens16,384131,072
Max output tokens14,745117,964

Modalities

Fieldmicrosoft__phi-4openai__gpt-oss-20b
Inputtexttext
Outputtexttext