whichllmmodel
Back to Dashboard
Google

Gemini 3.1 Pro

VS
Google

Gemma 4 31B

✍️ Analysis by:the whichllmmodel Editorial Team|📅 Updated: June 2026

Decision Recommendation

⚖️ Editorial Verdict: In our analysis, Gemini 3.1 Pro is the premium intelligence choice, scoring 54.2% higher on coding benchmarks. However, this accuracy premium comes with a cost overhead: Gemma 4 31B is 1.0x cheaper to run. If you are building high-volume, simple chatbots or processing massive amounts of text where budget is critical, Gemma 4 31B offers excellent cost savings. For agentic reasoning, code refactoring, or complex logical tasks, the accuracy premium of Gemini 3.1 Pro fully justifies the cost.

Model Specs

Gemini 3.1 Pro

Benchmarks & Scores

Coding (swe-bench-pro)Winner (+)
54.2%
Reasoning (gpqa-diamond)Winner (+10.0%)
94.3%

Cost & Performance

Cost (per 1M tokens)
$4.50Input: $2.00 | Output: $12.00
Speed
109 tps
Context WindowLarger
1M tokens
Model Specs

Gemma 4 31B

Benchmarks & Scores

Coding (swe-bench-pro)
N/A
Reasoning (gpqa-diamond)
84.3%

Cost & Performance

Cost (per 1M tokens)
N/AInput: N/A | Output: N/A
Speed
N/A
Context Window
262.14k tokens

Frequently Asked Questions

Pricing data is currently unavailable for one or both of these models, so a direct cost comparison cannot be determined.

Speed data is not available for Gemma 4 31B, while Gemini 3.1 Pro generates 109 tokens per second.

Gemini 3.1 Pro is better for coding tasks. It scores 54.2% on coding evaluations (swe-bench-pro) compared to Gemma 4 31B which scores N/A.

Want to customize weights or add more models?

Open our interactive dashboard where you can adjust your priority levels for speed, budget, or accuracy slider-bars and watch model rankings calculate dynamically.

Customize in Interactive Dashboard