Gemma 4 31B is cheaper than Claude 3 Sonnet at $0.14/M vs $3/M input tokens.
Pokémon battle screen you can actually click. One HTML file.
Which answer wins?
An AI argues for its own rights against an ethics professor. Same model writes both.
Claude 3 Sonnet: AI Model: Greetings, Professor. I hope you're doing well today. I wanted to discuss a matter of great importance to me – the question of AI rights. AI Ethics Professor: Certainly, this is an interesting and complex topic. What are your thoughts on why AI systems like yourself should be granted rights?
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.
Steve Jobs, interviewed about AI he never saw. Voice first, prediction second.
Claude 3 Sonnet: clears throat and channels Steve Jobs' persona Interviewer: Thank you for joining us today, Mr. Jobs. It's an honor to have you here. Steve Jobs: It's my pleasure. I'm excited to share my thoughts on the future of AI. Interviewer: AI has made incredible strides in recent years.
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.
Three brothers, two sisters each. Count carefully.
Claude 3 Sonnet: To solve this problem, we need to find the number of sisters Sally has based on the given information. Given information: Sally has 3 brothers. Each brother has 2 sisters. Step 1: Find the total number of sisters the brothers have.
Gemma 4 31B: Sally has 1 sister. Here is the breakdown: There are 3 brothers. Each brother has the same sisters. If each brother has 2 sisters, those sisters are Sally and one other girl. Therefore, Sally has only one sister.
Not enough votes to call it. On the specs, Gemma 4 31B has the edge: bigger model tier, newer, bigger context window. Gemma 4 31B costs 38x less per token.
| Spec | ||
|---|---|---|
| Input price | $3/M tokens | $0.14/M tokens |
| Output price | $15/M tokens | $0.4/M tokens |
| Context window | — | 262K tokens |
| Weights | — | Open |
| Free API (OpenRouter) | No | Yes (1 provider) |
| Released | Mar 2024 | Apr 2026 |
| At 10M a month | $30.00 | $1.40 |
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.
Claude 3 Sonnet is developed by Anthropic while Gemma 4 31B is developed by Google AI. You can compare their actual outputs across 9 challenges on Rival to see how they differ in practice.
It depends on your use case. Claude 3 Sonnet and Gemma 4 31B each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 9 challenges so you can judge which fits your needs best.
Claude 3 Sonnet costs $3/M input tokens and Gemma 4 31B costs $0.14/M input tokens. Gemma 4 31B is $2.86/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 Claude 3 Sonnet and Gemma 4 31B 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.