Gemma vs ERNIE

Gemma wins: 27 of 31 tasks passed vs 25 for ERNIE (lab test 2026-12-02). Median time 1.2s vs 1.7s, cost $0.253 vs $1.916 per 1k tasks. 5 tasks only Gemma passed, 3 only ERNIE passed.

Gemma (google/gemma-4-31b-it)ERNIE (baidu/ernie-light-dt-1.0-intl)
Passed27/3125/31
Rank11 / 2415 / 24
Median time1.2s1.7s
Cost / 1k tasks$0.253$1.916
Tool calling6/66/6
Strict formatting3/32/3
Extraction1/31/3
Reasoning4/65/6
Chinese6/64/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
  • Chinese measure words (匹/面/座/封)
  • Chinese word problem

Only ERNIE got these right

  • 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

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

Gemma full results · ERNIE full results · More comparisons