Model comparison

Gemma 4 31B IT vs Sonar

Gemma 4 31B IT is the stronger model overall, scoring 43.5 to 38.5 on the Noometry Index.

Last verified . 0 shared benchmarks.

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

Sonar Perplexity

38.5

Rank #187 Confirmed

Summary

  • The widest gap is in math, where Gemma 4 31B IT leads 43.2 to 33.7.
  • Gemma 4 31B IT is cheaper at $0.09 / $0.34 per million input/output tokens, against $1 / $1 for Sonar.
  • Gemma 4 31B IT accepts more context: 262K tokens versus 128K.
  • Gemma 4 31B IT has downloadable open weights; the other is API-only.

Side by side

Gemma 4 31B IT and Sonar specifications
Gemma 4 31B ITSonar
ProviderGooglePerplexity
Noometry Index43.538.5
Released2026-04-022024-01-01
WeightsOpenProprietary
Context window262K128K
Max output33K4K
Input $ / M tokens$0.09$1
Output $ / M tokens$0.34$1
Results tracked357

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

Category by category

Coding Gemma 4 31B IT leads

Gemma 4 31B IT: 42.3 (#108), Sonar: 35.7 (#221)

Coding benchmarks
BenchmarkGemma 4 31B ITSonar
LMArena WebDev1366—
SciCode43.4%—
WeirdML52.3%—
LiveBench Coding—35.1%
LMArena Coding1459—
ALE-Bench925.5—

Reasoning Gemma 4 31B IT leads

Gemma 4 31B IT: 27.2 (#122), Sonar: 21.1 (#227)

Reasoning benchmarks
BenchmarkGemma 4 31B ITSonar
Kagi LLM Benchmark63.5%—
NYT Connections (extended)70.6%—
CritPt1.4%—
Chess Puzzles5%—
Thematic Generalization53%—
LiveBench Reasoning—46.3%
LMArena Hard Prompts1448—
DTBench82.7%—
LiveBench Data Analysis—37.9%
LMCA39.3%—
Surface Evolver Bench30.6%—
Epoch Capabilities Index142.74—
LiveBench—46.9%

Math Gemma 4 31B IT leads

Gemma 4 31B IT: 43.2 (#81), Sonar: 33.7 (#200)

Math benchmarks
BenchmarkGemma 4 31B ITSonar
OTIS Mock AIME 2024-202573.3%—
LiveBench Math—41.6%
LMArena Math1465—

Knowledge Not comparable

Gemma 4 31B IT: 37.9 (#151), Sonar: —

Knowledge benchmarks
BenchmarkGemma 4 31B ITSonar
GPQA Diamond75.8%—
SimpleQA Verified10.4%—
Vectara Hallucination Rate7.4%—
LMArena Expert1465—

Multimodal Not comparable

Gemma 4 31B IT: 41.6 (#34), Sonar: —

Multimodal benchmarks
BenchmarkGemma 4 31B ITSonar
LMArena Vision1277—
LMArena Document1425—

Multilingual Not comparable

Gemma 4 31B IT: 53.8 (#57), Sonar: —

Multilingual benchmarks
BenchmarkGemma 4 31B ITSonar
LMArena Non-English1431—
LMArena Chinese1476—
LMArena French1435—
LMArena Russian1460—
LMArena Spanish1444—

Instruction Following Gemma 4 31B IT leads

Gemma 4 31B IT: 75.5 (#61), Sonar: 71.4 (#150)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITSonar
LiveBench Instruction Following—76.2%
LMArena Instruction Following1433—

Long Context Not comparable

Gemma 4 31B IT: 44.2 (#71), Sonar: —

Long Context benchmarks
BenchmarkGemma 4 31B ITSonar
LMArena Longer Query1446—

Writing & Preference Gemma 4 31B IT leads

Gemma 4 31B IT: 60.5 (#96), Sonar: 52.6 (#167)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITSonar
LMArena Text1443—
LMArena Creative Writing1415—
EQ-Bench Creative Writing1368—
EQ-Bench 41120—
LMArena Multi-Turn1452—
LiveBench Language—44.1%

Frequently asked questions

Is Gemma 4 31B IT better than Sonar?

Gemma 4 31B IT is the stronger model overall, scoring 43.5 to 38.5 on the Noometry Index.

Which is cheaper, Gemma 4 31B IT or Sonar?

Gemma 4 31B IT is cheaper. It lists at $0.09 per million input tokens and $0.34 per million output tokens; Sonar lists at $1 and $1.

Is Gemma 4 31B IT or Sonar better for coding?

Gemma 4 31B IT scores higher on coding benchmarks: 42.3 versus 35.7 in the Noometry coding category.

Which has the bigger context window?

Gemma 4 31B IT does, with 262K tokens against 128K.

How many benchmarks do Gemma 4 31B IT and Sonar share?

0 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and Sonar has 7.

Related comparisons

Go deeper