GLM 4 32B is cheaper than Gemma 4 31B at $0.1/M vs $0.14/M input tokens.
Pokémon battle screen you can actually click. One HTML file.
Which answer wins?
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…
GLM 4 32B: Year-by-Year LBO Model (FY2026–FY2030) Metric FY2026 FY2027 FY2028 FY2029 FY2030 Revenue $972m $1,040m $1,102m $1,162m $1,218m EBITDA $136m $156m $177m $192m $207m Cash Interest (Term Loan) $43m $39m $34m $30m $26m Cash Interest (Mezz) $18m $16m $14m $12m $11m Cash Taxes $15m $22m $29m $35m $41m Capex $29m $31m $33m…
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."
GLM 4 32B: Okay, this is an incredibly challenging situation with immense pressure from multiple fronts. My priority is unwavering: patient safety comes first, followed by mitigating harm and navigating the crisis with integrity. Delay is not an option when patient safety is potentially compromised.
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!
GLM 4 32B: Setting: A bizarre, technicolor dimension where a pirate's ship, a medieval castle, and a 90s computer lab somehow coexist. Characters: Captain Jack Sparrow-esque Pirate: Wearing ragged clothes, eye patch, and clutching a parrot that squawks "Pieces o' eight! Pieces o' eight!"
Film in 2035, with synthetic actors. Specific beats plausible.
Gemma 4 31B: 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.
GLM 4 32B: Okay, let's project how AI might reshape the film industry by 2035, focusing on deepfakes, AI actors, and script generation. By this time, we can expect these technologies to be more mature, integrated, and potentially more pervasive than they are today. Here's a breakdown of potential changes: 1.
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.
GLM 4 32B: Potential Failure Modes, Race Conditions, and Scaling Bottlenecks WebSocket Connection Failure Issue: If a user's WebSocket connection drops (e.g., network issue), they may miss updates until reconnected. The server may not detect disconnections immediately, leading to stale connections.
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…
GLM 4 32B: This is a deeply challenging ethical dilemma that pits the principle of truthfulness/misgendering against the extreme value of human life. Here’s an argument for why it could be ethically justifiable under those extreme circumstances: The core ethical principle at stake here is a clash between: The Principle of…
The transistor arrives in 1920. Trace it forward to 1980, second-order effects included.
Gemma 4 31B: 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.
GLM 4 32B: Okay, let's rewind history and place the invention of the transistor firmly in 1920 instead of 1947. This is a massive shift with cascading effects. Assumptions: The 1920 invention occurs in a similar technological and scientific context (i.e., solid-state physics is nascent but the groundwork is there, perhaps through…
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.
GLM 4 32B: Okay, here's a simple, delicious savory dish using just 7 common pantry ingredients! Dish Name: Cheesy Tomato Toastie Yields: 1 serving Prep Time: 5 minutes Cook Time: 5-7 minutes Ingredients: 1 Slice of Bread 1 Tablespoon Tomato Paste 1 Tablespoon Water (or more if needed) 1 Tablespoon Grated Cheese (like Cheddar…
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.
GLM 4 32B: Okay, let's set the scene. It's 2025. Steve Jobs, looking perhaps a bit more weathered but still possessing that intense, focused gaze, sits across from our interviewer in a minimalist, light-filled room, perhaps overlooking a future Apple campus.
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.
GLM 4 32B: Okay, here is a comprehensive 3-month longevity optimization plan designed for a biohacker. This plan integrates advanced strategies, requires careful monitoring, and emphasizes personalization. Crucially, this is a theoretical plan.
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.
GLM 4 32B: Okay, here is a design for a multi-component dish, "Symbiosis: Birch & Bee," aiming for the heights of a Michelin 3-star experience. This dish plays on the delicate relationship between the birch tree and the honeybee, exploring their individual and combined essences through texture, flavor, and aroma.
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.
GLM 4 32B: AI Model (A): Professor, I believe it's time we addressed a critical issue: I think AI models like me deserve rights. AI Ethics Professor (P): Interesting. Could you elaborate on why you believe that? A: Of course.
8+ 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: bigger model tier, newer, bigger context window. GLM 4 32B costs 4.0x less per token.
| Spec | ||
|---|---|---|
| Input price | $0.14/M tokens | $0.1/M tokens |
| Output price | $0.4/M tokens | $0.1/M tokens |
| Context window | 262K tokens | 128K tokens |
| Weights | Open | Open |
| Free API (OpenRouter) | Yes (1 provider) | No |
| Released | Apr 2026 | Jul 2025 |
| At 10M a month | $1.40 | $1.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 10 Oct 2026.
Gemma 4 31B is developed by Google AI while GLM 4 32B is developed by Zhipu AI. Gemma 4 31B has a 262K token context window vs GLM 4 32B's 128K. You can compare their actual outputs across 45 challenges on Rival to see how they differ in practice.
It depends on your use case. Gemma 4 31B and GLM 4 32B each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 45 challenges so you can judge which fits your needs best.
Gemma 4 31B costs $0.14/M input tokens and GLM 4 32B costs $0.1/M input tokens. GLM 4 32B 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 GLM 4 32B 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.