Qwen3.5 397B A17B vs Gemma 4 31B
At a Glance
| Compare | Gemma 4 31BGoogle DeepMind | |
|---|---|---|
| Pricing and Limits | ||
| Input priceFrom · USD / 1M tokens | $0.45Deepinfra ↗ · Sep 21, 2026 | $0.090Openrouter ↗ · Sep 22, 2026 |
| Output priceFrom · USD / 1M tokens | $3.00Deepinfra ↗ · Sep 21, 2026 | $0.34Openrouter ↗ · Sep 22, 2026 |
| Context windowMaximum documented tokens | 262K | 262K |
| Model facts checked | Aug 28, 2026View model evidence → | Sep 3, 2026View model evidence → |
Token prices are the lowest available sourced USD rates; input and output may use different providers. Cost ranking estimates output spend on LiveBench, not a full request bill. Ranking methodology →
Available Benchmarks
| Benchmark | Qwen3.5-397B-A17B | Gemma 4 31B |
|---|---|---|
| LMArena Text Arenatext-2026-09-13-d25aabda0010 · arena_rating · statistical tie | 1,438.26100% of row best · rating · qwen3.5-397b-a17b; 95% CI [1434.97391785, 1441.55191176]; votes 77007; rank 71 | 1,441.68100% of row best · rating · gemma-4-31b; 95% CI [1434.13929794, 1449.22204224]; votes 5894; rank 64 |
| LMArena Vision Arenavision-2026-09-13-d25aabda0010 · arena_rating · statistical tie | 1,265.1599% of row best · rating · qwen3.5-397b-a17b; 95% CI [1259.44632362, 1270.86149272]; votes 27569; rank 42 | 1,275.98100% of row best · rating · gemma-4-31b; 95% CI [1269.84273447, 1282.11308989]; votes 35713; rank 33 |
| Overall ResultCounted from the protocol-matched rows above · 2 ties | 0 benchmark winsNo overall winner | 0 benchmark winsNo overall winner |
Third-party benchmark Only like-for-like primary-publisher results are shown; raw scores, relative scores, configuration, and token spend remain visible.
Side-by-Side Facts
| Field | Qwen3.5-397B-A17B | Gemma 4 31B |
|---|---|---|
| Developer | Qwen | Google DeepMind |
| Family | Qwen3 5 397b A17b | Gemma 4 |
| Model | Qwen3.5-397B-A17B | Gemma 4 31B |
| Version | Qwen3.5-397B-A17B | Gemma 4 31B |
| Lifecycle | active | active |
| Released | 2026-02-15 | 2026-03-11 |
| Knowledge cutoff | Unknown | Unknown |
| Input modalities | Text, Image | Text, Image |
| Output modalities | Text | Text |
| Context window | 262K | 262K |
| Total parameters | 403.4B | 31B |
| Active parameters | 17B | Unknown |
| License | apache-2.0 | apache-2.0 |
| Open weights | Yes | Yes |
| API available | Yes | Yes |
| Self-hostable | Yes | Yes |
| Provider access | Deepinfra (Standard), Hugging Face (Standard), Openrouter (Standard), Together Ai (Standard) | Cerebras (Standard), Deepinfra (Standard), Google Gemini (Standard), Openrouter (Standard), Together Ai (Standard) |
| Capabilities | chat, generation, reasoning, tools | chat, generation, reasoning, structured_outputs, tools |
Qwen3.5 397B A17B Capabilities
Gemma 4 31B Capabilities
Primary Evidence
Sources and Freshness
Questions
Qwen3.5 397B A17B vs Gemma 4 31B FAQs
Is Qwen3.5 397B A17B or Gemma 4 31B better for coding?+
This comparison does not currently contain a protocol-matched coding benchmark for both Qwen3.5 397B A17B and Gemma 4 31B, so Model Markets cannot name a coding leader from pricing, context size, or capability labels alone.
Which is cheaper, Qwen3.5 397B A17B or Gemma 4 31B?+
Qwen3.5 397B A17B is $0.45 and Gemma 4 31B is $0.090 per million tokens, so Gemma 4 31B is cheaper on this metric. Qwen3.5 397B A17B is $3.00 and Gemma 4 31B is $0.34 per million tokens, so Gemma 4 31B is cheaper on this metric.
Which has a larger context window, Qwen3.5 397B A17B or Gemma 4 31B?+
Neither model has a larger sourced context window in this comparison. Qwen3.5 397B A17B is 262K and Gemma 4 31B is 262K.
Which performs better in benchmarks, Qwen3.5 397B A17B or Gemma 4 31B?+
There is no overall benchmark winner: Neither model leads outside the score tolerance on the verified common benchmarks.
Can Qwen3.5 397B A17B or Gemma 4 31B be self-hosted?+
Both models have the same recorded self-hosting status: supported. Qwen3.5 397B A17B is open weight; Gemma 4 31B is open weight.
Can Qwen3.5 397B A17B and Gemma 4 31B understand images?+
Qwen3.5 397B A17B is documented with image input; Gemma 4 31B is documented with image input. This reflects supported input modalities, not vision quality.
Which can generate longer answers, Qwen3.5 397B A17B or Gemma 4 31B?+
Neither has a larger sourced maximum output. Qwen3.5 397B A17B is — and Gemma 4 31B is —.
Do Qwen3.5 397B A17B and Gemma 4 31B support reasoning and tool use?+
Qwen3.5 397B A17B: reasoning, tool calling, and image input. Gemma 4 31B: reasoning, tool calling, and image input. Feature support does not establish relative quality.
Which is available from more inference providers, Qwen3.5 397B A17B or Gemma 4 31B?+
Qwen3.5 397B A17B has 4 sourced provider routes; Gemma 4 31B has 5, so Gemma 4 31B has broader tracked availability.
Which offers better value, Qwen3.5 397B A17B or Gemma 4 31B?+
There is no universal value winner. Compare the input and output prices above with the matched benchmark result for your workload: cheaper tokens can be offset by different quality, token usage, latency, or provider availability.