gemma-4-31b vs gpt-oss-20b
gpt-oss-20b is 13.2× cheaper on input than gemma-4-31b.
| gemma-4-31b | gpt-oss-20b | |
|---|---|---|
| Input / 1M | $0.99 | $0.075 |
| Cached input / 1M | — | $0.037 |
| Output / 1M | $1.49 | $0.30 |
| Context window | 131K | 131K |
| Max output | 41K | 66K |
| Provider | Cerebras | Groq |
| Vision | Yes | No |
| Tool calling | Yes | Yes |
| Token count | estimated | estimated |
Which to pick
- Cheaper input: gpt-oss-20b
- Cheaper output: gpt-oss-20b
- Larger context: gemma-4-31b
List price is not production cost. Output length, cache hit rate, retries and task quality move the real number more than the headline rate does — price your own prompt on the token ledger before deciding.
Related comparisons
gemma-4-31b detail · gpt-oss-20b detail · All Cerebras pricing · All comparisons