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

Gemma 4 31B vs Hy4

The average score is effectively tied at 5.7 vs 5.7. Gemma 4 31B has the lower benchmark cost at $0.031 vs $0.114. Hy4 is faster at 5.87s vs 7.28s, with pass rates of 42.0% vs 40.6%.

Last updated at: 2026-11-10

Compared models

Rank
#339
Total Output Tokens
15,499
Response Time (avg)
7.28s
Total Cost
$0.031
Rank
#337
Total Output Tokens
12,248
Response Time (avg)
5.87s
Total Cost
$0.114
Recommended model Gemma 4 31B

It has the best score here (5.7), while costing about 3.7x less than Hy4.

Detailed comparison

Metric Gemma 4 31B Gemma 4 31B none Release: 2026-04-02 Free Available Hy4 Hy4 none Release: 2026-11-04
Score 5.7 5.7
Rank #339 #337
Reliability 10.0 10.0
Consistency 9.6 9.7
Attempts 69/69 69/69
Tests Correct
Attempt pass rate 42.0% 40.6%
Flaky tests 1 1
Total Runs 69 69
Cost per result 0.520 1.263
Total Cost $0.031 $0.114
Input Price $0.090 / 1M $0.417 / 1M
Output Price $0.340 / 1M $1.251 / 1M
Cache Read Price $0.050 / 1M $0.021 / 1M
Cache Write Price N/A N/A
Total Input Tokens 270,970 235,746
Output Tokens 15,499 12,248
Reasoning Tokens 0 0
Response Time (avg) 7.28s 5.87s
Response Time (max) 44.73s 75.59s
Response Time (total) 152.84s 135.00s
Parameters 30.7B ~770B total (~49B active)
Availability Open source Closed

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.

#339 Gemma 4 31B

none
Cost
$0.001
Time
12.8s
Tokens
795 tok

#337 Hy4

none
Cost
$0.004
Time
22.4s
Tokens
2,679 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
Gemma 4 31B 5.5 10.0 33.3% 0 11.19s 8,381 735 0
Hy4 5.5 10.0 33.3% 0 1.68s 7,554 341 0

Switch Comparison Pair