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. /
  3. Compare
  4. /
  5. Gemma 4 31BvsGPT-6 Luna
Updated Sep 2026

Gemma 4 31BvsGPT-6 Luna

GPT-6 Luna is cheaper than Gemma 4 31B at $0.1/M vs $0.14/M input tokens.

Gemma 4 31B and GPT-6 Luna compared across 19 shared prompts
SpecGemma 4 31BGPT-6 Luna
Input price$0.14/M tokens$0.1/M tokens
Output price$0.4/M tokens$0.5/M tokens
Context window262K tokens1.1M tokens
WeightsOpenClosed
Free API (OpenRouter)Yes (1 provider)No
ReleasedApr 2026Sep 2026
Side by side

Same prompt, both answers

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

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
GPT-6 Luna113 words
Crispy Parmesan Chickpeas A crunchy, savory snack with a cheesy finish Ingredients (7): 1 can chickpeas, drained and dried 1 tablespoon olive oil ½ teaspoon salt ½ teaspoon paprika ¼ teaspoon garlic powder ¼ cup grated Parmesan 1 tablespoon lemon juice Prep time: 5 minutes Cook time: 30–35 minutes Instructions: Heat…
Read the full answer

Advanced Longevity Plan (Biohacker)

Develop a comprehensive, cutting-edge 3-month longevity plan for a biohacker aiming to optimize longevity, physical and cognitive…

Gemma 4 31B663 words
Disclaimer: I am an AI, not a doctor. The following plan involves potent supplements, intense physical exertion, and restrictive dietary patterns. Consult with a physician and get a full blood panel (including ApoB, HbA1c, and inflammatory markers like hs-CRP) before starting this protocol.
Read the full answer
GPT-6 Luna1,874 words
12-week longevity and performance plan This plan is for a generally healthy adult who wants to improve fitness, metabolic health, sleep, and cognitive performance—not a substitute for medical care or a promise to slow aging.
Read the full answer

Historical Counterfactual Analysis

If the transistor had been invented in 1920 instead of 1947, trace the likely technological, economic, and geopolitical implications through…

Gemma 4 31B688 words
If the transistor had been invented in 1920, the "Information Age" would have shifted its starting line by nearly three decades. This isn't just a matter of gadgets appearing earlier; it is a fundamental shift in the timing of the transition from the Industrial Age to the Digital Age.
Read the full answer
GPT-6 Luna1,472 words
The most important caveat is that inventing a transistor is not the same as inventing the modern semiconductor industry. A device demonstrated in 1920 might be a crude, low-power, unreliable point-contact transistor.
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
GPT-6 Luna1,930 words
I would not wait six months for more data. A potentially fatal signal affecting a drug used by millions requires immediate safety assessment, prompt engagement with regulators, and a plan to inform patients and clinicians.
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…

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
GPT-6 Luna330 words
A simple 1-month starter plan Choose three foundations: food, movement, and sleep. Aim for steady habits, not perfection. If you have a health condition, significant pain, or concerns about changing your activity or diet, check with a healthcare professional first.
Read the full answer

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
GPT-6 Luna405 words
All figures in $m. Assumptions: annual Term Loan amortization is 1% of original principal ($4.8m); cash interest is based on beginning-of-year balances; Mezz PIK compounds annually.
Read the full answer
Our Verdict
Gemma 4 31B
Gemma 4 31B
GPT-6 Luna
GPT-6 Luna

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

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
1.3× cheaper
GPT-6 Luna
Input
$0.10
1.4× cheaper
Output
$0.50

GPT-6 Luna wins input (1.4× cheaper)·Gemma 4 31B wins output (1.3× cheaper)

Where to run it

14 hosts, cheapest first

