GLM vs Perplexity

GLM wins: 30 of 31 tasks passed vs 23 for Perplexity (lab test 2026-12-02). Median time 1.2s vs 2.4s, cost $2.385 vs $10.924 per 1k tasks. 7 tasks only GLM passed, 0 only Perplexity passed.

GLM (z-ai/glm-5.4)Perplexity (perplexity/sonar-pro)
Passed30/3123/31
Rank3 / 2418 / 24
Median time1.2s2.4s
Cost / 1k tasks$2.385$10.924
Tool calling6/66/6
Strict formatting3/32/3
Extraction2/30/3
Reasoning6/63/6
Chinese6/65/6
Long context3/33/3
Honesty (no made-up facts)4/44/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
  • Sum only the paid invoices from messy text
  • Two conditions at once: prime and digit sum
  • Floor division of a negative and banker's rounding in Python
  • Compound growth arithmetic
  • Chinese measure words (匹/面/座/封)

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

GLM full results · Perplexity full results · More comparisons