STEALTHMARK · HEAD TO HEAD

All comparisons ↗

Gemma 4 31B vs Grok 4.7

Grok 4.7 leads Gemma 4 31B by 18.5 points on StealthMark, 45.6 to 27.1. It leads on 8 of 10 benchmarks, including all 3 games, and Gemma 4 31B on 2. Grok 4.7 scores higher on Newton's Mirror, with its largest category advantage in reflections.

See the difference ↘
All results ↗
All results ↗

Overall StealthMark

27.1/100Overall rank 54/64
45.6/100Overall rank 32/64

General Intelligence

22.9/100
46.8/100

Visual Intelligence

36.5/100
42.7/100

Reasoning efficiency

How many reasoning tokens a model needs for the quality it delivers.

Single-step reasoning How much it reasons to understand a task

Multi-step reasoning How much it keeps reasoning as a task goes on

Cost efficiency

How much Performance you get for your money.

Open or local

Local modelOpen model · Apache 2.0

BENCHMARK BY BENCHMARK

Where each model leads

  • Gemma 4 31B
  • Grok 4.7
  • Other models
  • Median

DATASHEET

Specs and pricing

Gemma 4 31B is 15× cheaper per output token. Grok 4.7 scores higher on StealthMark, takes 1.9× more context and runs 1.6× faster in our speed test.

  • Gemma 4 31B
  • Grok 4.7
  • Other models
  • Median
PricePer 1M output tokens, input below
Gemma 4 31B: $0.4015× cheaper$0.14 inputGrok 4.7: $6$2 input
Context windowTokens per request, max output below
Gemma 4 31B: 256KGrok 4.7: 500K1.9× larger
Output speedTokens per second, our measurement
Gemma 4 31B: 116tokens/sGrok 4.7: 1851.6× fastertokens/s
SizeTotal and active parameters
Gemma 4 31B: 30.7BAll activeEstimatedGrok 4.7: Not disclosed
Developer
Google DeepMindSpaceXAI
Released
2 Apr 202621 Sep 2026
Origin
United StatesBoth
Input → output
Text, image → textBoth
Architecture
Dense multimodal transformer with interleaved sliding-window and global attentionNot published

Full datasheets, every price and sourceGemma 4 31B ↗Grok 4.7 ↗

Long-term planning and adapting to surprises. Explore a fogged world seen only as text. Keep health, hunger, thirst and mana up, and use items and spells to solve what blocks the way. One hand-made stage in one continuous conversation. The score counts what the model achieves and how well it plays: clever solutions earn points, repeated mistakes cost more each time.

Gemma 4 31B 20.0/100Rank 39/41

Cleared 1 of 1
Stitchlight: complete playing field

Grok 4.7 41.7/100Rank 23/41

Cleared 0 of 1
Stitchlight: complete playing field

Points per level

LevelGemma 4 31BGrok 4.7
Level 1
20 ptsCleared
41.7 ptsOut of lives

Cooperative planning and learning from experience. Coordinate two robots to push numbered cores onto matching sockets. Pressure plates hold doors open; moving either robot uses one turn. 5 levels in sequence, up to 152 turns in total. Earlier moves and outcomes carry forward, testing learning across levels.

Gemma 4 31B 26.6/100Rank 52/614 of 5 levels

4 of 5 played
Latch: complete playing field
Level 42.2 ptsTurn 39 / 40

Grok 4.7 65.4/100Rank 27/61

Cleared 4 of 5
Latch: complete playing field
Level 520.4 ptsTurn 28 / 40

Points per level

LevelGemma 4 31BGrok 4.7
Level 1Hold the door
5.2 ptsCleared
5.2 ptsCleared
Level 2Crossfeed
9 ptsCleared
9.8 ptsCleared
Level 3Relay vault
13.2 ptsFinished early
11.6 ptsFinished early
Level 4Passing bay
2.2 ptsFinished early
18.2 ptsClearedFinished early · 3 beacons left
Level 5Second thoughts
Not played
20.4 ptsCleared

Anticipating threats and planning ahead. Collect coins while avoiding ghosts. Ghosts move before the player each turn, and collisions cost a life. 3 levels in sequence, up to 66 turns in total. Earlier moves and outcomes carry forward, testing learning across levels.

Gemma 4 31B 30.2/100Rank 40/60

Survived 0 of 3
Foresight: complete playing field
Level 38 ptsTurn 15 / 20

Grok 4.7 72.6/100Rank 5/60

Survived 3 of 3
Foresight: complete playing field
Level 316 ptsTurn 20 / 20

Points per level

LevelGemma 4 31BGrok 4.7
Level 1Second Thoughts
9 ptsOut of lives
25 ptsSurvived
Level 2Pressure Pot
6 ptsOut of lives
13 ptsSurvived
Level 3Hide or Flight
8 ptsOut of lives
16 ptsSurvived

Newton's Mirror

Same task instructions

Physics, perspective and recursive reflections, tested together. Explore the test ↗

The judgment

Gemma 4 31B

