Navigate
Advertise here

Granite 4.2 8B vs GLM 4.7 Flash (medium)

Granite 4.2 8B leads on average score with 4.4 vs 4.2. Granite 4.2 8B has the lower benchmark cost at $0.037 vs $0.193. Granite 4.2 8B is faster at 84.66s vs 150.90s, with pass rates of 15.9% vs 30.4%.

Last updated at: 2026-10-16

Compared models

Rank
#375
Total Output Tokens
133,268
Response Time (avg)
84.66s
Total Cost
$0.037
Rank
#380
Total Output Tokens
447,599
Response Time (avg)
150.90s
Total Cost
$0.193
Recommended model Granite 4.2 8B

It has the best score here (4.4), while costing about 5.3x less than GLM 4.7 Flash (medium).

Detailed comparison

Metric Granite 4.2 8B Granite 4.2 8B none Release: 2026-09-02 GLM 4.7 Flash GLM 4.7 Flash medium Release: 2026-01-19
Score 4.4 4.2
Rank #375 #380
Reliability 9.1 9.4
Consistency 9.3 7.1
Attempts 69/69 69/69
Tests Correct
Attempt pass rate 15.9% 30.4%
Flaky tests 2 8
Total Runs 69 69
Cost per result 1.206 4.822
Total Cost $0.037 $0.193
Input Price $0.060 / 1M $0.061 / 1M
Output Price $0.250 / 1M $0.400 / 1M
Cache Read Price $0.015 / 1M N/A
Cache Write Price N/A N/A
Total Input Tokens 226,872 228,711
Output Tokens 133,268 42,254
Reasoning Tokens 0 422,121
Response Time (avg) 84.66s 150.90s
Response Time (max) 747.17s 1539.97s
Response Time (total) 1947.17s 2414.33s
Parameters 8B 30B total (3B active)
Availability Open source 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

Hamster playing table tennis

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

#375 IBM: Granite 4.2 8B

none
Provider returned error
Cost
$0.000
Time
0.2s
Tokens
0 tok

#380 GLM 4.7 Flash

medium
No output was saved. The original provider response or failure reason is unavailable.
Cost
$0.000
Time
186.2s
Tokens
12,112 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
Granite 4.2 8B 5.5 10.0 33.3% 0 105.60s 8,358 47,944 0
GLM 4.7 Flash 3.2 7.4 11.1% 1 55.33s 3,106 4,981 22,387

Switch Comparison Pair