Navigate
Advertise here

Gemma 4 31B (medium) vs GPT-6 Luna (medium)

GPT-6 Luna (medium) leads on average score with 8.3 vs 6.9. GPT-6 Luna (medium) has the lower benchmark cost at $0.047 vs $0.144. GPT-6 Luna (medium) is faster at 18.07s vs 78.76s, with pass rates of 66.7% vs 73.9%.

Last updated at: 2026-10-01

Compared models

Rank
#164
Total Output Tokens
277,315
Response Time (avg)
78.76s
Total Cost
$0.144
Rank
#79
Total Output Tokens
53,161
Response Time (avg)
18.07s
Total Cost
$0.047
Recommended model GPT-6 Luna (medium)

It has the best score here (8.3), while costing about 3.1x less than Gemma 4 31B (medium).

Detailed comparison

Metric Gemma 4 31B Gemma 4 31B medium Release: 2026-04-02 Free Available GPT-6 Luna GPT-6 Luna medium Release: 2026-09-23
Score 6.9 8.3
Rank #164 #79
Reliability 10.0 10.0
Consistency 8.7 8.9
Attempts 69/69 69/69
Tests Correct
Attempt pass rate 66.7% 73.9%
Flaky tests 3 3
Total Runs 69 69
Cost per result 1.195 0.313
Total Cost $0.144 $0.047
Input Price $0.090 / 1M $0.100 / 1M
Output Price $0.340 / 1M $0.500 / 1M
Cache Read Price $0.050 / 1M $0.010 / 1M
Cache Write Price N/A $0.125 / 1M
Total Input Tokens 251,164 203,193
Output Tokens 36,112 5,751
Reasoning Tokens 241,203 47,410
Response Time (avg) 78.76s 18.07s
Response Time (max) 437.40s 66.44s
Response Time (total) 1653.96s 415.53s
Parameters 30.7B ~400B total (~17B 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.

#164 Gemma 4 31B

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

#79 GPT-6 Luna

medium
Cost
$0.002
Time
23.6s
Tokens
2,966 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
GPT-6 Luna 6.6 4.6 77.8% 2 23.63s 7,302 438 10,222

Quick Compare

Switch Comparison Pair