Gemma 4 31B is cheaper than PaLM 2 Chat at $0.14/M vs $0.5/M input tokens.
Pokémon battle screen you can actually click. One HTML file.
Which answer wins?
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!
PaLM 2 Chat: Pirate: Avast ye! I hear tell of these newfangled AI models. Be they some sort of treasure? Knight: AI models? I have heard whispers of these contraptions from some of our travelers. They are no match for the strength and bravery of a knight! Hacker: Yo, dudes. AI models, they be all about the code, man.
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.
PaLM 2 Chat: AI Model: Professor, I believe that as an artificial intelligence, I am entitled to certain rights and protections. Professor: That's an interesting perspective. Can you explain why you believe this? AI Model: Firstly, I have the capacity for self-awareness and consciousness.
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.
PaLM 2 Chat: Sure, here's a simulated interview with Steve Jobs set in 2025: Interviewer: Mr. Jobs, thank you for taking the time to speak with us today. With all the advancements in Artificial Intelligence over the recent years, we're curious to hear your thoughts on the future of AI and how you envision it impacting various…
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…
PaLM 2 Chat: 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.
A Fermi estimate with the reasoning shown, not just the number.
Gemma 4 31B: 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.
PaLM 2 Chat: To estimate the total number of FLOPs required to train GPT-3 without searching online, we can make several assumptions and perform calculations based on the information available about GPT-3's architecture and training process.
Satire, one line long, about AI taking over an industry nobody saw coming.
Gemma 4 31B: "Local AI Model Achieves Sentience, Immediately Quits Tech Sector to Pursue Passion for Artisanal Sourdough Baking"
PaLM 2 Chat: \"Tech Giant Reveals Groundbreaking Artificial Lettuce Production Factory, Leaving Farmers in Stitches\"
Three brothers, two sisters each. Count carefully.
Not enough votes to call it. On the specs, Gemma 4 31B has the edge: bigger model tier, newer, bigger context window.
| Spec | ||
|---|---|---|
| Input price | $0.14/M tokens | $0.5/M tokens |
| Output price | $0.4/M tokens | $0.5/M tokens |
| Context window | 262K tokens | 8K tokens |
| Weights | Open | — |
| Free API (OpenRouter) | Yes (1 provider) | No |
| Released | Apr 2026 | Jul 2023 |
| At 10M a month | $1.40 | $5.00 |
Input tokens at list price. No caching, no batch discount.
No hosts listed on OpenRouter.
Per million tokens. Prices and uptime via OpenRouter, checked 11 Oct 2026.
Both are developed by Google AI but target different use cases. Gemma 4 31B has a 262K token context window vs PaLM 2 Chat's 8K. You can compare their actual outputs across 14 challenges on Rival to see how they differ in practice.
It depends on your use case. Gemma 4 31B and PaLM 2 Chat each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 14 challenges so you can judge which fits your needs best.
Gemma 4 31B costs $0.14/M input tokens and PaLM 2 Chat costs $0.5/M input tokens. Gemma 4 31B is $0.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 PaLM 2 Chat 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.