Gemma vs Llama

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

Gemma (google/gemma-4-31b-it)Llama (meta-llama/llama-4-maverick)
Passed27/3123/31
Rank11 / 2418 / 24
Median time1.2s1.1s
Cost / 1k tasks$0.253$0.569
Tool calling6/66/6
Strict formatting3/32/3
Extraction1/31/3
Reasoning4/62/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
  • Two conditions at once: prime and digit sum
  • Time zones across midnight
  • Compound growth arithmetic
  • One Chinese sentence, ≤30 characters, no other English

Only Llama 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 · Llama full results · More comparisons