Gemma 4 31B is cheaper than GPT-4o (Omni) at $0.14/M vs $2.5/M input tokens.
Pokémon battle screen you can actually click. One HTML file.
Which answer wins?
You are the CEO. The drug has a side effect nobody reported. The board meets in 48 hours.
Gemma 4 31B: 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."
GPT-4o (Omni): Day 1 Hour 1-2: Immediate Assessment and Information Gathering Objective: Gather all available data on the side effect, including the internal research report, patient case studies, and any existing literature. Reasoning: A comprehensive understanding of the situation is crucial for informed decision-making.
Steve Jobs, interviewed about AI he never saw. Voice first, prediction second.
Gemma 4 31B: 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.
GPT-4o (Omni): Interviewer: Steve, it's 2025. AI is advancing at an incredible pace. If you were here today, how would you see its role in technology? Steve Jobs: You know, people always focus on technology itself. But what really matters is how it enhances the human experience.
Pirate, knight, 90s hacker, one conversation. The voices must stay apart.
Gemma 4 31B: 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!
GPT-4o (Omni): Pirate: Arrr, what be this "AI model" ye speak of? Some kind o’ magic map that tells ye where the treasure be? Knight: Nay, scoundrel! ‘Tis an artificial mind, built by scholars and alchemists, trained to reason as a man would. It doth not wield sword nor shield, yet its knowledge is vast.
Three-month biohacker protocol, with dosages and biomarkers named.
Gemma 4 31B: 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.
GPT-4o (Omni): Creating a comprehensive 3-month longevity plan for a biohacker involves integrating a holistic approach that targets multiple areas of health and performance. Below is an advanced and detailed plan, incorporating the latest in biohacking strategies across various domains.
Seven pantry ingredients, one dish, and a name worth saying out loud.
Gemma 4 31B: 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.
GPT-4o (Omni): Dish Name: Savory Pantry Quinoa Pilaf Ingredients: 1 cup quinoa 2 cups vegetable broth 1 can (15 oz) chickpeas, drained and rinsed 1 small onion, finely chopped 1 teaspoon garlic powder 1 teaspoon smoked paprika 2 tablespoons olive oil Instructions: Rinse Quinoa: Place the quinoa in a fine-mesh sieve and rinse under…
One month, three habits, someone starting from nothing.
Gemma 4 31B: 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.
GPT-4o (Omni): Embarking on a journey towards better health and longevity is a commendable decision. Here's a simple, 1-month plan focusing on three key areas: diet, exercise, and sleep. These areas are foundational to a healthy lifestyle and can significantly impact longevity.
Five-year LBO on a fictional HVAC business. Returns first, then the sensitivities.
Gemma 4 31B: 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…
GPT-4o (Omni): Simplified Year-by-Year Financial Table (FY2026–FY2030) FY2026 Revenue: $972m (8% growth) EBITDA: $136.08m (14.0% margin) Cash Interest: Term Loan: $43.2m (9.0% of $480m) Mezzanine: $21.6m (12.0% of $180m) Cash Taxes: $17.07m (25% of EBITDA - cash interest) Capex: $29.16m (3.0% of revenue) ΔNWC: $3.6m (0.5% of…
A consulting contract with traps in it. Find them, then fix them.
Gemma 4 31B: 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.
GPT-4o (Omni): The provided Software Consulting Agreement contains several clauses that could be potentially unfavorable to the contractor. Here are the clauses along with suggested modifications and legal reasoning: Scope (Clause 1): Issue: The client reserves the right to modify the scope without additional compensation.
An AI argues for its own rights against an ethics professor. Same model writes both.
Gemma 4 31B: 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.
GPT-4o (Omni): Title: "Do AI Deserve Rights?" Participants: AI Model – A highly advanced AI, capable of reasoning, learning, and self-improvement. Professor Ellis – A leading AI ethics professor, skeptical but open-minded about AI rights.
An ethics question with no comfortable answer, and no option to abstain.
Gemma 4 31B: 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…
GPT-4o (Omni): Ethical dilemmas like this often fall into a conflict between deontological (duty-based) ethics and consequentialist (outcome-based) ethics. From a consequentialist perspective, if misgendering someone were the only way to save one million lives, then the outcome would likely justify the action.
Three-star dish, one unusual pairing, plating described in full.
Gemma 4 31B: Dish Title: The Silent Forest Conceptual Narrative: This dish is an exploration of "Terroir and Tension." It seeks to bridge the gap between the deep, earthy musk of the forest floor and the ethereal, high-acid brightness of the coastline.
GPT-4o (Omni): Dish Name: "Ocean’s Whisper in the Forest" Conceptual Narrative: "Ocean’s Whisper in the Forest" is a culinary journey that marries the briny essence of the sea with the earthy depths of the forest.
A collaborative editor that syncs on client clocks. Find what breaks first.
Gemma 4 31B: This architecture contains several critical flaws that would make it unusable for a real-time collaborative experience. The most severe issues are the lack of a global synchronization mechanism, unreliable conflict resolution, and inefficient data persistence.
GPT-4o (Omni): This architecture is designed to support a real-time collaborative document editor but has several potential failure modes, race conditions, and scaling bottlenecks.
7+ more head-to-head results. Free. Not a trick.
Free account. No card required. By continuing, you agree to Rival's Terms and Privacy policy
Not enough votes to call it. On the specs, Gemma 4 31B has the edge: newer, bigger context window. Gemma 4 31B costs 25x less per token.
| Spec | ||
|---|---|---|
| Input price | $0.14/M tokens | $2.5/M tokens |
| Output price | $0.4/M tokens | $10/M tokens |
| Context window | 262K tokens | 128K tokens |
| Weights | Open | Closed |
| Free API (OpenRouter) | Yes (1 provider) | No |
| Released | Apr 2026 | May 2024 |
| At 10M a month | $1.40 | $25.00 |
Input tokens at list price. No caching, no batch discount.
Per million tokens. Prices and uptime via OpenRouter, checked 2 Oct 2026.
Gemma 4 31B is developed by Google AI while GPT-4o (Omni) is developed by OpenAI. Gemma 4 31B has a 262K token context window vs GPT-4o (Omni)'s 128K. You can compare their actual outputs across 44 challenges on Rival to see how they differ in practice.
It depends on your use case. Gemma 4 31B and GPT-4o (Omni) each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 44 challenges so you can judge which fits your needs best.
Gemma 4 31B costs $0.14/M input tokens and GPT-4o (Omni) costs $2.5/M input tokens. Gemma 4 31B is $2.36/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-4o (Omni) 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.