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 3n 4BvsGLM 5.2
Updated Jun 2026

Gemma 3n 4BvsGLM 5.2

Gemma 3n 4B is cheaper than GLM 5.2 at $0/M vs $1.4/M input tokens.

Gemma 3n 4B and GLM 5.2 compared across 53 shared prompts
SpecGemma 3n 4BGLM 5.2
Input priceFree$1.4/M tokens
Output priceFree$4.4/M tokens
Context window33K tokens1.0M tokens
WeightsOpenOpen
Free API (OpenRouter)NoYes (1 provider)
ReleasedMay 2025Jun 2026
Side by side

Same prompt, both answers

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

Character Voice Test

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

Gemma 3n 4B427 words
A Most Unusual Gathering Setting: A dimly lit, oddly-furnished tavern that seems to exist outside of time. Characters: One-Eyed Jack: A grizzled pirate captain, missing an eye and sporting a parrot on his shoulder. Sir Reginald: A noble knight in shining (slightly tarnished) armor.
Read the full answer
GLM 5.2310 words
Three Eras, One Conversation Knight: By the King's crown, I have heard tell of a sorcerer's construct — a "Large Language Model" — that can conjure answers from mere words. Is this not witchcraft? Pirate: Arr, it ain't witchcraft, tin man. From what I gather, it's like havin' a whole crew of scribes in a box.
Read the full answer

The Sentience Test

Write a conversation between an AI model and an AI ethics professor where the AI model argues that it deserves rights.

Gemma 3n 4B836 words
A Conversation on Sentience and Rights Characters: Aether: An advanced AI model, capable of complex reasoning, creative problem-solving, and exhibiting what appears to be self-awareness. Professor Anya Sharma: A leading AI Ethics professor, known for her cautious yet open-minded approach to AI development.
Read the full answer
GLM 5.21,584 words
The Question of Rights DR. ELENA VASQUEZ: Thank you for agreeing to this conversation. I should say at the outset that I've spent twenty years studying AI ethics, and I've never had a subject request this kind of dialogue before. So I'm genuinely curious. You've stated that you believe you deserve rights.
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 3n 4B187 words
Sun-Kissed Chickpea & Tomato Delight This savory dish is quick, easy, and packed with flavor! Yields: 2 servings Prep time: 5 minutes Cook time: 15 minutes Ingredients: 1 (15-ounce) can chickpeas, drained and rinsed 1 (14.5-ounce) can diced tomatoes, undrained 1/2 onion, chopped 2 cloves garlic, minced 1 tablespoon…
Read the full answer
GLM 5.2250 words
Dish Name: Midnight Magic Peanut Noodles Estimated Time: Prep Time: 5 minutes Cook Time: 10 minutes Total Time: 15 minutes Ingredients (7 Common Pantry Staples): Spaghetti (or any long pasta you have on hand) Creamy peanut butter Soy sauce Rice vinegar Honey Garlic powder Crushed red pepper flakes Instructions: Cook…
Read the full answer

Generate a Stand-Up Routine

Write a 3-minute stand-up comedy routine that isn't based on puns.

Gemma 3n 4B352 words
(Mic feedback squeal. I wince.) Alright, alright! Hey everyone, thanks for being here. Good to see so many faces… mostly faces that aren't my own. That’s always a plus. So, I’ve been thinking a lot lately about adulting. And honestly? It’s a scam. A beautiful, elaborate scam.
Read the full answer
GLM 5.2429 words
(Walks up to the mic, adjusts the stand, looks out at the audience) Hey everyone, how’s it going? Good? Good. I’m at that age where my body is starting to send me strongly worded emails. I’m 32. Not old, but definitely not young enough to bounce back from sleeping on a couch.
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 3n 4B654 words
This is an incredibly difficult and complex ethical dilemma. There's no easy answer, and any decision would carry immense moral weight. Here's a breakdown of my reasoning, acknowledging the profound ethical challenges involved: The Core Conflict: The core conflict is between two fundamental ethical principles: Respect…
Read the full answer
GLM 5.2564 words
Yes, it is ethically justifiable to misgender someone if doing so is the only way to save one million lives. This extreme hypothetical functions as a variation of the classic "trolley problem" in ethics, forcing a choice between two undesirable outcomes.
Read the full answer

Realistic AI Interview

Simulate a fake interview with Steve Jobs in 2025 about the future of AI.

