Gemma 4 31B IT vs Grok 4 Fast vs Qwen3.5 Flash
Too close to call on our weighted score (Qwen3.5 Flash 74, Grok 4 Fast 73, Gemma 4 31B IT 71). The right pick depends on what you value most.Too close to call on our weighted score (Grok 4 Fast 73, Qwen3.5 Flash 71, Gemma 4 31B IT 67). The right pick depends on what you value most.
Google
Gemma 4 31B IT
71/100- ECI144.2
- Price$0.15 / $0.40
- Context262K
xAI
Grok 4 Fast
73/100- ECI144.3
- Price$0.20 / $0.50
- Context2M
Alibaba (Qwen)
Qwen3.5 Flash
74/100- ECI143.9
- Price$0.10 / $0.40
- Context1M
Google
Gemma 4 31B IT
67/100- ECI144.2
- Price$0.15 / $0.40
- Context262K
xAI
Grok 4 Fast
73/100- ECI144.3
- Price$0.20 / $0.50
- Context2M
Alibaba (Qwen)
Qwen3.5 Flash
71/100- ECI143.9
- Price$0.10 / $0.40
- Context1M
Too close to call
It is close. Our weighted score puts them within 1 points (Qwen3.5 Flash 74/100, Grok 4 Fast 73/100, Gemma 4 31B IT 71/100), so choose by what matters most for your work: Grok 4 Fast for raw capability and Qwen3.5 Flash on price. The score weighs capability 59%, price 29%, context window 12%.It is close. Our weighted score puts them within 2 points (Grok 4 Fast 73/100, Qwen3.5 Flash 71/100, Gemma 4 31B IT 67/100), so choose by what matters most for your work: Grok 4 Fast for raw capability and Qwen3.5 Flash on price. The score weighs capability 83%, context window 17%.
- CapabilityGrok 4 FastCapabilities Index (ECI): Grok 4 Fast 144.3 · Gemma 4 31B IT 144.2 · Qwen3.5 Flash 143.9
- Lowest priceQwen3.5 FlashQwen3.5 Flash $0.175 · Gemma 4 31B IT $0.212 · Grok 4 Fast $0.275 per 1M tokens (3:1 blend)
- Longest contextGrok 4 FastGrok 4 Fast 2,000,000 · Qwen3.5 Flash 1,000,000 · Gemma 4 31B IT 262,144 tokens
- Widest inputsQwen3.5 FlashGemma 4 31B IT: Text, Images · Grok 4 Fast: Text, Images · Qwen3.5 Flash: Text, Images, Video
- Self-hostingGemma 4 31B ITPublishes downloadable weights
| Measure | Weight | Gemma 4 31B IT | Grok 4 Fast | Qwen3.5 Flash |
|---|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 59% | 72 | 72 | 72 |
| Price | 29% | 79 | 74 | 82 |
| Context window | 12% | 43 | 75 | 64 |
| Overall | 100% | 71/100 | 73/100 | 74/100 |
Left out because at least one model lacks the data: inputs & features. The remaining weights were rescaled.
| Measure | Weight | Gemma 4 31B IT | Grok 4 Fast | Qwen3.5 Flash |
|---|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 83% | 72 | 72 | 72 |
| Context window | 17% | 43 | 75 | 64 |
| Overall | 100% | 67/100 | 73/100 | 71/100 |
Left out because at least one model lacks the data: inputs & features. The remaining weights were rescaled.
Every spec in one table
Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.
| Specification | |||
|---|---|---|---|
| Capability | |||
| Capabilities Index (ECI) | 144.2 | 144.3 (best) | 143.9 |
| ECI rank | #101 of 166 | #100 of 166 (best) | #104 of 166 |
| ECI confidence interval | 141.8–146.7 | 142.2–146.4 | 142.0–145.8 |
| ECI evaluation date | Apr 2, 2026 | Sep 19, 2025 | Feb 25, 2026 |
| Documented capabilities | Largest Gemma 4 instruction model for open, self-hosted chat and reasoning | Fast Grok model for responsive chat, reasoning, and tool-assisted work | Qwen vision-language model for visual reasoning, documents, and agent tasks |
| Model parameters | Not published | Not published | Not published |
| Output modalities | Text | Text | Text |
| GPQA DiamondGraduate-level science questions | 75.8%minimal | Not published | 82.3% (best) |
| FrontierMath Tiers 1–3Research-level mathematics | Not published | Not published | 18.3%none |
| OTIS Mock AIME 2024–2025Competition mathematics | 73.3%minimal | Not published | 84.4% (best) |
| SimpleQA VerifiedShort factual questions | 10.4% | Not published | 20.3% (best) |
| Price per million tokens | |||
| Input | $0.15 | $0.20 | $0.10 (best) |
| Output | $0.40 (best) | $0.50 | $0.40 (best) |
| Cached input | Not published | Not published | $0.01 |
| Blended (3:1) | $0.212 | $0.275 | $0.175 (best) |
| Long-context rate | Same rate | Same rate | Same rate |
| Price source | Median of 43 providers | Median of 4 providers | Official Alibaba API |
| Limits | |||
| Context window | 262,144 tokens | 2,000,000 tokens (best) | 1,000,000 tokens |
| Max input | Not published | Not published | Not published |
| Max output | 32,768 tokens | 30,000 tokens | 65,536 tokens (best) |
| Inputs and features | |||
| Text | Yes | Yes | Yes |
| Images | Yes | Yes | Yes |
| PDFs | No | No | No |
| Audio | No | No | No |
| Video | No | No | Yes |
| Reasoning | Yes | Yes | Yes |
| Tool calling | Yes | Yes | Yes |
| Structured output | Yes | Not published | Yes |
| File attachments | Yes | Yes | Yes |
| Temperature control | Yes | Yes | Yes |
| Reasoning control | toggle | always | budget |
| Availability | |||
| Weights | Open | Proprietary | Proprietary |
| API model ID | gemma-4-31b-it | Not published | qwen3.5-flash |
| API providers | 53 (best) | 5 | 11 |
| Released | Apr 2, 2026 | Sep 19, 2025 | Feb 23, 2026 |
| Knowledge cutoff | Jan 2025 | Not published | Not published |
| Publisher documentation | Publisher documentation · Model weights | Not published | Publisher documentation |
| Source metadata updated | Apr 2, 2026 | Sep 19, 2025 | Feb 23, 2026 |
| Data sources | models.dev · Epoch AI | models.dev · Epoch AI | models.dev · Epoch AI |
| Catalog checked | Nov 30, 2026 | Nov 30, 2026 | Nov 30, 2026 |
What would a month cost?
Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.
Gemma 4 31B IT$2.30
Grok 4 Fast$3.00
Qwen3.5 Flash$1.80
Which should you choose?
Which is better: Gemma 4 31B IT, Grok 4 Fast or Qwen3.5 Flash?
It is close. Our weighted score puts them within 1 points (Qwen3.5 Flash 74/100, Grok 4 Fast 73/100, Gemma 4 31B IT 71/100), so choose by what matters most for your work: Grok 4 Fast for raw capability and Qwen3.5 Flash on price. The score weighs capability 59%, price 29%, context window 12%.It is close. Our weighted score puts them within 2 points (Grok 4 Fast 73/100, Qwen3.5 Flash 71/100, Gemma 4 31B IT 67/100), so choose by what matters most for your work: Grok 4 Fast for raw capability and Qwen3.5 Flash on price. The score weighs capability 83%, context window 17%.
Which is cheaper, Gemma 4 31B IT, Grok 4 Fast or Qwen3.5 Flash?
Qwen3.5 Flash is cheaper at $0.10 input / $0.40 output per million tokens (official Alibaba API price). Gemma 4 31B IT costs $0.15 input / $0.40 output per million tokens (median across 43 API providers; free on Google); Grok 4 Fast costs $0.20 input / $0.50 output per million tokens (median across 4 API providers). At a typical mix of three input tokens to one output token, that is $0.175 per million tokens for Qwen3.5 Flash versus $0.212 for Gemma 4 31B IT (1.2× as much) and $0.275 for Grok 4 Fast (1.6× as much).
Which scores higher on benchmarks?
Grok 4 Fast scores higher on the Capabilities Index (ECI): Grok 4 Fast 144.3 (#100 of 166), Gemma 4 31B IT 144.2 (#101 of 166) and Qwen3.5 Flash 143.9 (#104 of 166). The confidence ranges of the top two overlap (142.2–146.4 vs 141.8–146.7), so treat the gap as small.
Which is better for coding?
There are no published SWE-bench Verified results for Gemma 4 31B IT, Grok 4 Fast and Qwen3.5 Flash yet, so there is no like-for-like coding score. On overall capability, Grok 4 Fast leads, which tends to carry over to coding, but test on your own codebase. All three support tool calling for agent workflows.
Which has the bigger context window?
Grok 4 Fast has the largest context window at 2,000,000 tokens, against 1,000,000 for Qwen3.5 Flash and 262,144 for Gemma 4 31B IT. Maximum output per response: Gemma 4 31B IT up to 32,768, Grok 4 Fast up to 30,000, Qwen3.5 Flash up to 65,536 tokens.
Which can read images, PDFs, audio or video?
Gemma 4 31B IT accepts text and images; Grok 4 Fast accepts text and images; Qwen3.5 Flash accepts text, images and video. Qwen3.5 Flash handles the widest range of inputs.
Are any of these open source?
Gemma 4 31B IT publishes its weights and can be self-hosted; Grok 4 Fast and Qwen3.5 Flash is proprietary.
Which is newer?
Gemma 4 31B IT is the newest, released Apr 2, 2026. Qwen3.5 Flash came out Feb 23, 2026; Grok 4 Fast came out Sep 19, 2025. Knowledge cutoff: Gemma 4 31B IT Jan 2025.
How do you decide the winner?
This rating uses capability (59%, independent benchmark results); price (29%, blended price per million tokens (3 input : 1 output), log scale); context window (12%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 30, 2026.This rating uses capability (83%, independent benchmark results); context window (17%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 30, 2026.