Navigate
Advertise here

Claude Sonnet 5 vs GPT-5 Nano (medium)

Claude Sonnet 5 leads on average score with 5.9 vs 5.7. GPT-5 Nano (medium) has the lower benchmark cost at $0.159 vs $1.095. Claude Sonnet 5 is faster at 8.60s vs 56.55s, with pass rates of 40.6% vs 53.6%.

Last updated at: 2026-11-18

Compared models

Rank
#355
Total Output Tokens
30,777
Response Time (avg)
8.60s
Total Cost
$1.095
Rank
#367
Total Output Tokens
307,921
Response Time (avg)
56.55s
Total Cost
$0.159
Recommended model GPT-5 Nano (medium)

Its score stays close to the best score here (5.7 vs 5.9), while costing about 6.9x less than Claude Sonnet 5.

Detailed comparison

Metric Claude Sonnet 5 Claude Sonnet 5 none Release: 2026-06-30 GPT-5 Nano GPT-5 Nano medium Release: 2025-08-07
Score 5.9 5.7
Rank #355 #367
Reliability 10.0 10.0
Consistency 8.4 6.5
Attempts 69/69 69/69
Tests Correct
Attempt pass rate 40.6% 53.6%
Flaky tests 5 10
Total Runs 69 69
Cost per result 15.642 1.737
Total Cost $1.095 $0.159
Input Price $2.000 / 1M $0.050 / 1M
Output Price $10.000 / 1M $0.400 / 1M
Cache Read Price $0.200 / 1M $0.005 / 1M
Cache Write Price $2.500 / 1M N/A
Total Input Tokens 393,560 314,436
Output Tokens 30,466 13,578
Reasoning Tokens 311 294,343
Response Time (avg) 8.60s 56.55s
Response Time (max) 64.73s 227.89s
Response Time (total) 197.73s 961.32s
Parameters ~1T total (~100B active) ~120B total (~5B active)
Availability Closed 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.

#355 Claude Sonnet 5

none
Cost
$0.061
Time
53.7s
Tokens
6,172 tok

#367 GPT-5 Nano

medium
Cost
$0.006
Time
108.5s
Tokens
13,209 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 4.6 7.9 22.2% 1 3.67s 10,590 1,864 0
GPT-5 Nano 7.0 7.7 55.6% 1 41.62s 7,305 740 41,152

Switch Comparison Pair