gpt-oss-120b is 5.6× cheaper per million tokens (blended). Gemma 4 31B has the larger context window (262,144 vs 131,072 tokens, 2.0×).

Gemma 4 31B vs gpt-oss-120b

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

Gemma 4 31Bopen

Google · google__gemma-4-31b-it

gpt-oss-120bopen

OpenAI · openai__gpt-oss-120b

Identity

Fieldgoogle__gemma-4-31b-itopenai__gpt-oss-120b
ProviderGoogleOpenAI
Sluggoogle__gemma-4-31b-itopenai__gpt-oss-120b
Statuslivelive
Open weightsYesYes
License——
HuggingFacegoogle/gemma-4-31B-itopenai/gpt-oss-120b

Quality

Fieldgoogle__gemma-4-31b-itopenai__gpt-oss-120b
Quality index (0–100)——

Cost

Fieldgoogle__gemma-4-31b-itopenai__gpt-oss-120b
Input $ / 1M tokens$0.20$0.02
Cached input $ / 1M—$0.02
Output $ / 1M tokens$0.40$0.09

Context

Fieldgoogle__gemma-4-31b-itopenai__gpt-oss-120b
Max context tokens262,144131,072
Max output tokens16,38465,536

Modalities

Fieldgoogle__gemma-4-31b-itopenai__gpt-oss-120b
Inputimage, text, videotext
Outputtexttext