Strongest: Materials and scale. Weakest: Reflections.

Grok 4.7

Strongest: State at 600 ms. Weakest: Reflections.

Score breakdown

CategoryGemma 4 31BGrok 4.7
State at 600 ms11.0/2523.0/25
Camera and placement4.5/1512.5/15
Reflections8.0/12026.0/120
Materials and scale6.0/106.5/10
Floor-damage reward0.0/100.0/10

Benchmark task

A spinning metal sphere and paint in a mirrored room test physical reasoning, perspective and consistency across repeated reflections.

Ground Truth

Same task instructions

Physical reasoning, light and visual reconstruction.

The judgment

Gemma 4 31B

This benchmark has not been assessed yet.

Grok 4.7

This benchmark has not been assessed yet.

Benchmark task

A plank, computer mouse and blueberry in a steel room test physical stability, spatial relationships, materials and lighting.

Mona Lisa

Same task instructions

Precise visual recall and portrait reconstruction.

The judgment

Gemma 4 31B

Strongest: Visual integrity. Weakest: Task & likeness, Light & reflections.

Grok 4.7

Strongest: Space & placement, Purposeful detail. Weakest: Light & reflections.

Score breakdown

CategoryGemma 4 31BGrok 4.7
Task & likeness2.0/102.0/10
Anatomy & construction2.5/102.0/10
Space & placement3.5/103.0/10
Light & reflections2.0/101.5/10
Purposeful detail2.0/103.0/10
Artistry & character2.0/102.5/10
Materials & effects2.5/102.0/10
Visual integrity5.0/103.0/10

Benchmark task

An SVG interpretation of the Mona Lisa tests facial likeness, anatomy and the composition of a familiar portrait.

Raccoon

Same task instructions

Scene composition and interacting subjects.

The judgment

Gemma 4 31B

Strongest: Visual integrity. Weakest: Anatomy & construction, Light & reflections.

Grok 4.7

Strongest: Task & likeness. Weakest: Visual integrity.

Score breakdown

CategoryGemma 4 31BGrok 4.7
Task & likeness4.5/107.0/10
Anatomy & construction3.0/104.5/10
Space & placement4.5/106.5/10
Light & reflections3.0/104.5/10
Purposeful detail3.5/105.5/10
Artistry & character3.0/105.5/10
Materials & effects4.0/105.5/10
Visual integrity5.0/103.5/10

Benchmark task

A jet-ski scene pairs a canine driver with a raccoon passenger. It tests the placement and contact of interacting subjects, along with vehicle construction.

Beach

Same task instructions

Creativity, perspective and visual beauty.

The judgment

Gemma 4 31B

Strongest: Task & likeness. Weakest: Purposeful detail, Artistry & character.

Grok 4.7

Strongest: Task & likeness. Weakest: Artistry & character.

Score breakdown

CategoryGemma 4 31BGrok 4.7
Task & likeness6.0/107.5/10
Anatomy & construction4.0/104.5/10
Space & placement4.5/105.5/10
Light & reflections4.5/106.0/10
Purposeful detail3.5/105.0/10
Artistry & character3.5/103.5/10
Materials & effects3.5/104.5/10
Visual integrity5.5/106.0/10

Benchmark task

A busy shoreline at sunset tests scene composition, animal forms and the relationship between light and water reflections.

Selfie

Different task instructions

Visual construction and creative interpretation.

The judgment

Gemma 4 31B

Strongest: Space & placement, Visual integrity. Weakest: Artistry & character.

Grok 4.7

Strongest: Visual integrity. Weakest: Purposeful detail, Materials & effects.

Score breakdown

CategoryGemma 4 31BGrok 4.7
Task & likeness6.0/107.0/10
Anatomy & construction6.0/105.0/10
Space & placement7.5/105.5/10
Light & reflections6.5/104.0/10
Purposeful detail5.5/102.5/10
Artistry & character5.0/103.5/10
Materials & effects6.5/102.5/10
Visual integrity7.5/107.5/10

Benchmark task

Gemma 4 31B

A small luminous creature proudly holding an empty glass jar tests expression, transparent materials and the balance of character and prop.

Grok 4.7

A dark snail with a geometric spiral shell tests silhouette, curved construction and restrained material shading.

Pelican

Same task instructions

Subject construction and spatial relationships.

The judgment

Gemma 4 31B

Strongest: Task & likeness. Weakest: Purposeful detail.

Grok 4.7

Strongest: Task & likeness. Weakest: Anatomy & construction.

Score breakdown

CategoryGemma 4 31BGrok 4.7
Task & likeness5.5/107.5/10
Anatomy & construction4.0/104.5/10
Space & placement5.0/106.5/10
Light & reflections3.5/106.0/10
Purposeful detail3.0/106.0/10
Artistry & character4.0/105.5/10
Materials & effects3.5/105.5/10
Visual integrity5.0/106.0/10

Benchmark task

A cycling pelican tests anatomy, riding posture and contact between the bird and the bicycle.