ZMIME
Comparison · 2 models · Updated Nov 18, 2026

Gemma 4 26B A4B IT vs Gemma 4 31B IT

Too close to call on our weighted score (Gemma 4 31B IT 68, Gemma 4 26B A4B IT 66). The right pick depends on what you value most.

Price in rating: Excluded · Include price

  1. Google

    Gemma 4 26B A4B IT

    Released Apr 2, 2026

    66/100
    • ECI141.6
    • Price$0.112 / $0.40
    • Context262K
  2. Google

    Gemma 4 31B IT

    Released Apr 2, 2026

    68/100
    • ECI144.1
    • Price$0.142 / $0.40
    • Context262K
  3. Add a model

    Make it a three-way comparison.

01 — Verdict

Too close to call

It is close. Our weighted score puts them within 2 points (Gemma 4 31B IT 68/100, Gemma 4 26B A4B IT 66/100), so choose by what matters most for your work: Gemma 4 31B IT for raw capability and Gemma 4 26B A4B IT on price. The score weighs capability 67%, inputs & features 20%, context window 13%.

  • CapabilityGemma 4 31B ITCapabilities Index (ECI): Gemma 4 31B IT 144.1 · Gemma 4 26B A4B IT 141.6
  • Lowest priceGemma 4 26B A4B ITGemma 4 26B A4B IT $0.184 · Gemma 4 31B IT $0.206 per 1M tokens (3:1 blend)
  • Longest contextAbout the sameGemma 4 26B A4B IT 262,144 · Gemma 4 31B IT 262,144 tokens
  • Widest inputsSame inputsGemma 4 26B A4B IT: Text, Images · Gemma 4 31B IT: Text, Images
  • Self-hostingAll open weightsEvery model here can be downloaded and run on your own hardware
How the score is built
MeasureWeightGemma 4 26B A4B ITGemma 4 31B IT
CapabilityCapabilities Index (ECI)67%6972
Inputs & features20%7070
Context window13%4343
Overall100%66/10068/100
02 — Side by side

Every spec in one table

Highlighted cells lead their row. Dashes mean the data is not published.

Gemma 4 26B A4B IT vs Gemma 4 31B IT specifications side by side
SpecificationGemma 4 26B A4B ITGoogleGemma 4 31B ITGoogle
Capability
Capabilities Index (ECI)141.6144.1 (best)
ECI rank#105 of 158#94 of 158 (best)
GPQA DiamondGraduate-level science questions73.2%75.8% (best)
OTIS Mock AIME 2024–2025Competition mathematics82.2% (best)73.3%
SimpleQA VerifiedShort factual questions—10.4%
Price per million tokens
Input$0.112 (best)$0.142
Output$0.40$0.40
Cached input——
Blended (3:1)$0.184 (best)$0.206
Long-context rateSame rateSame rate
Price sourceMedian of 29 providersMedian of 42 providers
Limits
Context window262,144 tokens262,144 tokens
Max output32,768 tokens32,768 tokens
Inputs and features
TextYesYes
ImagesYesYes
PDFsNoNo
AudioNoNo
VideoNoNo
ReasoningYesYes
Tool callingYesYes
Structured outputYesYes
Availability
WeightsOpenOpen
API model IDgemma-4-26b-a4b-itgemma-4-31b-it
API providers3352 (best)
ReleasedApr 2, 2026Apr 2, 2026
Knowledge cutoff—Jan 2025
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.

  • Gemma 4 26B A4B IT$1.92
  • Gemma 4 31B IT$2.22
04 — Questions

Which should you choose?

Which is better: Gemma 4 26B A4B IT or Gemma 4 31B IT?

It is close. Our weighted score puts them within 2 points (Gemma 4 31B IT 68/100, Gemma 4 26B A4B IT 66/100), so choose by what matters most for your work: Gemma 4 31B IT for raw capability and Gemma 4 26B A4B IT on price. The score weighs capability 67%, inputs & features 20%, context window 13%.

Which is cheaper, Gemma 4 26B A4B IT or Gemma 4 31B IT?

Gemma 4 26B A4B IT is cheaper at $0.112 input / $0.40 output per million tokens (median across 29 API providers; free on Google). Gemma 4 31B IT costs $0.142 input / $0.40 output per million tokens (median across 42 API providers; free on Google). At a typical mix of three input tokens to one output token, that is $0.184 per million tokens for Gemma 4 26B A4B IT versus $0.206 for Gemma 4 31B IT (1.1× as much).

Which scores higher on benchmarks?

Gemma 4 31B IT scores higher on the Capabilities Index (ECI): Gemma 4 31B IT 144.1 (#94 of 158) and Gemma 4 26B A4B IT 141.6 (#105 of 158). The confidence ranges of the top two overlap (141.7–146.6 vs 139.1–144.0), so treat the gap as small. On individual benchmarks: GPQA Diamond — Gemma 4 31B IT 75.8%, Gemma 4 26B A4B IT 73.2%; OTIS Mock AIME 2024–2025 — Gemma 4 26B A4B IT 82.2%, Gemma 4 31B IT 73.3%.

Which is better for coding?

There are no published SWE-bench Verified results for Gemma 4 26B A4B IT and Gemma 4 31B IT yet, so there is no like-for-like coding score. On overall capability, Gemma 4 31B IT leads, which tends to carry over to coding, but test on your own codebase. Both support tool calling for agent workflows.

Which has the bigger context window?

Gemma 4 26B A4B IT and Gemma 4 31B IT share the same 262,144-token context window. Maximum output per response: Gemma 4 26B A4B IT up to 32,768, Gemma 4 31B IT up to 32,768 tokens.

Which can read images, PDFs, audio or video?

Gemma 4 26B A4B IT accepts text and images; Gemma 4 31B IT accepts text and images. They handle the same number of input types.

Are any of these open source?

Yes, both publish their weights, so you can self-host them.

Which is newer?

Gemma 4 26B A4B IT is the newest, released Apr 2, 2026. Gemma 4 31B IT came out Apr 2, 2026. Knowledge cutoff: Gemma 4 31B IT Jan 2025.

How do you decide the winner?

This rating uses capability (67%, independent benchmark results); inputs & features (20%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (13%, 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 18, 2026.