google/gemma-4-31B-it-Ultra vs openai/gpt-oss-120b
openai/gpt-oss-120b is 1.2× cheaper for input tokens: google/gemma-4-31B-it-Ultra costs $0.27 per M and openai/gpt-oss-120b costs $0.22 per M. openai/gpt-oss-120b is 1.3× cheaper for output tokens: google/gemma-4-31B-it-Ultra costs $0.76 per M and openai/gpt-oss-120b costs $0.59 per M. Both read up to 131,072 tokens of context. google/gemma-4-31B-it-Ultra accepts image, text; openai/gpt-oss-120b accepts text.
| google/gemma-4-31B-it-Ultra | openai/gpt-oss-120b | |
|---|---|---|
| Model id | google/gemma-4-31B-it-Ultra | openai/gpt-oss-120b |
| Input | $0.27 per M | $0.22 per M |
| Output | $0.76 per M | $0.59 per M |
| Context length | 131,072 tokens | 131,072 tokens |
| Accepts | image, text | text |
| Produces | text | text |
| Served by | deepinfra | sambanova |
Prices are the providers' list prices per million tokens, as of . Both run on your own provider key through one OpenAI-compatible endpoint, with no fee on the tokens.