Navigate
Advertise here

Gemma 4 31B (medium) vs Step 5 Preview (high)

Step 5 Preview (high) leads on average score with 7.0 vs 6.9. Gemma 4 31B (medium) has the lower benchmark cost at $0.144 vs $4.513. Gemma 4 31B (medium) is faster at 78.76s vs 154.41s, with pass rates of 66.7% vs 52.2%.

Last updated at: 2026-10-26

Compared models

Rank
#206
Total Output Tokens
277,315
Response Time (avg)
78.76s
Total Cost
$0.144
Rank
#198
Total Output Tokens
1,581,325
Response Time (avg)
154.41s
Total Cost
$4.513
Recommended model Gemma 4 31B (medium)

Its score stays close to the best score here (6.9 vs 7.0), while costing about 31.5x less than Step 5 Preview (high).

Detailed comparison

Metric Gemma 4 31B Gemma 4 31B medium Release: 2026-04-02 Free Available Step 5 Preview Step 5 Preview high Release: 2026-10-09
Score 6.9 7.0
Rank #206 #198
Reliability 10.0 9.5
Consistency 8.7 8.5
Attempts 69/69 69/69
Tests Correct
Attempt pass rate 66.7% 52.2%
Flaky tests 3 4
Total Runs 69 69
Cost per result 1.195 45.130
Total Cost $0.144 $4.513
Input Price $0.090 / 1M $1.000 / 1M
Output Price $0.340 / 1M $2.700 / 1M
Cache Read Price $0.050 / 1M $0.050 / 1M
Cache Write Price N/A N/A
Total Input Tokens 251,164 243,381
Output Tokens 36,112 1,581,325
Reasoning Tokens 241,203 0
Response Time (avg) 78.76s 154.41s
Response Time (max) 437.40s 455.72s
Response Time (total) 1653.96s 3551.40s
Parameters 30.7B 600B total (27B 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.

#206 Gemma 4 31B

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

#198 Step 5 Preview

high
Cost
$0.057
Time
150.1s
Tokens
20,970 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 4.3 5.8 22.2% 1 219.76s 5,568 11,098 33,212
Step 5 Preview 2.9 10.0 0.0% 0 421.68s 7,383 576,000 0

Switch Comparison Pair