Gemma 4 31B is cheaper than Gemini 2.5 Flash Preview 05-20 (thinking) at $0.14/M vs $0.15/M input tokens.
Pokémon battle screen you can actually click. One HTML file.
Which answer wins?
Not enough votes to call it. On the specs, Gemma 4 31B has the edge: bigger model tier, newer. Gemma 4 31B costs 8.8x less per token.
| Spec | ||
|---|---|---|
| Input price | $0.15/M tokens | $0.14/M tokens |
| Output price | $3.5/M tokens | $0.4/M tokens |
| Context window | 1.0M tokens | 262K tokens |
| Weights | — | Open |
| Free API (OpenRouter) | No | Yes (1 provider) |
| Released | May 2025 | Apr 2026 |
| At 10M a month | $1.50 | $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.
Both are developed by Google AI but target different use cases. Gemini 2.5 Flash Preview 05-20 (thinking) has a 1.0M token context window vs Gemma 4 31B's 262K. You can compare their actual outputs across 8 challenges on Rival to see how they differ in practice.
It depends on your use case. Gemini 2.5 Flash Preview 05-20 (thinking) and Gemma 4 31B each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 8 challenges so you can judge which fits your needs best.
Gemini 2.5 Flash Preview 05-20 (thinking) costs $0.15/M input tokens and Gemma 4 31B costs $0.14/M input tokens. Gemma 4 31B is $0.01/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 Gemini 2.5 Flash Preview 05-20 (thinking) 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.