gpt-oss-20b is 45.8× cheaper per million tokens (blended). Gemini 3.8 Flash has the larger context window (1,048,576 vs 131,072 tokens, 8.0×). gpt-oss-20b is open-weights; the other is not.

Gemini 3.8 Flash vs gpt-oss-20b

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

Gemini 3.8 Flash

Google · google__gemini-3.8-flash

gpt-oss-20bopen

OpenAI · openai__gpt-oss-20b

Identity

Fieldgoogle__gemini-3.8-flashopenai__gpt-oss-20b
ProviderGoogleOpenAI
Sluggoogle__gemini-3.8-flashopenai__gpt-oss-20b
Statuslivelive
Open weightsNoYes
License——
HuggingFace—openai/gpt-oss-20b

Quality

Fieldgoogle__gemini-3.8-flashopenai__gpt-oss-20b
Quality index (0–100)——

Cost

Fieldgoogle__gemini-3.8-flashopenai__gpt-oss-20b
Input $ / 1M tokens$0.82$0.02
Cached input $ / 1M$0.08$0.01
Output $ / 1M tokens$4.13$0.09

Context

Fieldgoogle__gemini-3.8-flashopenai__gpt-oss-20b
Max context tokens1,048,576131,072
Max output tokens65,53632,768

Modalities

Fieldgoogle__gemini-3.8-flashopenai__gpt-oss-20b
Inputtext, image, video, file, audiotext
Outputtexttext