ZMIME
Comparison · 3 models · Updated Nov 30, 2026

Qwen3.5 Flash vs Grok 4 Fast vs Gemma 4 31B IT

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.

  1. Alibaba (Qwen)

    Qwen3.5 Flash

    Released Feb 23, 2026

    74/100
    • ECI143.9
    • Price$0.10 / $0.40
    • Context1M
  2. xAI

    Grok 4 Fast

    Released Sep 19, 2025

    73/100
    • ECI144.3
    • Price$0.20 / $0.50
    • Context2M
  3. Google

    Gemma 4 31B IT

    Released Apr 2, 2026

    71/100
    • ECI144.2
    • Price$0.15 / $0.40
    • Context262K
  4. Alibaba (Qwen)

    Qwen3.5 Flash

    Released Feb 23, 2026

    71/100
    • ECI143.9
    • Price$0.10 / $0.40
    • Context1M
  5. xAI

    Grok 4 Fast

    Released Sep 19, 2025

    73/100
    • ECI144.3
    • Price$0.20 / $0.50
    • Context2M
  6. Google

    Gemma 4 31B IT

    Released Apr 2, 2026

    67/100
    • ECI144.2
    • Price$0.15 / $0.40
    • Context262K
01 — Verdict

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 FlashQwen3.5 Flash: Text, Images, Video · Grok 4 Fast: Text, Images · Gemma 4 31B IT: Text, Images
  • Self-hostingGemma 4 31B ITPublishes downloadable weights
How the score is built
MeasureWeightQwen3.5 FlashGrok 4 FastGemma 4 31B IT
CapabilityCapabilities Index (ECI)59%727272
Price29%827479
Context window12%647543
Overall100%74/10073/10071/100

Left out because at least one model lacks the data: inputs & features. The remaining weights were rescaled.

How the score is built
MeasureWeightQwen3.5 FlashGrok 4 FastGemma 4 31B IT
CapabilityCapabilities Index (ECI)83%727272
Context window17%647543
Overall100%71/10073/10067/100

Left out because at least one model lacks the data: inputs & features. The remaining weights were rescaled.

02 — Side by side

Every spec in one table

Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.

Qwen3.5 Flash vs Grok 4 Fast vs Gemma 4 31B IT specifications side by side
SpecificationQwen3.5 FlashAlibaba (Qwen)Grok 4 FastxAIGemma 4 31B ITGoogle
Capability
Capabilities Index (ECI)143.9144.3 (best)144.2
ECI rank#104 of 166#100 of 166 (best)#101 of 166
ECI confidence interval142.0–145.8142.2–146.4141.8–146.7
ECI evaluation dateFeb 25, 2026Sep 19, 2025Apr 2, 2026
Documented capabilitiesQwen vision-language model for visual reasoning, documents, and agent tasksFast Grok model for responsive chat, reasoning, and tool-assisted workLargest Gemma 4 instruction model for open, self-hosted chat and reasoning
Model parametersNot publishedNot publishedNot published
Output modalitiesTextTextText
GPQA DiamondGraduate-level science questions82.3% (best)Not published75.8%minimal
FrontierMath Tiers 1–3Research-level mathematics18.3%noneNot publishedNot published
OTIS Mock AIME 2024–2025Competition mathematics84.4% (best)Not published73.3%minimal
SimpleQA VerifiedShort factual questions20.3% (best)Not published10.4%
Price per million tokens
Input$0.10 (best)$0.20$0.15
Output$0.40 (best)$0.50$0.40 (best)
Cached input$0.01Not publishedNot published
Blended (3:1)$0.175 (best)$0.275$0.212
Long-context rateSame rateSame rateSame rate
Price sourceOfficial Alibaba APIMedian of 4 providersMedian of 43 providers
Limits
Context window1,000,000 tokens2,000,000 tokens (best)262,144 tokens
Max inputNot publishedNot publishedNot published
Max output65,536 tokens (best)30,000 tokens32,768 tokens
Inputs and features
TextYesYesYes
ImagesYesYesYes
PDFsNoNoNo
AudioNoNoNo
VideoYesNoNo
ReasoningYesYesYes
Tool callingYesYesYes
Structured outputYesNot publishedYes
File attachmentsYesYesYes
Temperature controlYesYesYes
Reasoning controlbudgetalwaystoggle
Availability
WeightsProprietaryProprietaryOpen
API model IDqwen3.5-flashNot publishedgemma-4-31b-it
API providers11553 (best)
ReleasedFeb 23, 2026Sep 19, 2025Apr 2, 2026
Knowledge cutoffNot publishedNot publishedJan 2025
Publisher documentationPublisher documentationNot publishedPublisher documentation · Model weights
Source metadata updatedFeb 23, 2026Sep 19, 2025Apr 2, 2026
Data sourcesmodels.dev · Epoch AImodels.dev · Epoch AImodels.dev · Epoch AI
Catalog checkedNov 30, 2026Nov 30, 2026Nov 30, 2026
03 — Cost

What would a month cost?

Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.

  • Qwen3.5 Flash$1.80
  • Grok 4 Fast$3.00
  • Gemma 4 31B IT$2.30
04 — Questions

Which should you choose?

Which is better: Qwen3.5 Flash, Grok 4 Fast or Gemma 4 31B IT?

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, Qwen3.5 Flash, Grok 4 Fast or Gemma 4 31B IT?

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 Qwen3.5 Flash, Grok 4 Fast and Gemma 4 31B IT 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: Qwen3.5 Flash up to 65,536, Grok 4 Fast up to 30,000, Gemma 4 31B IT up to 32,768 tokens.

Which can read images, PDFs, audio or video?

Qwen3.5 Flash accepts text, images and video; Grok 4 Fast accepts text and images; Gemma 4 31B IT accepts text and images. 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; Qwen3.5 Flash and Grok 4 Fast 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.