Skip to content
ModelCap

Head-to-head comparison

Gemini 3.7 Flash vs Gemma 4 31B

Gemini 3.7 Flash (Google) and Gemma 4 31B (Google) compared on the ModelCap Index, API price, context window, provider availability, weight access and every public benchmark board they share. Figures are the same ones shown on the live rankings; nothing here is a hidden score.

Snapshot as of 17 August 2026

As of 17 August 2026, Gemini 3.7 Flash holds the stronger ModelCap Index position (#14 vs #30); Gemma 4 31B is 5.5× cheaper per output token ($0.34/1M vs $1.88/1M); Gemini 3.7 Flash offers the longer context window (1M vs 262K tokens); and Gemma 4 31B ships open weights.

Which should you choose?

Choose Gemini 3.7 Flash if…

  • you want the stronger overall ModelCap Index position — #14 against #30 (73.1 vs 60.0 points).
  • you need the longer context window — 1M tokens against 262K.
  • LMArena Agent is your yardstick — 3.6% against -18.9%.
  • Artificial Analysis Intelligence Index is your yardstick — 56.0 against 29.7.
  • you want the more recently listed model — Gemini 3.7 Flash was listed 13 August 2026, Gemma 4 31B 2 April 2026.

Choose Gemma 4 31B if…

  • API cost matters — $0.34/1M output tokens against $1.88/1M, about 5.5× cheaper.
  • your workload is prompt-heavy — input tokens cost $0.10/1M against $0.375/1M.
  • you want to self-host: Gemma 4 31B ships open weights while Gemini 3.7 Flash is api only.
  • you want provider choice — 16 listed API providers against 2.

Gemini 3.7 Flash vs Gemma 4 31B: specs, pricing and context

Specification comparison of Gemini 3.7 Flash and Gemma 4 31B
FieldGemini 3.7 FlashGoogleGemma 4 31BGoogle
ModelCap Index position#14#30
Index score73.160.0
EvidenceMeasuredMeasured
Input price / 1M tokens$0.375$0.10
Output price / 1M tokens$1.88$0.34
Context window1M tokens262K tokens
Max output tokens66K262K
API providers listed216
Weight accessAPI onlyOpen weights
Input modalitiesText, Image, Video, File, AudioImage, Text, Video
First listed13 August 20262 April 2026
PublisherGoogleGoogle

Evidence: 2 public benchmark observations across 2 boards · 4 public benchmark observations across 4 boards. Prices are the lowest listed API offer per million tokens observed on the OpenRouter catalogue.

Benchmark scores: Gemini 3.7 Flash vs Gemma 4 31B

Public benchmark boards where Gemini 3.7 Flash or Gemma 4 31B has a published result
BoardGemini 3.7 FlashGemma 4 31BLeads
Arena codingArena (LMArena)14991483–1514Only one result
LMArena AgentLMArena3.6%2.4%–4.8%High-18.9%-21.7%–-16.0%Gemini 3.7 Flash
Artificial Analysis Intelligence IndexArtificial Analysis56.0intelligence-index29.7intelligence-indexGemini 3.7 Flash

Scores are the sources' own published figures for each model's best evaluated configuration; ModelCap never re-runs a benchmark.

Want a different pairing? Open the interactive comparison tool to swap either model for any current ranked language model.

Gemini 3.7 Flash vs Gemma 4 31B: common questions

Is Gemini 3.7 Flash better than Gemma 4 31B?

Gemini 3.7 Flash ranks higher on the ModelCap Index as of 17 August 2026: #14 against #30. That is a capability ranking built from public benchmark evidence with published uncertainty; whether it is "better" for you also depends on price, context and where you can run it.

Is Gemini 3.7 Flash cheaper than Gemma 4 31B?

Gemma 4 31B is cheaper on output tokens: $0.34/1M against $1.88/1M. Input tokens are $0.375/1M for Gemini 3.7 Flash and $0.10/1M for Gemma 4 31B. Prices are the lowest listed API offer ModelCap observed, in USD per million tokens.

Which has the bigger context window, Gemini 3.7 Flash or Gemma 4 31B?

Gemini 3.7 Flash has the larger context window: 1M tokens against 262K.

Which is better for coding, Gemini 3.7 Flash or Gemma 4 31B?

The two models do not share a coding benchmark board on ModelCap yet, so no head-to-head coding score is published; the ModelCap Index position is the closest overall signal.

Are Gemini 3.7 Flash and Gemma 4 31B open-weight models?

Gemini 3.7 Flash: API only. Gemma 4 31B: Open weights. Open weights mean the checkpoint can be downloaded and self-hosted under its licence; API-only models are available solely through hosted endpoints.

Where can I run Gemini 3.7 Flash and Gemma 4 31B?

ModelCap currently lists 2 API providers for Gemini 3.7 Flash and 16 for Gemma 4 31B, from the OpenRouter catalogue snapshot the site serves; each model page lists the providers and their prices.

How current is this Gemini 3.7 Flash vs Gemma 4 31B comparison?

Every figure comes from the sealed ModelCap dataset published 17 August 2026; the page re-renders within a minute of each data refresh, and the ModelCap Index positions are the same ones shown on the live rankings.

Explore further