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 (high)

Hy4 (high) leads on average score with 5.8 vs 5.7. Gemma 4 31B has the lower benchmark cost at $0.031 vs $3.055. Gemma 4 31B is faster at 7.28s vs 219.63s, with pass rates of 42.0% vs 56.5%.

Last updated at: 2026-11-17

Compared models

Rank
#369
Total Output Tokens
15,499
Response Time (avg)
7.28s
Total Cost
$0.031
Rank
#357
Total Output Tokens
2,328,895
Response Time (avg)
219.63s
Total Cost
$3.055
Recommended model Gemma 4 31B

Its score stays close to the best score here (5.7 vs 5.8), while costing about 98.8x less than Hy4 (high).

Detailed comparison

Metric Gemma 4 31B Gemma 4 31B none Release: 2026-04-02 Free Available Hy4 Hy4 high Release: 2026-11-04
Score 5.7 5.8
Rank #369 #357
Reliability 10.0 9.7
Consistency 9.6 8.2
Attempts 69/69 69/69
Tests Correct
Attempt pass rate 42.0% 56.5%
Flaky tests 1 5
Total Runs 69 69
Cost per result 0.520 30.547
Total Cost $0.031 $3.055
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 341,340
Output Tokens 15,499 5,382
Reasoning Tokens 0 2,323,513
Response Time (avg) 7.28s 219.63s
Response Time (max) 44.73s 540.04s
Response Time (total) 152.84s 5051.38s
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.

#369 Gemma 4 31B

none
Cost
$0.001
Time
12.8s
Tokens
795 tok

#357 Hy4

high
Cost
$0.030
Time
162.4s
Tokens
23,596 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 7.5 10.0 66.7% 0 237.29s 7,527 30 316,572

Switch Comparison Pair