Navigate
AI BENCHY
Advertise here

Google: Gemini 2.5 Flash vs Google: Gemma 4 31B

Gemma 4 31B leads on average score with 6.2 vs 6.2. Gemini 2.5 Flash has the lower benchmark cost at $0.017 vs $0.035. Gemma 4 31B is faster at 5.34s vs 6.20s, with pass rates of 43.9% vs 48.5%.

Recommended modelGemma 4 31BIt has the strongest score in this comparison (6.2) and the best overall balance of cost and response time across all 2 models.

Last updated at: 2026-07-17

Metric Gemini 2.5 Flash Gemini 2.5 Flash none Release: 2025-06-17 Gemma 4 31B Gemma 4 31B none Release: 2026-04-02 Free Available
Score 6.2 6.2
Rank #112 #109
Reliability 10.0 10.0
Consistency 9.6 9.6
Tests Correct
Attempt pass rate 43.9% 48.5%
Flaky tests 1 1
Total Runs 66 66
Cost per result 0.186 0.330
Total Cost $0.017 $0.035
Input Price $0.300 / 1M $0.220 / 1M
Output Price $2.500 / 1M $0.550 / 1M
Total Input Tokens 39,877 125,728
Output Tokens 1,890 13,317
Reasoning Tokens 0 0
Response Time (avg) 6.20s 5.34s
Response Time (max) 118.00s 29.95s
Response Time (total) 136.37s 106.82s

Hamster playing table tennis

Prompt: Create a detailed SVG illustration of a hamster playing table tennis.

#112 Gemini 2.5 Flash

none
Invalid SVG
Cost
$0.164
Time
215.5s
Tokens
65,659 tok

#109 Gemma 4 31B

none
Cost
$0.001
Time
12.8s
Tokens
795 tok

Top Models by Score

Score vs Total Cost

Response Time (avg)

Score vs Response Time (avg)

Total Output Tokens

Score vs Total Output Tokens

Category Breakdown

Coding Score Consistency Attempt pass rate Flaky tests Tests Correct Response Time (avg) Input Tokens Output Tokens Reasoning Tokens
Gemini 2.5 Flash 5.5 10.0 33.3% 0 736ms 8,122 483 0
Gemma 4 31B 5.5 10.0 33.3% 0 11.19s 8,381 735 0

Quick Compare

Switch Comparison Pair