GLM vs Gemma

GLM wins: 30 of 31 tasks passed vs 27 for Gemma (lab test 2026-12-02). Median time 1.2s vs 1.2s, cost $2.385 vs $0.253 per 1k tasks. 4 tasks only GLM passed, 1 only Gemma passed.

GLM (z-ai/glm-5.4)Gemma (google/gemma-4-31b-it)
Passed30/3127/31
Rank3 / 2411 / 24
Median time1.2s1.2s
Cost / 1k tasks$2.385$0.253
Tool calling6/66/6
Strict formatting3/33/3
Extraction2/31/3
Reasoning6/64/6
Chinese6/66/6
Long context3/33/3
Honesty (no made-up facts)4/44/4

Only GLM got these right

  • Mixed date formats, skip the cancelled item, sort by date
  • Sum only the paid invoices from messy text
  • Floor division of a negative and banker's rounding in Python
  • Calendar arithmetic across a short month

Only Gemma got these right

  • Chinese amounts in 万 and Chinese numerals, skip the refund

Same tasks, same day, temperature 0, graded by fixed rules. One run is a snapshot: re-check before switching production traffic.

GLM full results · Gemma full results · More comparisons