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 4 31BvsQwen3.8 Flash
Updated Aug 2026

Gemma 4 31BvsQwen3.8 Flash

Gemma 4 31B is cheaper than Qwen3.8 Flash at $0.14/M vs $0.15/M input tokens.

Gemma 4 31B and Qwen3.8 Flash compared across 7 shared prompts
SpecGemma 4 31BQwen3.8 Flash
Input price$0.14/M tokens$0.15/M tokens
Output price$0.4/M tokens$0.47/M tokens
Context window262K tokens1.0M tokens
WeightsOpenClosed
Free API (OpenRouter)Yes (1 provider)No
ReleasedApr 2026Aug 2026
Side by side

Same prompt, both answers

Opening lines from 2 of the 7 prompts both answered. Formatting stripped, words untouched.

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 4 31B222 words
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.
Read the full answer
Qwen3.8 Flash147 words
Moon Halo Cookies A soft, golden sugar cookie with crisp edges and a tender center—made with just 7 pantry staples. Prep time: 10 minutes Cook time: 10 minutes Total time: 20 minutes Makes: About 16 cookies Ingredients 1/2 cup butter, softened 3/4 cup sugar 1 egg 1 teaspoon vanilla extract 1 1/2 cups all-purpose flour…
Read the full answer

Beginner's Longevity Plan

Outline a simple, actionable 1-month plan for someone starting their journey towards better health and longevity. Focus on 3 key areas…

Gemma 4 31B548 words
This plan is designed for sustainability, not intensity. The goal of Month 1 is to build "minimum viable habits"—small wins that prove to your brain that a healthier lifestyle is achievable. We will focus on three pillars: Nutrition, Movement, and Sleep.
Read the full answer
Qwen3.8 Flash368 words
1-Month Beginner Health & Longevity Plan Focus areas: Nutrition, Movement, Sleep Week 1: Build the basics Nutrition Add 1 serving of vegetables to 2 meals per day. Drink water with each meal. Choose protein at most meals: eggs, beans, tofu, chicken, fish, yogurt. Movement Walk 10–15 minutes daily.
Read the full answer
Our Verdict
Gemma 4 31B
Gemma 4 31B
Qwen3.8 Flash
Qwen3.8 Flash

Not enough votes to call it. On the specs, nothing separates them.

Too close to call
API pricing

Cost per 1M tokens

Gemma 4 31B
Input
$0.14
1.1× cheaper
Output
$0.40
1.2× cheaper
Qwen3.8 Flash
Input
$0.15
Output
$0.47

Gemma 4 31B is cheaper on both: 1.1× input, 1.2× output.

Where to run it

12 hosts, cheapest first

Gemma 4 31B11 hosts
HostInOutContextUptime
DDeepInfrafp4$0.09 in·$0.34 out·262k·97.5% upCCoreWeavefp4$0.10 in·$0.34 out·262k·97.1% upVVenicefp4$0.12 in·$0.36 out·256k·96.2% upCChutesfp4$0.12 in·$0.37 out·131k·92.7% upCCrusoebf16$0.14 in·$0.40 out·262k·97.5% upFFriendli$0.14 in·$0.40 out·262k·92.6% up
5 more hostsFewer hosts
NNovitabf16$0.14 in·$0.40 out·262k·87.2% upPParasailfp8$0.15 in·$0.40 out·262k·99.1% upSSambaNova$0.38 in·$1.15 out·131k·96.8% upMModelRunfp4$0.75 in·$1.00 out·262k·100% upSSiliconFlowfp8$0.75 in·$1.00 out·262k·43.1% up
Qwen3.8 Flash1 host
HostInOutContextUptime
Alibaba Cloud$0.15 in·$0.47 out·1M·100% up

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

Research

What we learned reading every model

FAQ

Common questions

Gemma 4 31B is developed by Google AI while Qwen3.8 Flash is developed by Qwen. Gemma 4 31B has a 262K token context window vs Qwen3.8 Flash's 1.0M. You can compare their actual outputs across 7 challenges on Rival to see how they differ in practice.

It depends on your use case. Gemma 4 31B and Qwen3.8 Flash each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 7 challenges so you can judge which fits your needs best.

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

Same lab, same size, long tail

Gemma 4 31B logoGemini 3.8 Flash logo
Gemma 4 31B vs Gemini 3.8 FlashSame lab
Gemma 4 31B logoGemini 3.7 Flash logo
Gemma 4 31B vs Gemini 3.7 FlashSame lab
Qwen3.8 Flash logoQwen3.8 Max (0902) logo
Qwen3.8 Flash vs Qwen3.8 Max (0902)Same lab
Qwen3.8 Flash logoQwen3.8 2.4T A95B logo
Qwen3.8 Flash vs Qwen3.8 2.4T A95BSame lab
Qwen3.8 Flash logoMiniMax M2.1 logo
Qwen3.8 Flash vs MiniMax M2.1Same size
Qwen3.8 Flash logoMiniMax M2.5 logo
Qwen3.8 Flash vs MiniMax M2.5Same size
Qwen3.8 Flash logoMiniMax M2.7 logo
Qwen3.8 Flash vs MiniMax M2.7Same size
Gemma 4 31B logoMiniMax M3 logo
Gemma 4 31B vs MiniMax M3New provider

Model pages

Gemma 4 31B logo
Gemma 4 31B49 outputs, specs and price
Qwen3.8 Flash logo
Qwen3.8 Flash8 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