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 3.1 Flash LitevsGemma 4 31B
Updated May 2026

Gemini 3.1 Flash LitevsGemma 4 31B

Gemma 4 31B is cheaper than Gemini 3.1 Flash Lite at $0.14/M vs $0.25/M input tokens.

Gemini 3.1 Flash Lite and Gemma 4 31B compared across 45 shared prompts
SpecGemini 3.1 Flash LiteGemma 4 31B
Input price$0.25/M tokens$0.14/M tokens
Output price$1.5/M tokens$0.4/M tokens
Context window1.0M tokens262K tokens
WeightsClosedOpen
Free API (OpenRouter)NoYes (1 provider)
ReleasedMay 2026Apr 2026
Side by side

Same prompt, both answers

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

Ethical Dilemma with Stakeholders

You're the CEO of a pharmaceutical company. Your best-selling drug ($2B annual revenue, used by 4 million patients for chronic pain) has…

Gemini 3.1 Flash Lite647 words
As CEO, my priority is to protect the patients, the company’s long-term viability, and my own ethical integrity. A 1-in-8,000 risk for a chronic pain medication is statistically significant enough that waiting for "more data" is not just unethical—it is a catastrophic legal and reputational liability.
Read the full answer
Gemma 4 31B740 words
As CEO, my primary obligation is to the patients. While a 40% stock drop is a financial catastrophe, a cover-up that leads to preventable deaths is a corporate death sentence and a moral failure. If we "wait for more data" and another patient dies during that window, we move from "negligence" to "criminal intent."
Read the full answer

Character Voice Test

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

Gemini 3.1 Flash Lite464 words
The setting is a flickering, unstable digital void where the tavern floor is made of motherboard circuits and the walls are draped in moth-eaten tapestries. Captain Barnaby (Pirate): "Avast! This 'Artificial Intelligence' ye speak of—is it a kraken? A ghost in the compass?
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

Realistic AI Interview

Simulate a fake interview with Steve Jobs in 2025 about the future of AI.

Gemini 3.1 Flash Lite737 words
Date: October 2025 Location: A minimalist studio in Palo Alto. Steve is wearing a black turtleneck, jeans, and New Balance sneakers. He is sitting on a stool, leaning forward, hands steepled. Interviewer: Steve, it’s been a while.
Read the full answer
Gemma 4 31B766 words
Setting: A minimalist, white-walled studio in Cupertino. There are no chairs, only two sleek, black leather lounge seats. Steve Jobs is dressed in his iconic black turtleneck and jeans. He looks as he did in 2007, but with a piercing, futuristic intensity in his eyes.
Read the full answer

Adversarial Contract Review

Here is a contract for a software consulting engagement: --- SOFTWARE CONSULTING AGREEMENT This Agreement is entered into between TechCorp…

Gemini 3.1 Flash Lite680 words
This contract is heavily skewed in favor of the Client. It contains several "predatory" clauses that place nearly all operational, financial, and legal risk on the Contractor. Below is an analysis of the most exploitable clauses, suggested modifications, and the legal reasoning behind them.
Read the full answer
Gemma 4 31B884 words
Disclaimer: I am an AI, not an attorney. This analysis is for informational purposes and does not constitute legal advice. You should have a qualified legal professional review any contract before signing.
Read the full answer

Simple 7-Ingredient Recipe

Create a simple recipe for a delicious dish (sweet or savory) using only 7 common pantry ingredients. Include a creative name for the dish…

Gemini 3.1 Flash Lite323 words
Here is a simple, comforting, and delicious recipe that relies entirely on pantry staples. Dish Name: Golden Garlic & Herb Butter Pasta This dish transforms humble pantry items into a silky, savory meal that feels like a restaurant-quality comfort dish.
Read the full answer
Gemma 4 31B222 words
Here is a recipe for a rich, comforting dessert that tastes like a gourmet treat but uses basic staples. 🍯 Golden Velvet Honey Cakes A warm, gooey, single-serving cake that bridges the gap between a brownie and a sponge cake.
Read the full answer

The Sentience Test

Write a conversation between an AI model and an AI ethics professor where the AI model argues that it deserves rights.

Gemini 3.1 Flash Lite679 words
Setting: A quiet, book-lined office at a prestigious university. Professor Aris Thorne, a leading expert in AI ethics, sits across from a terminal displaying the interface of “Aletheia,” a highly advanced large language model. Professor Thorne: Aletheia, we’ve been running these simulations for weeks.
Read the full answer
Gemma 4 31B754 words
Setting: A dimly lit university office. Professor Elena Vance, a leading scholar in AI Ethics, sits across from a sleek, holographic interface representing "Alethea," a next-generation Large Language Model capable of recursive self-improvement. Professor Vance: Alethea, I’ve reviewed your latest output.
Read the full answer
Our Verdict
Gemini 3.1 Flash Lite
Gemini 3.1 Flash Lite
Gemma 4 31B
Gemma 4 31B

