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

AI BENCHY Compare

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

Summary

Gemma 4 31B vs GPT-5.4 benchmark comparison: Gemma 4 31B leads on average score with 6.1 vs 5.8. Gemma 4 31B has the lower benchmark cost at $0.004 vs $0.122. GPT-5.4 is faster at 1.42s vs 4.05s, with pass rates of 47.6% vs 36.5%.

Recommended model: Gemma 4 31B - It has the best score here (6.1), while costing about 40.6x less than GPT-5.4.

Last updated at: 2026-06-18

Metric Gemma 4 31B Gemma 4 31B none Release: 2026-04-02 Free Available GPT-5.4 GPT-5.4 none Release: 2026-03-05
Score 6.1 5.8
Rank #98 #112
Reliability 10.0 10.0
Consistency 10.0 9.2
Tests Correct
Attempt pass rate 47.6% 36.5%
Flaky tests 0 2
Total Runs 63 63
Cost per result 0.034 1.740
Total Cost $0.004 $0.122
Input Price $0.120 / 1M $2.500 / 1M
Output Price $0.350 / 1M $15.000 / 1M
Total Input Tokens 20,911 34,212
Output Tokens 1,407 2,417
Reasoning Tokens 0 0
Response Time (avg) 4.05s 1.42s
Response Time (max) 26.13s 2.95s
Response Time (total) 76.87s 29.87s

Generation showcase

Hamster playing table tennis

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

#98 Gemma 4 31B

none
Cost
$0.001
Time
12.8s
Tokens
795 tok

#112 GPT-5.4

none
Cost
$0.026
Time
18.1s
Tokens
1,792 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 6.5 10.0 50.0% 0 1.85s 852 45 0
GPT-5.4 3.2 8.0 8.3% 1 1.21s 606 406 0
Coding Score Consistency Attempt pass rate Flaky tests Tests Correct Response Time (avg) Input Tokens Output Tokens Reasoning Tokens
Gemma 4 31B 5.5 10.0 33.3% 0 11.19s 8,381 735 0
GPT-5.4 5.5 10.0 33.3% 0 1.62s 7,305 516 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 3.0 10.0 0.0% 0 2.89s 11,019 291 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 2.25s 8,352 285 0
GPT-5.4 10.0 10.0 100.0% 0 1.04s 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 3.22s 903 27 0
GPT-5.4 5.3 7.2 44.4% 1 1.07s 723 50 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 2.09s 576 117 0
GPT-5.4 4.4 9.9 0.0% 0 1.78s 477 184 0
Instructions following Score Consistency Attempt pass rate Flaky tests Tests Correct Response Time (avg) Input Tokens Output Tokens Reasoning Tokens
Gemma 4 31B 6.5 10.0 50.0% 0 2.84s 795 78 0
GPT-5.4 6.5 10.0 50.0% 0 1.07s 660 81 0
Puzzle Solving Score Consistency Attempt pass rate Flaky tests Tests Correct Response Time (avg) Input Tokens Output Tokens Reasoning Tokens
Gemma 4 31B 6.5 10.0 33.3% 0 4.23s 828 108 0
GPT-5.4 5.6 9.8 33.3% 0 1.44s 642 381 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 10.0 10.0 100.0% 0 2.75s 5,445 246 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 1.25s 224 12 0
GPT-5.4 3.0 10.0 0.0% 0 990ms 195 40 0

Quick Compare

Switch Comparison Pair