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