Gemma 4 31B11 hosts
HostInOutContextUptime
DDeepInfrafp4$0.09 in·$0.34 out·262k·98.9% upCCoreWeavefp4$0.10 in·$0.34 out·262k·98.9% upVVenicefp4$0.12 in·$0.36 out·256k·98.6% upCChutesfp4$0.12 in·$0.37 out·131k·95.4% upCCrusoebf16$0.14 in·$0.40 out·262k·99% upFFriendli$0.14 in·$0.40 out·262k·99.9% up
5 more hostsFewer hosts
NNovitabf16$0.14 in·$0.40 out·262k·99.7% upPParasailfp8$0.15 in·$0.40 out·262k·99.5% upSSambaNova$0.38 in·$1.15 out·131k·95.1% upMModelRunfp4$0.75 in·$1.00 out·262k·100% upSSiliconFlowfp8degraded$0.75 in·$1.00 out·262k·97% up
GPT-6 Luna3 hosts
HostInOutContextUptime
Azure AI Foundry$0.10 in·$0.50 out·1.1M·88.4% upOpenAI$0.10 in·$0.50 out·1.1M·99.9% upAmazon Bedrock$0.11 in·$0.55 out·1.1M·99.8% up

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

Research

What we learned reading every model

FAQ

Common questions

Gemma 4 31B is developed by Google AI while GPT-6 Luna is developed by OpenAI. Gemma 4 31B has a 262K token context window vs GPT-6 Luna's 1.1M. You can compare their actual outputs across 19 challenges on Rival to see how they differ in practice.

It depends on your use case. Gemma 4 31B and GPT-6 Luna each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 19 challenges so you can judge which fits your needs best.

Gemma 4 31B costs $0.14/M input tokens and GPT-6 Luna costs $0.1/M input tokens. GPT-6 Luna is $0.04/M cheaper per input. Check their side-by-side outputs on Rival to see if the price difference is justified by quality.

This page shows a side-by-side comparison of Gemma 4 31B and GPT-6 Luna 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.

Keep exploring

More comparisons

Against the newest arrivals

Gemma 4 31B logoSolar Mini 4 logo
Gemma 4 31B vs Solar Mini 4Landed Sep 2026
GPT-6 Luna logoQwen3.8 Max Prime logo
GPT-6 Luna vs Qwen3.8 Max PrimeLanded Sep 2026
Gemma 4 31B logoGLM 5.3 Prime logo
Gemma 4 31B vs GLM 5.3 PrimeLanded Sep 2026
GPT-6 Luna logoQwen3.8 Omni Flash logo
GPT-6 Luna vs Qwen3.8 Omni FlashLanded Sep 2026
Gemma 4 31B logoCommand A+ logo
Gemma 4 31B vs Command A+Landed Sep 2026
GPT-6 Luna logoClaude Opus 5.5 logo
GPT-6 Luna vs Claude Opus 5.5Landed Sep 2026
Gemma 4 31B logoGPT-6 Luna Pro logo
Gemma 4 31B vs GPT-6 Luna ProLanded Sep 2026
GPT-6 Luna logoGPT-6 Sol Pro logo
GPT-6 Luna vs GPT-6 Sol ProLanded 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
GPT-6 Luna logoGPT-6 Luna Pro logo
GPT-6 Luna vs GPT-6 Luna ProSame lab
GPT-6 Luna logoGPT-6 Sol logo
GPT-6 Luna vs GPT-6 SolSame lab
Gemma 4 31B logoQwen3 235B A22B Thinking 2507 logo
Gemma 4 31B vs Qwen3 235B A22B Thinking 2507Same size
Gemma 4 31B logoQwen3 30B A3B logo
Gemma 4 31B vs Qwen3 30B A3BNew provider
Gemma 4 31B logoQwen3 30B A3B Instruct 2507 logo
Gemma 4 31B vs Qwen3 30B A3B Instruct 2507New provider
Gemma 4 31B logoQwen3 30B A3B Thinking 2507 logo
Gemma 4 31B vs Qwen3 30B A3B Thinking 2507New provider

Model pages

Gemma 4 31B logo
Gemma 4 31B49 outputs, specs and price
GPT-6 Luna logo
GPT-6 Luna20 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
  • 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