Navigate
Advertise here

Claude Sonnet 5 (medium) vs Grok 4.7 (medium)

Claude Sonnet 5 (medium) leads on average score with 8.2 vs 8.1. Claude Sonnet 5 (medium) has the lower benchmark cost at $0.922 vs $2.254. Claude Sonnet 5 (medium) is faster at 12.54s vs 106.09s, with pass rates of 75.8% vs 81.8%.

Last updated at: 2026-09-21

Compared models

Rank
#69
Total Output Tokens
63,204
Response Time (avg)
12.54s
Total Cost
$0.922
Rank
#73
Total Output Tokens
433,733
Response Time (avg)
106.09s
Total Cost
$2.254
Recommended model Claude Sonnet 5 (medium)

It has the best score here (8.2), while costing about 2.4x less than Grok 4.7 (medium).

Detailed comparison

Metric Claude Sonnet 5 Claude Sonnet 5 medium Release: 2026-06-30 Grok 4.7 Grok 4.7 medium Release: 2026-09-21
Score 8.2 8.1
Rank #69 #73
Reliability 10.0 9.9
Consistency 9.0 8.3
Attempts 66/66 66/66
Tests Correct
Attempt pass rate 75.8% 81.8%
Flaky tests 3 5
Total Runs 66 66
Cost per result 6.144 15.023
Total Cost $0.922 $2.254
Input Price $2.000 / 1M $1.600 / 1M
Output Price $10.000 / 1M $4.800 / 1M
Total Input Tokens 145,953 107,193
Output Tokens 52,330 4,661
Reasoning Tokens 10,874 429,072
Response Time (avg) 12.54s 106.09s
Response Time (max) 66.71s 660.89s
Response Time (total) 275.90s 2333.94s
Parameters ~1T total (~100B active) ~1.7T total (~170B active)
Availability Closed Closed

Model generation showcase

Hamster playing table tennis

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

#69 Claude Sonnet 5

medium
Cost
$0.007
Time
6.4s
Tokens
832 tok

#73 SpaceXAI: Grok 4.7

medium
Cost
$0.047
Time
132.3s
Tokens
9,954 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 Sonnet 5 9.0 7.9 88.9% 1 17.28s 10,590 13,153 2,379
Grok 4.7 6.6 4.6 77.8% 2 312.17s 10,266 349 172,347

Quick Compare

Switch Comparison Pair