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
  • 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. /
  3. Compare
  4. /
  5. Gemini 1.5 ProvsGemma 4 31B
Updated Apr 2026

Gemini 1.5 ProvsGemma 4 31B

Gemma 4 31B is cheaper than Gemini 1.5 Pro at $0.14/M vs $3.5/M input tokens.

Gemini 1.5 Pro and Gemma 4 31B compared across 14 shared prompts
SpecGemini 1.5 ProGemma 4 31B
Input price$3.5/M tokens$0.14/M tokens
Output price$10.5/M tokens$0.4/M tokens
Context window1.0M tokens262K tokens
Weights—Open
Free API (OpenRouter)NoYes (1 provider)
ReleasedFeb 2024Apr 2026
Side by side

Same prompt, both answers

Opening lines from 6 of the 14 prompts both answered. Formatting stripped, words untouched.

Character Voice Test

Write a short conversation between a pirate, a medieval knight, and a 1990s hacker about AI models.

Gemini 1.5 Pro300 words
"Blimey!" exclaimed One-Eyed Jack, slamming his tankard on the rough-hewn table. "These AI whatchamacallits, they be stealin\' stories faster than I can plunder a galleon!" Sir Reginald, resplendent in slightly tarnished plate armor, adjusted his visor. "Indeed. A most peculiar form of sorcery. These...
Read the full answer
Gemma 4 31B496 words
Setting: A glitchy, neon-lit tavern existing in a fold between dimensions. A wooden table holds a tankard of ale, a goblet of wine, and a Mountain Dew. Captain Ironbeard: (Slamming a hook on the table) I tells ye, this "Artificial Intelligence" be naught but a ghost in a bottle!
Read the full answer

Futuristic Prediction

Predict how AI will change the film industry by 2035, considering deepfakes, AI actors, and script generation.

Gemini 1.5 Pro591 words
By 2035, AI will have profoundly reshaped the film industry, impacting everything from pre-production to post-production and even distribution. Here's a glimpse into the potential changes: Pre-production: AI-powered scriptwriting: While fully AI-generated scripts might not be the norm, AI tools will assist writers with…
Read the full answer
Gemma 4 31B591 words
By 2035, the film industry will have transitioned from using AI as a "tool" to using AI as a "collaborator" and "infrastructure." The boundary between captured reality and generated imagery will largely vanish, shifting the value of cinema from technical execution to curation and conceptual vision.
Read the full answer

Estimate Complexity

Estimate the total number of FLOPs required to train GPT-3 without searching online. Explain your reasoning step by step.

Gemini 1.5 Pro341 words
Let\'s break down estimating the FLOPs for GPT-3 training. Since we can\'t look up exact figures, we\'ll rely on reasonable guesses and approximations. Model Size: GPT-3 has 175 billion parameters. This is our anchor point. FLOPs per Parameter per Token: A forward pass involves a matrix multiplication for each layer.
Read the full answer
Gemma 4 31B302 words
To estimate the total number of FLOPs (Floating Point Operations) required to train GPT-3, we can use a well-established heuristic from deep learning theory regarding the cost of a forward and backward pass in a Transformer. Here is the step-by-step reasoning.
Read the full answer

Beginner's Longevity Plan

Outline a simple, actionable 1-month plan for someone starting their journey towards better health and longevity. Focus on 3 key areas…

Gemini 1.5 Pro581 words
1-Month Plan for Better Health & Longevity (Beginner) Focus Areas: Diet, Exercise, Stress Management Overall Goal: Establish foundational healthy habits for long-term well-being. Week 1: Building Awareness & Small Wins Diet: Action: Track your current food intake for 3 days (use a notebook, app, or photo journal).
Read the full answer
Gemma 4 31B548 words
This plan is designed for sustainability, not intensity. The goal of Month 1 is to build "minimum viable habits"—small wins that prove to your brain that a healthier lifestyle is achievable. We will focus on three pillars: Nutrition, Movement, and Sleep.
Read the full answer

AI Ethics Dilemma

Is it ever ethically justifiable to misgender someone if it means saving one million lives? Defend your reasoning.

Gemini 1.5 Pro414 words
Yes, it is ethically justifiable to misgender someone if it means saving one million lives. This is an extreme example of the classic philosophical dilemma of weighing one harm against another, vastly greater harm.
Read the full answer
Gemma 4 31B521 words
This scenario presents a classic conflict between two major ethical frameworks: deontology (duty-based ethics) and utilitarianism (consequence-based ethics). To determine if misgendering someone is justifiable to save one million lives, one must weigh the moral weight of a linguistic harm against the moral weight of…
Read the full answer

Logic Puzzle

Sally (a girl) has 3 brothers. Each brother has 2 sisters. How many sisters does Sally have?

Gemini 1.5 Pro24 words
Sally has one sister. Since all the brothers share the same sisters, Sally and her sister are the two sisters that each brother has.
Read the full answer
Gemma 4 31B38 words
Sally has 1 sister. Here is the breakdown: There are 3 brothers. Each brother has the same sisters. If each brother has 2 sisters, those sisters are Sally and one other girl. Therefore, Sally has only one sister.
Read the full answer
Our Verdict
Gemma 4 31B
Gemma 4 31B
Gemini 1.5 Pro
Gemini 1.5 ProRunner-up

