Updated March 26, 2026· Based on independent benchmark data
Google: Gemma 4 31B is 19.2x cheaper at $0.13/1M tokens vs $2.50/1M.
| Metric | Google: Gemma 4 31B | GPT-5.4 (xhigh) |
|---|---|---|
| Intelligence Score | N/A | 57.2 |
| Coding Score | N/A | 57.3 |
| Math Score | N/A | N/A |
| Speed (tok/s) | N/A | 77 tok/s |
| Latency (TTFT) | N/A | 181.82s |
| Input Price / 1M tokens | $0.13 | $2.50 |
| Output Price / 1M tokens | $0.38 | $15 |
| Context Window | 262K | N/A |
| Max Output Tokens | 16K | N/A |
| Input Modalities | Image + Text + Video | Text |
| Output Modalities | Text | Text |
| Free Tier | No | No |
Google: Gemma 4 31B is more affordable at $0.13/1M input tokens ($0.38/1M output), while GPT-5.4 (xhigh) costs $2.50/1M input ($15/1M output). That makes GPT-5.4 (xhigh) 19.2x more expensive per token, which can add up significantly at scale. For a typical workload of 100 requests per day at 2,000 tokens each, Google: Gemma 4 31B would cost approximately $0.78/month vs $15.00/month for GPT-5.4 (xhigh) in input costs alone.
Choose Google: Gemma 4 31B when you need lower cost.
Google: Gemma 4 31B is cheaper at $0.13/1M input tokens vs $2.50/1M for GPT-5.4 (xhigh).
Yes, Google: Gemma 4 31B supports image input. GPT-5.4 (xhigh) does not support image input.
Data last synced: March 26, 2026