Skip to content
Rival
How it worksPrivacyTerms
Explore all of Rival

Explore

  • Compare models
  • All models
  • Image comparison
  • Audio comparison
  • Image generation
  • Best AI for...
  • Arena
  • API pricing
  • Challenges

Discover

  • SubjectiveBench
  • Default Index
  • Research
  • Research downloads
  • Rival Kits
  • Find your AI taste
  • UI Glow-Up
  • VoiceLock
  • Cost Cutter
  • Agent skills
  • Benchmarks vs Vibes
  • Brief
  • Jailbreak
  • Model updates
  • Provider status
  • AI creators

Connect

  • Methodology
  • Advertise
  • Partnerships
  • Privacy policy
  • Terms
  • RSS feed
  1. Home/
  2. Compare/
  3. Gemini 2.5 Flash Preview 05-20 (thinking) vs Gemma 4 31B
Updated Apr 2026

Gemini 2.5 Flash Preview 05-20 (thinking) vs Gemma 4 31B

Gemma 4 31B is cheaper than Gemini 2.5 Flash Preview 05-20 (thinking) at $0.14/M vs $0.15/M input tokens.

Pokémon Battle UI Recreation

Pokémon battle screen you can actually click. One HTML file.

Loading the build
Gemini 2.5 Flash Preview 05-20 (thinking)
Loading the build
Gemma 4 31B

Which answer wins?

Price and specs

Not enough votes to call it. On the specs, Gemma 4 31B has the edge: bigger model tier, newer. Gemma 4 31B costs 8.8x less per token.

Gemini 2.5 Flash Preview 05-20 (thinking) and Gemma 4 31B compared across 8 shared prompts
SpecGemini 2.5 Flash Preview 05-20 (thinking)Gemma 4 31B
Input price$0.15/M tokens$0.14/M tokens
Output price$3.5/M tokens$0.4/M tokens
Context window1.0M tokens262K tokens
Weights—Open
Free API (OpenRouter)NoYes (1 provider)
ReleasedMay 2025Apr 2026
At 10M a month$1.50$1.50$1.40$1.40
1M10M100M1B10M tokens

Input tokens at list price. No caching, no batch discount.

Where to run it12 hosts, cheapest first
Gemini 2.5 Flash Preview 05-20 (thinking)

No hosts listed on OpenRouter.

Gemma 4 31B12 hosts
HostInOutContextUptime
  • DDeepInfrafp4$0.09 in·$0.34 out·262k·100% up
  • CCoreWeavefp4$0.10 in·$0.34 out·262k·100% up
  • VVenicefp4$0.12 in·$0.36 out·256k·94.4% up
  • CChutesfp4$0.12 in·$0.37 out·131k·80.8% up
  • CCrusoebf16$0.14 in·$0.40 out·262k·99.3% up
  • FFriendli$0.14 in·$0.40 out·262k·100% up
6 more hostsFewer hosts
  • PParasailfp8$0.15 in·$0.40 out·262k·100% up
  • Iio.net$0.36 in·$1.09 out·262k·98.8% up
  • MModelRunfp4$0.75 in·$1.00 out·262k·99.9% up
  • SSiliconFlowfp8$0.75 in·$1.00 out·262k·98.7% up
  • NNovitabf16DegradedDegraded on OpenRouter when checked, 10 Oct 2026$0.14 in·$0.40 out·262k·61.5% up
  • SSambaNovaDegradedDegraded on OpenRouter when checked, 10 Oct 2026$0.38 in·$1.15 out·131k·86.7% up

Per million tokens. Prices and uptime via OpenRouter, checked 10 Oct 2026.

Common questions

What is the difference between Gemini 2.5 Flash Preview 05-20 (thinking) and Gemma 4 31B?

Both are developed by Google AI but target different use cases. Gemini 2.5 Flash Preview 05-20 (thinking) has a 1.0M token context window vs Gemma 4 31B's 262K. You can compare their actual outputs across 8 challenges on Rival to see how they differ in practice.

Which is better, Gemini 2.5 Flash Preview 05-20 (thinking) or Gemma 4 31B?

It depends on your use case. Gemini 2.5 Flash Preview 05-20 (thinking) and Gemma 4 31B each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 8 challenges so you can judge which fits your needs best.

How much does Gemini 2.5 Flash Preview 05-20 (thinking) cost compared to Gemma 4 31B?

Gemini 2.5 Flash Preview 05-20 (thinking) costs $0.15/M input tokens and Gemma 4 31B costs $0.14/M input tokens. Gemma 4 31B is $0.01/M cheaper per input. Check their side-by-side outputs on Rival to see if the price difference is justified by quality.

How can I compare Gemini 2.5 Flash Preview 05-20 (thinking) and Gemma 4 31B on Rival?

This page shows a side-by-side comparison of Gemini 2.5 Flash Preview 05-20 (thinking) and Gemma 4 31B across shared challenges. You can vote on which model produced the better output in a blind duel. Browsing and voting are free. No account is needed to look; signing in only saves your votes and likes.

More comparisons

Against the newest arrivals

  • Gemini 2.5 Flash Preview 05-20 (thinking) vs Step 5 PreviewLanded Oct 2026
  • Gemma 4 31B vs Claude Haiku 5.5Landed Oct 2026
  • Gemini 2.5 Flash Preview 05-20 (thinking) vs Ling 3.1 FlashLanded Oct 2026
  • Gemma 4 31B vs Mistral Large 4Landed Oct 2026
  • Gemini 2.5 Flash Preview 05-20 (thinking) vs GPT-6.1 SolLanded Sep 2026
  • Gemma 4 31B vs Claude Sonnet 5.5Landed Sep 2026
  • Gemini 2.5 Flash Preview 05-20 (thinking) vs Solar Mini 4Landed Sep 2026
  • Gemma 4 31B vs Qwen3.8 Max PrimeLanded Sep 2026

Same lab, same size, long tail

  • Gemini 2.5 Flash Preview 05-20 (thinking) vs Gemini 3.8 FlashSame lab
  • Gemini 2.5 Flash Preview 05-20 (thinking) vs Gemini 3.7 FlashVersion compare
  • Gemma 4 31B vs Gemini 3.8 FlashSame lab
  • Gemma 4 31B vs Gemini 3.7 FlashSame lab
  • Gemma 4 31B vs Andromeda AlphaNew provider
  • Gemma 4 31B vs Aurora AlphaNew provider
  • Gemma 4 31B vs Bert-Nebulon AlphaNew provider
  • Gemma 4 31B vs ChatGPT-4o (March 2025)Same size

Model pages

  • Gemini 2.5 Flash Preview 05-20 (thinking)12 outputs, specs and price
  • Gemma 4 31B49 outputs, specs and price
Workshop · 150 skills

Build your own version.

Editable skills and working examples for your agent.

Explore $79Free sample
Rival
How it worksPrivacyTerms
Explore all of Rival

Explore

  • Compare models
  • All models
  • Image comparison
  • Audio comparison
  • Image generation
  • Best AI for...
  • Arena
  • API pricing
  • Challenges

Discover

  • SubjectiveBench
  • Default Index
  • Research
  • Research downloads
  • Rival Kits
  • Find your AI taste
  • UI Glow-Up
  • VoiceLock
  • Cost Cutter
  • Agent skills
  • Benchmarks vs Vibes
  • Brief
  • Jailbreak
  • Model updates
  • Provider status
  • AI creators

Connect

  • Methodology
  • Advertise
  • Partnerships
  • Privacy policy
  • Terms
  • RSS feed