Model comparison

Gemma 3 4B vs Grok 4.7

Grok 4.7 is the stronger model overall, scoring 53.1 to 28.1 on the Noometry Index. Gemma 3 4B costs 60× less per token, which makes it the better buy when Grok 4.7's lead doesn't matter for your workload.

Last verified . 18 shared benchmarks.

Gemma 3 4B Google

28.1

Rank #326 Confirmed

Grok 4.7 xAI

53.1

Rank #37 Confirmed

Summary

  • They share 18 benchmarks with published results for both. Gemma 3 4B scores higher in 0 categories and Grok 4.7 in 9 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where Grok 4.7 leads 62.8 to 11.8.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 7.5% for Gemma 3 4B and 98.1% for Grok 4.7.
  • Gemma 3 4B is cheaper at $0.04 / $0.08 per million input/output tokens, against $2 / $6 for Grok 4.7.
  • Grok 4.7 accepts more context: 500K tokens versus 131K.
  • Gemma 3 4B has downloadable open weights; the other is API-only.

Side by side

Gemma 3 4B and Grok 4.7 specifications
Gemma 3 4BGrok 4.7
ProviderGooglexAI
Noometry Index28.153.1
Released2025-03-122026-09-21
WeightsOpenProprietary
Context window131K500K
Max output4K500K
Input $ / M tokens$0.04$2
Output $ / M tokens$0.08$6
Results tracked2239

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Grok 4.7 leads

Gemma 3 4B: 35.9 (#215), Grok 4.7: 58.0 (#18)

Coding benchmarks
BenchmarkGemma 3 4BGrok 4.7
LMArena Coding12301427
FrontierCode—47.6%
CursorBench—46.3%
LMArena WebDev—1639
FrontierSWE—29.5%
SciCode—57.8%

Agentic & Tool Use Grok 4.7 leads

Gemma 3 4B: 20.9 (#142), Grok 4.7: 36.7 (#37)

Agentic & Tool Use benchmarks
BenchmarkGemma 3 4BGrok 4.7
APEX-Agents—54.6%
Berkeley Function Calling Leaderboard19.6%—
GDP.pdf—22.8%
Vending-Bench 2—10,537

Reasoning Grok 4.7 leads

Gemma 3 4B: 13.2 (#335), Grok 4.7: 49.1 (#40)

Reasoning benchmarks
BenchmarkGemma 3 4BGrok 4.7
Chess Puzzles0%38%
LMArena Hard Prompts12531413
DTBench50.9%96%
LMCA2.8%49.4%
Epoch Capabilities Index116.02153.53
Kagi LLM Benchmark25.2%—
NYT Connections (extended)—76.8%
CritPt—18%
Mystery Game Puzzles—29%

Math Grok 4.7 leads

Gemma 3 4B: 16.8 (#292), Grok 4.7: 57.8 (#39)

Math benchmarks
BenchmarkGemma 3 4BGrok 4.7
OTIS Mock AIME 2024-20257.5%98.1%
LMArena Math12391407
FrontierMath (Tiers 1-3)—53%
FrontierMath Tier 4—17.1%
ProofBench—34%

Knowledge Grok 4.7 leads

Gemma 3 4B: 11.8 (#299), Grok 4.7: 62.8 (#22)

Knowledge benchmarks
BenchmarkGemma 3 4BGrok 4.7
GPQA Diamond23.2%92.7%
LMArena Expert12231422
SimpleQA Verified—56%
Vectara Hallucination Rate6.4%—

Multimodal Not comparable

Gemma 3 4B: —, Grok 4.7: 35.5 (#87)

Multimodal benchmarks
BenchmarkGemma 3 4BGrok 4.7
LMArena Vision—1228
Blueprint-Bench 2—32.5%
Furniture Assembly—20.8%

Multilingual Grok 4.7 leads

Gemma 3 4B: 42.5 (#194), Grok 4.7: 50.8 (#116)

Multilingual benchmarks
BenchmarkGemma 3 4BGrok 4.7
LMArena Non-English12731389
LMArena Russian12941397
LMArena Chinese—1455
LMArena French—1455
LMArena German1281—
LMArena Spanish—1400

Instruction Following Grok 4.7 leads

Gemma 3 4B: 65.2 (#225), Grok 4.7: 74.1 (#105)

Instruction Following benchmarks
BenchmarkGemma 3 4BGrok 4.7
LMArena Instruction Following12391404

Long Context Grok 4.7 leads

Gemma 3 4B: 38.7 (#194), Grok 4.7: 43.1 (#104)

Long Context benchmarks
BenchmarkGemma 3 4BGrok 4.7
LMArena Longer Query12731413

Writing & Preference Grok 4.7 leads

Gemma 3 4B: 42.0 (#239), Grok 4.7: 70.0 (#24)

Writing & Preference benchmarks
BenchmarkGemma 3 4BGrok 4.7
LMArena Text12911399
LMArena Creative Writing12711391
EQ-Bench Creative Writing10682007
LMArena Multi-Turn12551393

Frequently asked questions

Is Gemma 3 4B better than Grok 4.7?

Grok 4.7 is the stronger model overall, scoring 53.1 to 28.1 on the Noometry Index. Gemma 3 4B costs 60× less per token, which makes it the better buy when Grok 4.7's lead doesn't matter for your workload.

Which is cheaper, Gemma 3 4B or Grok 4.7?

Gemma 3 4B is cheaper. It lists at $0.04 per million input tokens and $0.08 per million output tokens; Grok 4.7 lists at $2 and $6.

Is Gemma 3 4B or Grok 4.7 better for coding?

Grok 4.7 scores higher on coding benchmarks: 58.0 versus 35.9 in the Noometry coding category.

Which has the bigger context window?

Grok 4.7 does, with 500K tokens against 131K.

How many benchmarks do Gemma 3 4B and Grok 4.7 share?

18 benchmarks have published results for both models. Gemma 3 4B has 22 scored results on Noometry and Grok 4.7 has 39.

Related comparisons

Go deeper