Gemma vs Perplexity

Gemma wins: 27 of 31 tasks passed vs 23 for Perplexity (lab test 2026-12-02). Median time 1.2s vs 2.4s, cost $0.253 vs $10.924 per 1k tasks. 5 tasks only Gemma passed, 1 only Perplexity passed.

Gemma (google/gemma-4-31b-it)Perplexity (perplexity/sonar-pro)
Passed27/3123/31
Rank11 / 2418 / 24
Median time1.2s2.4s
Cost / 1k tasks$0.253$10.924
Tool calling6/66/6
Strict formatting3/32/3
Extraction1/30/3
Reasoning4/63/6
Chinese6/65/6
Long context3/33/3
Honesty (no made-up facts)4/44/4

Only Gemma got these right

  • Exactly 6 lowercase words, must/must-not words, no punctuation
  • Chinese amounts in 万 and Chinese numerals, skip the refund
  • Two conditions at once: prime and digit sum
  • Compound growth arithmetic
  • Chinese measure words (匹/面/座/封)

Only Perplexity got these right

  • Calendar arithmetic across a short month

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

Gemma full results · Perplexity full results · More comparisons