Model Comparison

Gemma 4 31B (Reasoning)
vs. M (Reasoning)

Comparing 2 AI models · 11 benchmarks · Google, Sarvam

Recommended Pick

Google logo Gemma 4 31B (Reasoning) 11 metric wins

Strongest on: Throughput, Reasoning, Intelligence

Lowest Price

Google logo

Gemma 4 31B (Reasoning)

$0.00/1M input price

Best Reasoning

Google logo

Gemma 4 31B (Reasoning)

49.2 reasoning score

Blends available reasoning benchmarks

Best for Coding

Google logo

Gemma 4 31B (Reasoning)

38.7 coding index

Composite Indices

Higher is better; speed and price are normalized

Standard Benchmarks

Only benchmarks with data are shown

Differences That Matter

Reasoning gap

Gemma 4 31B (Reasoning) leads M (Reasoning) by 17.5 points on reasoning.

Coding gap

Gemma 4 31B (Reasoning) leads M (Reasoning) by 31.2 points on coding.

Top-pick rationale

Gemma 4 31B (Reasoning) wins 11 measurable categories, including Throughput, Reasoning, Intelligence, Coding.

Live compare

Response Face-Off

Run one prompt through the selected models and compare response quality with live speed and cost context.

Google logo

Gemma 4 31B (Reasoning)

Google

Waiting

TTFT

Time

tok/s

Tokens

Cost

Waiting
Sarvam logo

M (Reasoning)

Sarvam

Waiting

TTFT

Time

tok/s

Tokens

Cost

Waiting

Which answer was more useful?

AI Chat

Chat with 80+ models

Inference API

EU-hosted inference

Full Comparison

Metric
Top Pick
Google logo Gemma 4 31B (Reasoning)
Google
Sarvam logo M (Reasoning)
Sarvam
Pricing per 1M tokens
Input Cost $0.00/1M$0.00/1M
Output Cost $0.00/1M$0.00/1M
Specifications
Organization GoogleSarvam
Release Date Apr 2, 2026May 23, 2025
Performance & Speed
Throughput 34.6 tok/s
TTFT 1022ms
Latency 51172ms
Composite Indices
Reasoning Score 49.231.7
Intelligence 39.28.4
Coding 38.77.5
Standard Benchmarks
GPQA 85.7%41.6%
MMLU Pro 69.6%
HLE 22.7%3.3%
LiveCodeBench 29.5%
MATH 500 84.7%
AIME (Original) 20.3%
SciCode 43.4%17.8%
LCR 62.0%0.0%
IFBench 75.6%31.8%
TAU-bench v2 59.9%0.0%
TerminalBench Hard 36.4%2.3%

Key Takeaways

Gemma 4 31B (Reasoning) offers the best value at $0.00/1M, making it ideal for high-volume applications and cost-conscious projects.

Gemma 4 31B (Reasoning) has the strongest reasoning profile with a 49.2 reasoning score, combining the available reasoning-heavy benchmarks.

Gemma 4 31B (Reasoning) reaches a 38.7 coding index, making it the top choice for software development and code generation tasks.

All models support context windows of ∞+ tokens, suitable for processing lengthy documents and maintaining extended conversations.

When to Choose Each Model

Google logo

Gemma 4 31B (Reasoning)

  • Cost-sensitive applications
  • High-volume processing
  • Complex reasoning tasks
  • Research & analysis
  • Code generation
  • Software development
Sarvam logo

M (Reasoning)

  • General-purpose AI
  • Versatile applications