Gemma 4 31B vs gpt-oss-20b
For a typical chat reply (2,000 tokens in, 400 out), Gemma 4 31B costs 4.4× as much as gpt-oss-20b: $0.316 against $0.072 per 1,000 requests at list price on 2026-09-28.
4.4× the price of gpt-oss-20b, per chat reply
| Gemma 4 31B | gpt-oss-20b | |
|---|---|---|
| Input, per 1M tokens | $0.09 | $0.018 |
| Output, per 1M tokens | $0.34 | $0.09 |
| Context window | 262K | 131K |
| Classification or routing (600 tokens in, 10 out), per 1,000 | $0.0574 | $0.0117 |
| Chat reply (2,000 in, 400 out), per 1,000 | $0.316 | $0.072 |
| Retrieval-augmented answer (8,000 in, 500 out), per 1,000 | $0.89 | $0.189 |
| Confidence signal | yes | yes |
| Tool calling | yes | yes |
| Banking test, right of 400 | 304 | 313 |
The marked cell in each row is the cheaper, larger or more accurate of the two.
Which one should carry your traffic?
If gpt-oss-20b answers your requests as well as Gemma 4 31B, moving that traffic saves 77% on chat-shaped requests. Averages cannot tell you whether it does for your requests. gpt-oss-20b reports how sure it is of each word, so Gimbix can let it answer first and hand unsure cases to Gemma 4 31B.
Gemma 4 31B profilegpt-oss-20b profileGemma 4 31B against every modelgpt-oss-20b against every model
Other comparisons
Close matches on price
Measure gpt-oss-20b against Gemma 4 31B on your requests
A pilot runs both on a copy of your traffic and shows where they differ.
Request an AI cost review