Head-to-head comparison across 2benchmark categories. Overall scores shown here use BenchLM's provisional ranking lane.
Gemma 4 31B
65
GLM-5
67
Verified leaderboard positions: Gemma 4 31B unranked · GLM-5 #19
Pick GLM-5 if you want the stronger benchmark profile. Gemma 4 31B only becomes the better choice if you want the cheaper token bill or you need the larger 256K context window.
Coding
+21.6 difference
Knowledge
+9.4 difference
Gemma 4 31B
GLM-5
$0 / $0
$1 / $3.2
N/A
74 t/s
N/A
1.64s
256K
200K
Pick GLM-5 if you want the stronger benchmark profile. Gemma 4 31B only becomes the better choice if you want the cheaper token bill or you need the larger 256K context window.
GLM-5 has the cleaner provisional overall profile here, landing at 67 versus 65. It is a real lead, but still close enough that category-level strengths matter more than the headline number.
GLM-5's sharpest advantage is in coding, where it averages 63.2 against 41.6. The single biggest benchmark swing on the page is HLE, 26.5% to 50.4%.
GLM-5 is also the more expensive model on tokens at $1.00 input / $3.20 output per 1M tokens, versus $0.00 input / $0.00 output per 1M tokens for Gemma 4 31B. That is roughly Infinityx on output cost alone. Gemma 4 31B is the reasoning model in the pair, while GLM-5 is not. That usually helps on harder chain-of-thought-heavy tests, but it can also mean more latency and more token spend in real use. Gemma 4 31B gives you the larger context window at 256K, compared with 200K for GLM-5.
GLM-5 is ahead on BenchLM's provisional leaderboard, 67 to 65. The biggest single separator in this matchup is HLE, where the scores are 26.5% and 50.4%.
GLM-5 has the edge for knowledge tasks in this comparison, averaging 70.7 versus 61.3. Inside this category, HLE is the benchmark that creates the most daylight between them.
GLM-5 has the edge for coding in this comparison, averaging 63.2 versus 41.6. Inside this category, SWE-Rebench is the benchmark that creates the most daylight between them.
Estimates at 50,000 req/day · 1000 tokens/req average.
For engineers, researchers, and the plain curious — a weekly brief on new models, ranking shifts, and pricing changes.
Free. No spam. Unsubscribe anytime.