Navigate
AI BENCHY
Advertise here

AI BENCHY Compare

Google: Gemma 4 31B vs OpenAI: GPT-5.4 Mini

Summary

Gemma 4 31B vs GPT-5.4 Mini benchmark comparison: Gemma 4 31B leads on average score with 6.3 vs 5.3. Gemma 4 31B has the lower benchmark cost at $0.033 vs $0.038. GPT-5.4 Mini is faster at 1.13s vs 56.55s, with pass rates of 69.8% vs 30.2%.

Recommended model: GPT-5.4 Mini - It offers the best overall trade-off: a competitive score (5.3), faster response than Gemma 4 31B, and balanced cost.

Last updated at: 2026-06-12

Metric Gemma 4 31B Gemma 4 31B medium Release: 2026-04-02 Free Available GPT-5.4 Mini GPT-5.4 Mini none Release: 2026-03-17
Score 6.3 5.3
Rank #87 #131
Reliability 10.0 10.0
Consistency 9.4 8.8
Tests Correct
Attempt pass rate 69.8% 30.2%
Flaky tests 1 3
Total Runs 63 63
Cost per result 0.257 0.743
Total Cost $0.033 $0.038
Input Price $0.120 / 1M $0.750 / 1M
Output Price $0.350 / 1M $4.500 / 1M
Total Input Tokens 17,957 34,244
Output Tokens 22,356 2,541
Reasoning Tokens 65,726 0
Response Time (avg) 56.55s 1.13s
Response Time (max) 437.40s 2.52s
Response Time (total) 1074.41s 23.82s

Generation showcase

Hamster playing table tennis

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

#87 Gemma 4 31B

medium
Cost
$0.002
Time
45.7s
Tokens
2,696 tok

#131 GPT-5.4 Mini

none
Cost
$0.010
Time
11.7s
Tokens
2,151 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

Anti-AI Tricks Score Consistency Attempt pass rate Flaky tests Tests Correct Response Time (avg) Input Tokens Output Tokens Reasoning Tokens
Gemma 4 31B 10.0 10.0 100.0% 0 12.89s 816 962 2,046
GPT-5.4 Mini 3.1 8.1 8.3% 1 929ms 606 654 0
Coding Score Consistency Attempt pass rate Flaky tests Tests Correct Response Time (avg) Input Tokens Output Tokens Reasoning Tokens
Gemma 4 31B 4.3 5.8 22.2% 1 219.76s 5,568 11,098 33,212
GPT-5.4 Mini 5.5 10.0 33.3% 0 913ms 7,305 401 0
Combined Score Consistency Attempt pass rate Flaky tests Tests Correct Response Time (avg) Input Tokens Output Tokens Reasoning Tokens
Gemma 4 31B 3.0 10.0 0.0% 0 0ms 0 0 0
GPT-5.4 Mini 3.0 10.0 0.0% 0 2.52s 11,019 298 0
Data parsing and extraction Score Consistency Attempt pass rate Flaky tests Tests Correct Response Time (avg) Input Tokens Output Tokens Reasoning Tokens
Gemma 4 31B 10.0 10.0 100.0% 0 21.11s 8,334 1,822 2,951
GPT-5.4 Mini 10.0 10.0 100.0% 0 1.30s 7,140 222 0
Domain specific Score Consistency Attempt pass rate Flaky tests Tests Correct Response Time (avg) Input Tokens Output Tokens Reasoning Tokens
Gemma 4 31B 7.7 10.0 66.7% 0 38.48s 876 4,349 8,985
GPT-5.4 Mini 3.5 4.4 33.3% 2 937ms 723 88 0
General Intelligence Score Consistency Attempt pass rate Flaky tests Tests Correct Response Time (avg) Input Tokens Output Tokens Reasoning Tokens
Gemma 4 31B 10.0 10.0 100.0% 0 9.57s 567 105 888
GPT-5.4 Mini 4.8 10.0 0.0% 0 1.82s 477 174 0
Instructions following Score Consistency Attempt pass rate Flaky tests Tests Correct Response Time (avg) Input Tokens Output Tokens Reasoning Tokens
Gemma 4 31B 10.0 10.0 100.0% 0 12.76s 777 533 2,035
GPT-5.4 Mini 6.3 10.0 50.0% 0 728ms 660 101 0
Puzzle Solving Score Consistency Attempt pass rate Flaky tests Tests Correct Response Time (avg) Input Tokens Output Tokens Reasoning Tokens
Gemma 4 31B 9.9 10.0 100.0% 0 26.91s 801 1,795 5,595
GPT-5.4 Mini 5.4 10.0 33.3% 0 836ms 642 305 0
Tool Calling Score Consistency Attempt pass rate Flaky tests Tests Correct Response Time (avg) Input Tokens Output Tokens Reasoning Tokens
Gemma 4 31B 3.0 10.0 0.0% 0 0ms 0 0 0
GPT-5.4 Mini 3.0 10.0 0.0% 0 2.32s 5,477 255 0
Trivia Score Consistency Attempt pass rate Flaky tests Tests Correct Response Time (avg) Input Tokens Output Tokens Reasoning Tokens
Gemma 4 31B 3.0 10.0 0.0% 0 90.14s 218 1,692 10,014
GPT-5.4 Mini 3.0 10.0 0.0% 0 1.33s 195 43 0

Quick Compare

Switch Comparison Pair