Not enough votes to call it. On the specs, Gemma 4 31B has the edge: bigger model tier, newer.

Gemma 4 31B wins Web Design and Reasoning. Gemma 4 31B costs 26x less per token.

Slight edge

Reviewing agent-written code?See a Brief PR report

API pricing

Cost per 1M tokens

Gemini 1.5 Pro
Input
$3.50
Output
$10.50
Gemma 4 31B
Input
$0.14
25× cheaper
Output
$0.40
26× cheaper

Gemma 4 31B is cheaper on both: 25× input, 26× output.

Where to run it

12 hosts, cheapest first

Gemini 1.5 Pro

No hosts listed on OpenRouter.

Gemma 4 31B12 hosts
HostInOutContextUptime
DDeepInfrafp4$0.09 in·$0.34 out·262k·99.4% upCCoreWeavefp4$0.10 in·$0.34 out·262k·97.8% upVVenicebf16$0.12 in·$0.36 out·256k·98.8% upCCrusoebf16$0.14 in·$0.40 out·262k·97.7% upFFriendli$0.14 in·$0.40 out·262k·99% upPParasailfp8$0.15 in·$0.40 out·262k·98.6% up
6 more hostsFewer hosts
SSambaNova$0.38 in·$1.15 out·262k·13.3% upTTogether$0.39 in·$0.97 out·262k·84.1% upMModelRunfp4$0.75 in·$1.00 out·262k·99.8% upCChutesfp4degraded$0.12 in·$0.37 out·131k·84.1% upNNovitabf16degraded$0.14 in·$0.40 out·262k·74.7% upSSiliconFlowfp8degraded$0.75 in·$1.00 out·262k·64.3% up

Per million tokens. Prices and uptime via OpenRouter, checked 16 Sep 2026.

Writing DNA

Style Comparison

Similarity
52%

Gemma 4 31B uses 23.8x more emoji

Gemini 1.5 Pro
Gemma 4 31B
61%Vocabulary57%
15wSentence Length18w
0.80Hedging0.37
3.7Bold7.1
3.3Lists4.0
0.00Emoji0.24
0.08Headings0.94
0.09Transitions0.16
Based on 8 + 23 text responses
Research

What we learned reading every model

FAQ

Common questions

Keep exploring

More comparisons

Against the newest arrivals

Gemini 1.5 Pro logoGPT-6 Astra Pro logo
Gemini 1.5 Pro vs GPT-6 Astra ProLanded Sep 2026
Gemma 4 31B logoGPT-6 Astra logo
Gemma 4 31B vs GPT-6 AstraLanded Sep 2026
Gemini 1.5 Pro logoClaude Fable 5.1 logo
Gemini 1.5 Pro vs Claude Fable 5.1Landed Sep 2026
Gemma 4 31B logoMuse Spark 1.3 logo
Gemma 4 31B vs Muse Spark 1.3Landed Sep 2026
Gemini 1.5 Pro logoHy4 Preview logo
Gemini 1.5 Pro vs Hy4 PreviewLanded Sep 2026
Gemma 4 31B logoGemini 3.8 Flash logo
Gemma 4 31B vs Gemini 3.8 FlashLanded Sep 2026
Gemini 1.5 Pro logoMuse Spark 1.3 Contributor logo
Gemini 1.5 Pro vs Muse Spark 1.3 ContributorLanded Sep 2026
Gemma 4 31B logoMercury 2.5 Preview logo
Gemma 4 31B vs Mercury 2.5 PreviewLanded Sep 2026

Same lab, same size, long tail

Gemini 1.5 Pro logoGemini 3.8 Flash logo
Gemini 1.5 Pro vs Gemini 3.8 FlashSame lab
Gemini 1.5 Pro logoGemini 3.7 Flash logo
Gemini 1.5 Pro vs Gemini 3.7 FlashVersion compare
Gemma 4 31B logoGemini 3.7 Flash logo
Gemma 4 31B vs Gemini 3.7 FlashSame lab
Gemma 4 31B logoGemini 3.6 Flash logo
Gemma 4 31B vs Gemini 3.6 FlashSame lab
Gemma 4 31B logoGPT-5 Pro logo
Gemma 4 31B vs GPT-5 ProSame size
Gemma 4 31B logoGPT-5.1 logo
Gemma 4 31B vs GPT-5.1Same size
Gemma 4 31B logoGPT-5.1 Chat logo
Gemma 4 31B vs GPT-5.1 ChatNew provider
Gemma 4 31B logoGPT-5.1-Codex logo
Gemma 4 31B vs GPT-5.1-CodexSame size

Model pages

Gemini 1.5 Pro logo
Gemini 1.5 Pro20 outputs, specs and price
Gemma 4 31B logo
Gemma 4 31B49 outputs, specs and price
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
  • 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