Navigate
AD
Track all your projects in one dashboard. Get 📊stats, 🔥heatmaps and 👀recordings in one self-hosted dashboard.
uxwizz.com

Gemini 3.1 Flash Lite (medium) vs Gemma 4 31B (medium)

The average score is effectively tied at 6.9 vs 6.9. Gemma 4 31B (medium) has the lower benchmark cost at $0.144 vs $0.153. Gemini 3.1 Flash Lite (medium) is faster at 6.27s vs 78.76s, with pass rates of 59.4% vs 66.7%.

Last updated at: 2026-11-13

Compared models

Rank
#234
Total Output Tokens
63,967
Response Time (avg)
6.27s
Total Cost
$0.153
Rank
#236
Total Output Tokens
277,315
Response Time (avg)
78.76s
Total Cost
$0.144
Recommended model Gemini 3.1 Flash Lite (medium)

It has the best score here (6.9), while responding about 12.6x faster than Gemma 4 31B (medium).

Detailed comparison

Metric Gemini 3.1 Flash Lite Gemini 3.1 Flash Lite medium Release: 2026-05-08 Gemma 4 31B Gemma 4 31B medium Release: 2026-04-02 Free Available
Score 6.9 6.9
Rank #234 #236
Reliability 10.0 10.0
Consistency 9.2 8.7
Attempts 69/69 69/69
Tests Correct
Attempt pass rate 59.4% 66.7%
Flaky tests 2 3
Total Runs 69 69
Cost per result 1.177 1.195
Total Cost $0.153 $0.144
Input Price $0.250 / 1M $0.090 / 1M
Output Price $1.500 / 1M $0.340 / 1M
Cache Read Price $0.025 / 1M $0.050 / 1M
Cache Write Price $0.084 / 1M N/A
Total Input Tokens 228,023 251,164
Output Tokens 10,779 36,112
Reasoning Tokens 53,188 241,203
Response Time (avg) 6.27s 78.76s
Response Time (max) 47.78s 437.40s
Response Time (total) 144.10s 1653.96s
Parameters ~150B total (~10B active) 30.7B
Availability Closed Open source

Cache prices apply to input tokens. Reads reuse cached prompts; writes store them and can cost extra. Output tokens use the output price.

Model generation showcase

Hamster playing table tennis

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

#234 Gemini 3.1 Flash Lite

medium
Cost
$0.003
Time
5.3s
Tokens
1,754 tok

#236 Gemma 4 31B

medium
Cost
$0.002
Time
45.7s
Tokens
2,696 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 3.1 Flash Lite 5.5 10.0 33.3% 0 3.81s 8,134 459 8,978
Gemma 4 31B 4.3 5.8 22.2% 1 219.76s 5,568 11,098 33,212

Switch Comparison Pair