Navigate
AI BENCHY
Advertise here

Claude Opus 4.8 vs Gemini 3.1 Pro Preview (medium)

Gemini 3.1 Pro Preview (medium) leads on average score with 9.2 vs 7.3. Claude Opus 4.8 has the lower benchmark cost at $1.166 vs $1.361. Claude Opus 4.8 is faster at 4.91s vs 21.47s, with pass rates of 63.6% vs 90.9%.

Last updated at: 2026-07-25

Rank
#74
Total Output Tokens
16,797
Response Time (avg)
4.91s
Total Cost
$1.166
Rank
#10
Total Output Tokens
97,958
Response Time (avg)
21.47s
Total Cost
$1.361
Recommended model Gemini 3.1 Pro Preview (medium)

It has the strongest score in this comparison (9.2) and the best overall balance of cost and response time across all 2 models.

Detailed comparison

Metric Claude Opus 4.8 Claude Opus 4.8 none Release: 2026-05-28 Gemini 3.1 Pro Preview Gemini 3.1 Pro Preview medium Release: 2026-02-19
Score 7.3 9.2
Rank #74 #10
Reliability 10.0 10.0
Consistency 9.2 10.0
Tests Correct
Attempt pass rate 63.6% 90.9%
Flaky tests 2 0
Total Runs 66 66
Cost per result 8.969 6.801
Total Cost $1.166 $1.361
Input Price $5.000 / 1M $2.000 / 1M
Output Price $25.000 / 1M $12.000 / 1M
Total Input Tokens 149,206 92,287
Output Tokens 16,797 5,232
Reasoning Tokens 0 92,726
Response Time (avg) 4.91s 21.47s
Response Time (max) 35.03s 88.68s
Response Time (total) 108.03s 322.08s

Hamster playing table tennis

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

#74 Claude Opus 4.8

none
Cost
$0.053
Time
22.0s
Tokens
2,253 tok

#10 Gemini 3.1 Pro Preview

medium
Cost
$0.115
Time
87.2s
Tokens
9,629 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
Claude Opus 4.8 5.5 10.0 33.3% 0 3.29s 10,590 1,332 0
Gemini 3.1 Pro Preview 7.9 9.9 66.7% 0 40.17s 8,124 435 41,247

Quick Compare

Switch Comparison Pair