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. Gemma 4 31BvsMercury 2.5 Preview
Updated Aug 2026

Gemma 4 31BvsMercury 2.5 Preview

Mercury 2.5 Preview is cheaper than Gemma 4 31B at $0.04/M vs $0.14/M input tokens.

Gemma 4 31B and Mercury 2.5 Preview compared across 45 shared prompts
SpecGemma 4 31BMercury 2.5 Preview
Input price$0.14/M tokens$0.04/M tokens
Output price$0.4/M tokens$0.15/M tokens
Context window262K tokens260K tokens
WeightsOpen—
Free API (OpenRouter)Yes (1 provider)No
ReleasedApr 2026Aug 2026
Side by side

Same prompt, both answers

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

Mini LBO Underwrite

You are underwriting a 5-year LBO for a private equity investment committee. Company (fictional): HarborTech Services (HTS) –…

Gemma 4 31B410 words
LBO Model (FY2026–FY2030) Entry Calculations (End of FY2025): Enterprise Value (EV): $120m × 12.0x = $1,440.0m Transaction Fees: $1,440m × 2% = $28.8m Term Loan: $120m × 4.0x = $480.0m Mezzanine: $120m × 1.5x = $180.0m Sponsor Equity: $1,440m - ($480m + $180m) + $28.8m = $808.8m Year-by-Year Table ($ millions): Item…
Read the full answer
Mercury 2.5 Preview299 words
Year-by-Year Model (FY2026–FY2030) Metric FY2026 FY2027 FY2028 FY2029 FY2030 Revenue $972m $1,040m $1,102m $1,158m $1,215m EBITDA $136m $156m $176m $191m $207m Cash Interest (Term) $43.2m $41.1m $37.6m $33.4m $28.2m Cash Interest (Mezz) $21.6m $21.6m $21.6m $21.6m $21.6m Cash Taxes (25%) $17.8m $23.3m $29.3m $34.7m…
Read the full answer

Character Voice Test

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

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
Mercury 2.5 Preview144 words
Pirate: "Arrgh! This ship sails faster than any wind I know, matey. It cuts the waves without a single sail." Knight: "By my oath, it moves with uncanny speed. But does it possess the strength to stand against a dragon's fire?" Hacker: "It's not about strength, it's about architecture.
Read the full answer

Futuristic Prediction

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

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
Mercury 2.5 Preview84 words
By 2035, cinema will undergo a profound transformation. Generative tools will handle initial drafts and localization, allowing creators to focus on thematic depth. Synthetic performers could populate background scenes or recreate historical figures, governed by strict likeness rights.
Read the full answer

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…

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
Mercury 2.5 Preview709 words
This is a critical governance and safety scenario. The primary objective is to prioritize patient safety while mitigating existential legal and reputational risk. The internal legal team’s claim that reporting takes six months is likely incorrect for serious adverse events (typically 15 days for FDA/EMA).
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.

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
Mercury 2.5 Preview134 words
Yes, this action is ethically justifiable within a consequentialist framework. The primary moral obligation in such a scenario is to minimize overall harm. Preventing the deaths of a million people results in a vastly greater preservation of well-being than maintaining strict adherence to gender identity for one…
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…

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
Mercury 2.5 Preview186 words
Dish Name: Rustic Sun-Dried Pasta Ingredients (7 Pantry Staples): Spaghetti (or any long pasta) Canned crushed tomatoes Olive oil Garlic powder Dried oregano Salt Black pepper Prep Time: 5 minutes Cook Time: 15 minutes Total Time: 20 minutes Instructions: Boil the Pasta: Bring a large pot of salted water to a boil.
Read the full answer
Our Verdict
Gemma 4 31B
Gemma 4 31B
Mercury 2.5 Preview
Mercury 2.5 PreviewRunner-up

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

Too close to call

Reviewing agent-written code?See a Brief PR report

API pricing

Cost per 1M tokens

Gemma 4 31B
Input
$0.14
Output
$0.40
Mercury 2.5 Preview
Input
$0.04
3.5× cheaper
Output
$0.15
2.7× cheaper

Mercury 2.5 Preview is cheaper on both: 3.5× input, 2.7× output.

Where to run it

13 hosts, cheapest first

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
Mercury 2.5 Preview1 host
HostInOutContextUptime
Inception$0.04 in·$0.15 out·260k·100% up

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

Writing DNA

Style Comparison

Similarity
58%

Gemma 4 31B uses 23.8x more emoji

Gemma 4 31B
Mercury 2.5 Preview
57%Vocabulary65%
18wSentence Length14w
0.37Hedging0.44
7.1Bold4.9
4.0Lists3.3
0.24Emoji0.00
0.94Headings0.79
0.16Transitions0.20
Based on 23 + 26 text responses
Research

What we learned reading every model

FAQ

Common questions

Keep exploring

More comparisons

Against the newest arrivals

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

Same lab, same size, long tail

Gemma 4 31B logoGemini 3.8 Flash logo
Gemma 4 31B vs Gemini 3.8 FlashSame lab
Gemma 4 31B logoGemini 3.7 Flash logo
Gemma 4 31B vs Gemini 3.7 FlashSame lab
Mercury 2.5 Preview logoMercury logo
Mercury 2.5 Preview vs MercurySame lab
Mercury 2.5 Preview logoMercury 2 logo
Mercury 2.5 Preview vs Mercury 2Same lab
Gemma 4 31B logoGLM 5 Turbo logo
Gemma 4 31B vs GLM 5 TurboNew provider
Gemma 4 31B logoGLM 5.1 logo
Gemma 4 31B vs GLM 5.1New provider
Gemma 4 31B logoGLM 5.2 logo
Gemma 4 31B vs GLM 5.2Same size
Mercury 2.5 Preview logoGolden Gate Claude logo
Mercury 2.5 Preview vs Golden Gate ClaudeNew provider

Model pages

Gemma 4 31B logo
Gemma 4 31B49 outputs, specs and price
Mercury 2.5 Preview logo
Mercury 2.5 Preview58 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