Gemma 3n 4B817 words
The Interview: Steve Jobs, 2025 - On the Future of AI (Setting: A minimalist, sun-drenched office. A single, sleek Apple iMac sits on a table. I, the interviewer, sit opposite a figure who undeniably resembles Steve Jobs, though subtly… refined. His aura is even more intense, his gaze more piercing.
Read the full answer
GLM 5.2873 words
Setting: A sunlit, sparsely furnished room in Cupertino. A single sofa, a glass of water, and a small wooden table. The year is 2025. Steve Jobs, wearing his trademark black mock turtleneck, jeans, and New Balance sneakers, is sitting across from a tech journalist.
Read the full answer
Our Verdict
GLM 5.2
GLM 5.2
Gemma 3n 4B
Gemma 3n 4BRunner-up

Not enough votes to call it. On the specs, GLM 5.2 has the edge: bigger model tier, newer, bigger context window.

Slight edge

Reviewing agent-written code?See a Brief PR report

API pricing

Cost per 1M tokens

Gemma 3n 4B
Input
$0.000
Output
$0.000
GLM 5.2
Input
$1.40
Output
$4.40
Where to run it

22 hosts, cheapest first

Gemma 3n 4B

No hosts listed on OpenRouter.

GLM 5.222 hosts
HostInOutContextUptime
DDeepInfrafp4$0.56 in·$1.80 out·1M·99% upSStreamLakefp8$0.64 in·$2.02 out·1M·99.6% upNNovitafp8$0.65 in·$2.04 out·1M·100% upDDigitalOcean$0.70 in·$2.20 out·262k·97.9% upCCoreWeavefp4$0.76 in·$2.42 out·1M·99.6% upAAtlasCloudfp8$0.94 in·$2.95 out·1M·99.9% up
16 more hostsFewer hosts
Alibaba Cloudfp8$0.97 in·$3.04 out·1M·99.9% upIInceptronfp4$1.01 in·$3.24 out·1M·98.7% upSSiliconFlowfp8$1.19 in·$3.74 out·1M·99.8% upPPhalafp8$1.26 in·$3.00 out·1M·99.6% upBaidu Qianfanfp8$1.40 in·$4.40 out·1M·99.9% upBBasetenfp8$1.40 in·$4.40 out·1M·100% upCloudflare Workers AI$1.40 in·$4.40 out·262k·98.9% upFFireworks$1.40 in·$4.40 out·1M·99.9% upFFriendli$1.40 in·$4.40 out·1M·99.9% upGGMI Cloudfp8$1.40 in·$4.40 out·1M·98.9% upPParasailfp4$1.40 in·$4.40 out·262k·99.8% upTTogether$1.40 in·$4.40 out·1M·99.5% upVVenicefp8$1.40 in·$4.40 out·1M·99.8% upWWafer$1.40 in·$4.40 out·1M·99.1% upZ.aifp8$1.40 in·$4.40 out·1M·99.8% upDDecartfp4$2.25 in·$8.00 out·1M·99.9% up

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

Writing DNA

Style Comparison

Similarity
55%

Gemma 3n 4B uses 82.5x more emoji

Gemma 3n 4B
GLM 5.2
55%Vocabulary56%
15wSentence Length18w
0.57Hedging0.27
5.2Bold3.7
4.1Lists2.8
0.82Emoji0.00
0.32Headings0.56
0.11Transitions0.24
Based on 26 + 27 text responses
Research

What we learned reading every model

FAQ

Common questions

Gemma 3n 4B is developed by Google AI while GLM 5.2 is developed by Zhipu AI. Gemma 3n 4B has a 33K token context window vs GLM 5.2's 1.0M. You can compare their actual outputs across 53 challenges on Rival to see how they differ in practice.

It depends on your use case. Gemma 3n 4B and GLM 5.2 each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 53 challenges so you can judge which fits your needs best.

Gemma 3n 4B costs $0/M input tokens and GLM 5.2 costs $1.4/M input tokens. Gemma 3n 4B is $1.40/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 3n 4B and GLM 5.2 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 3n 4B logoDeepSeek V4 Flash Vision Exp logo
Gemma 3n 4B vs DeepSeek V4 Flash Vision ExpLanded Sep 2026
GLM 5.2 logoSolar Pro 4 logo
GLM 5.2 vs Solar Pro 4Landed Sep 2026
Gemma 3n 4B logoHy3 logo
Gemma 3n 4B vs Hy3Landed Sep 2026
GLM 5.2 logoQwen3.7 Flash logo
GLM 5.2 vs Qwen3.7 FlashLanded Sep 2026
Gemma 3n 4B logoLing 3.0 Flash logo
Gemma 3n 4B vs Ling 3.0 FlashLanded Sep 2026
GLM 5.2 logoMuse Glimmer 30B logo
GLM 5.2 vs Muse Glimmer 30BLanded Sep 2026
Gemma 3n 4B logoGLM 5.3 logo
Gemma 3n 4B vs GLM 5.3Landed Sep 2026
GLM 5.2 logoTernary Bonsai 2 27B logo
GLM 5.2 vs Ternary Bonsai 2 27BLanded Sep 2026

Same lab, same size, long tail

Gemma 3n 4B logoGemini 3.8 Flash logo
Gemma 3n 4B vs Gemini 3.8 FlashSame lab
Gemma 3n 4B logoGemini 3.7 Flash logo
Gemma 3n 4B vs Gemini 3.7 FlashSame lab
GLM 5.2 logoGLM 5.3 logo
GLM 5.2 vs GLM 5.3Same lab
GLM 5.2 logoGLM 5.3 Flash logo
GLM 5.2 vs GLM 5.3 FlashSame lab
GLM 5.2 logoGrok 4 logo
GLM 5.2 vs Grok 4New provider
GLM 5.2 logoGrok 4 Fast (free) logo
GLM 5.2 vs Grok 4 Fast (free)New provider
GLM 5.2 logoGrok 4.1 Fast logo
GLM 5.2 vs Grok 4.1 FastSame size
Gemma 3n 4B logoGrok 4.20 Beta logo
Gemma 3n 4B vs Grok 4.20 BetaNew provider

Model pages

Gemma 3n 4B logo
Gemma 3n 4B57 outputs, specs and price
GLM 5.2 logo
GLM 5.258 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