Navigate
Advertise here

Claude Opus 4.8 (medium) vs GLM 5.2 (medium)

The average score is effectively tied at 8.3 vs 8.2. GLM 5.2 (medium) has the lower benchmark cost at $1.007 vs $3.490. Claude Opus 4.8 (medium) is faster at 16.72s vs 26.88s, with pass rates of 82.6% vs 81.2%.

Last updated at: 2026-10-26

Compared models

Rank
#104
Total Output Tokens
67,522
Response Time (avg)
16.72s
Total Cost
$3.490
Rank
#110
Total Output Tokens
81,020
Response Time (avg)
26.88s
Total Cost
$1.007
Recommended model GLM 5.2 (medium)

It has the best score here (8.2), while costing about 3.5x less than Claude Opus 4.8 (medium).

Detailed comparison

Metric Claude Opus 4.8 Claude Opus 4.8 medium Release: 2026-05-28 GLM 5.2 GLM 5.2 medium Release: 2026-06-17
Score 8.3 8.2
Rank #104 #110
Reliability 10.0 9.6
Consistency 9.0 8.1
Attempts 69/69 66/69
Tests Correct
Attempt pass rate 82.6% 81.2%
Flaky tests 3 4
Total Runs 69 66
Cost per result 20.527 2.890
Total Cost $3.490 $1.007
Input Price $5.000 / 1M $0.153 / 1M
Output Price $25.000 / 1M $12.000 / 1M
Cache Read Price $0.500 / 1M $0.150 / 1M
Cache Write Price $6.250 / 1M N/A
Total Input Tokens 360,294 227,164
Output Tokens 43,441 20,029
Reasoning Tokens 24,401 60,991
Response Time (avg) 16.72s 26.88s
Response Time (max) 99.37s 102.40s
Response Time (total) 384.66s 591.34s
Parameters ~5T total (~500B active) 744B total (40B active)
Availability Closed Open source

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

Solar System Animation

Prompt: Create a single-file HTML/CSS animation of the Solar System against a dark background, using no JavaScript or external images. The output must feature a stationary Sun and all 8 primary planets (Mercury through Neptune) orbiting it continuously in the correct order using infinite CSS loops. Also include the Moon orbiting Earth and add labels to the planets. The design must be scalable and optimized for a 1:1 aspect ratio by default.

#104 Claude Opus 4.8

medium
Cost
$0.137
Time
59.7s
Tokens
5,711 tok

#110 GLM 5.2

medium
Cost
$0.047
Time
135.5s
Tokens
10,705 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 10.0 10.0 100.0% 0 15.33s 10,590 9,945 1,381
GLM 5.2 8.2 7.2 88.9% 1 40.96s 7,317 1,475 17,123

Switch Comparison Pair