GLM vs ERNIE
GLM wins: 30 of 31 tasks passed vs 25 for ERNIE (lab test 2026-12-02). Median time 1.2s vs 1.7s, cost $2.385 vs $1.916 per 1k tasks. 5 tasks only GLM passed, 0 only ERNIE passed.
| GLM (z-ai/glm-5.4) | ERNIE (baidu/ernie-light-dt-1.0-intl) | |
|---|---|---|
| Passed | 30/31 | 25/31 |
| Rank | 3 / 24 | 15 / 24 |
| Median time | 1.2s | 1.7s |
| Cost / 1k tasks | $2.385 | $1.916 |
| Tool calling | 6/6 | 6/6 |
| Strict formatting | 3/3 | 2/3 |
| Extraction | 2/3 | 1/3 |
| Reasoning | 6/6 | 5/6 |
| Chinese | 6/6 | 4/6 |
| Long context | 3/3 | 3/3 |
| Honesty (no made-up facts) | 4/4 | 4/4 |
Only GLM got these right
- Exactly 6 lowercase words, must/must-not words, no punctuation
- Mixed date formats, skip the cancelled item, sort by date
- Two conditions at once: prime and digit sum
- Chinese measure words (匹/面/座/封)
- Chinese word problem
Same tasks, same day, temperature 0, graded by fixed rules. One run is a snapshot: re-check before switching production traffic.