Updated March 26, 2026· Based on independent benchmark data
Google: Gemma 4 31B is 15.4x cheaper at $0.13/1M tokens vs $2.00/1M.
| Metric | Google: Gemma 4 31B | Gemini 3.1 Pro Preview |
|---|---|---|
| Intelligence Score | N/A | 57.2 |
| Coding Score | N/A | 55.5 |
| Math Score | N/A | N/A |
| Speed (tok/s) | N/A | 113 tok/s |
| Latency (TTFT) | N/A | 23.84s |
| Input Price / 1M tokens | $0.13 | $2.00 |
| Output Price / 1M tokens | $0.38 | $12 |
| Context Window | 262K | 1.0M |
| Max Output Tokens | 16K | N/A |
| Input Modalities | Image + Text + Video | Audio + File + Image + Text + Video |
Google: Gemma 4 31B is more affordable at $0.13/1M input tokens ($0.38/1M output), while Gemini 3.1 Pro Preview costs $2.00/1M input ($12/1M output). That makes Gemini 3.1 Pro Preview 15.4x 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 $12.00/month for Gemini 3.1 Pro Preview in input costs alone.
Gemini 3.1 Pro Preview offers a larger context window at 1.0M tokens compared to Google: Gemma 4 31B's 262K. This means Gemini 3.1 Pro Preview can process roughly 524 pages of text in a single request vs 131 pages for Google: Gemma 4 31B.
Choose Google: Gemma 4 31B when you need lower cost. Choose Gemini 3.1 Pro Preview when you need larger context window (1.0M).
Google: Gemma 4 31B is cheaper at $0.13/1M input tokens vs $2.00/1M for Gemini 3.1 Pro Preview.
Yes, Google: Gemma 4 31B supports image input. Gemini 3.1 Pro Preview also supports images.
Gemini 3.1 Pro Preview has a larger context window at 1.0M compared to Google: Gemma 4 31B's 262K.
Data last synced: March 26, 2026
| Output Modalities |
| Text |
| Text |
| Free Tier | No | No |