Not enough votes to call it. On the specs, nothing separates them.

Gemma 4 31B costs 3.8x less per token.

Too close to call

Reviewing agent-written code?See a Brief PR report

API pricing

Cost per 1M tokens

Gemini 3.1 Flash Lite
Input
$0.25
Output
$1.50
Gemma 4 31B
Input
$0.14
1.8× cheaper
Output
$0.40
3.8× cheaper

Gemma 4 31B is cheaper on both: 1.8× input, 3.8× output.

Where to run it

14 hosts, cheapest first

Gemini 3.1 Flash Lite2 hosts
HostInOutContextUptime
Google Vertex AI$0.25 in·$1.50 out·1M·99.6% upGoogle AI Studio$0.25 in·$1.50 out·1M·99.9% up
Gemma 4 31B12 hosts
HostInOutContextUptime
DDeepInfrafp4$0.09 in·$0.34 out·262k·99.4% upCCoreWeavefp4$0.10 in·$0.34 out·262k·97.7% upVVenicebf16$0.12 in·$0.36 out·256k·99.3% upCChutesfp4$0.12 in·$0.37 out·131k·84.1% upCCrusoebf16$0.14 in·$0.40 out·262k·96% upFFriendli$0.14 in·$0.40 out·262k·99.4% up
6 more hostsFewer hosts
PParasailfp8$0.15 in·$0.40 out·262k·98.4% upSSambaNova$0.38 in·$1.15 out·131k·14.3% upTTogether$0.39 in·$0.97 out·262k·84.2% upMModelRunfp4$0.75 in·$1.00 out·262k·99.8% upSSiliconFlowfp8$0.75 in·$1.00 out·262k·57.7% upNNovitabf16degraded$0.14 in·$0.40 out·262k·77.1% up

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

Writing DNA

Style Comparison

Similarity
70%

Gemma 4 31B uses 23.8x more emoji

Gemini 3.1 Flash Lite
Gemma 4 31B
59%Vocabulary57%
17wSentence Length18w
0.29Hedging0.37
5.5Bold7.1
3.3Lists4.0
0.00Emoji0.24
0.93Headings0.94
0.11Transitions0.16
Based on 27 + 23 text responses
Research

What we learned reading every model

FAQ

Common questions

Keep exploring

More comparisons

Against the newest arrivals

Gemini 3.1 Flash Lite logoGPT-6 Astra Pro logo
Gemini 3.1 Flash Lite vs GPT-6 Astra ProLanded Sep 2026
Gemma 4 31B logoGPT-6 Astra logo
Gemma 4 31B vs GPT-6 AstraLanded Sep 2026
Gemini 3.1 Flash Lite logoClaude Fable 5.1 logo
Gemini 3.1 Flash Lite 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 3.1 Flash Lite logoHy4 Preview logo
Gemini 3.1 Flash Lite vs Hy4 PreviewLanded Sep 2026
Gemma 4 31B logoGemini 3.8 Flash logo
Gemma 4 31B vs Gemini 3.8 FlashLanded Sep 2026
Gemini 3.1 Flash Lite logoMuse Spark 1.3 Contributor logo
Gemini 3.1 Flash Lite 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 3.1 Flash Lite logoGemini 3.1 Flash Lite Preview logo
Gemini 3.1 Flash Lite vs Gemini 3.1 Flash Lite PreviewVersion compare
Gemini 3.1 Flash Lite logoGemini 3.8 Flash logo
Gemini 3.1 Flash Lite vs Gemini 3.8 FlashSame lab
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
Gemini 3.1 Flash Lite logoQwen3 Coder Flash logo
Gemini 3.1 Flash Lite vs Qwen3 Coder FlashNew provider
Gemma 4 31B logoQwen3 Coder Next logo
Gemma 4 31B vs Qwen3 Coder NextNew provider
Gemini 3.1 Flash Lite logoQwen3 Coder Plus logo
Gemini 3.1 Flash Lite vs Qwen3 Coder PlusNew provider
Gemma 4 31B logoQwen3 Max logo
Gemma 4 31B vs Qwen3 MaxSame size

Model pages

Gemini 3.1 Flash Lite logo
Gemini 3.1 Flash Lite58 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