Model comparison · accepted catalogue facts 2026-11-22

Gemma 4 26B A4B vs Gemma 4 31B

Neither model has both an equal-or-higher measured score and an equal-or-lower estimated price in this pair. Retaining your current model is a valid outcome.

Editorial comparison: MoE versus dense; do not substitute active size for model memory Inclusion does not recommend either model.

Gemma 4 26B A4B

LMArena general · Elo · higher is better

Scale starts at 1040 Elo

1434.2

Balanced effective USD / 1M tokens · lower is better

$0.123/M

Gemma 4 31B

LMArena general · Elo · higher is better

Scale starts at 1040 Elo

1442.5

Balanced effective USD / 1M tokens · lower is better

$0.205/M

In-Depth Analysis

Gemma 4 26B A4B vs Gemma 4 31B: Measured Technical Breakdown

Comprehensive comparison across measured human-preference evaluation, effective production token costs, architectural limits, and migration trade-offs.

Measured Capability (LMArena)
Gemma 4 31B leads by 8.3 Elo

Gemma 4 26B A4B : 1434.2 ±7.44 · Gemma 4 31B: 1442.5 ±7.41 Intervals overlap — not a guaranteed quality advantage

Cost Comparison Across Canonical Production Workloads

Rates represent effective cost per 1M tokens under standard token blends. Cached prompt reads are factored according to workload context reuse.

Workload & RatioGemma 4 26B A4B Gemma 4 31BCost DifferenceAdvantage
Balanced 3 tokens in per 1 out$0.123 /1M tokens$0.205 /1M tokens$0.082 (40% diff)Gemma 4 26B A4B costs less
Summarise Huge input, tiny output$0.070 /1M tokens$0.153 /1M tokens$0.083 (54% diff)Gemma 4 26B A4B costs less
Chat Long cached system prompt$0.148 /1M tokens$0.244 /1M tokens$0.096 (39% diff)Gemma 4 26B A4B costs less
Code gen Output dominates$0.199 /1M tokens$0.296 /1M tokens$0.097 (33% diff)Gemma 4 26B A4B costs less
Agentic Context replayed each turn$0.084 /1M tokens$0.179 /1M tokens$0.095 (53% diff)Gemma 4 26B A4B costs less

Architectural & Operational Specifications

SpecificationGemma 4 26B A4B Gemma 4 31BOperational Note
Context window262,144 tokens262,144 tokens—
Max output generation235,929 tokens16,384 tokensGemma 4 26B A4B allows longer single-turn completions
Base input price$0.067 / 1M tokens$0.140 / 1M tokensGemma 4 26B A4B input rate is cheaper
Base output price$0.290 / 1M tokens$0.400 / 1M tokensGemma 4 26B A4B output rate is cheaper
Cached input price$0.039 / 1M tokens$0.140 / 1M tokensGemma 4 26B A4B offers lower cached prompt cost
Reasoning & thinking tokensSupported; standard ratesSupported; standard rates—
Input modalitiesimage, text, videoimage, text, video—
Tool calling / function useSupportedSupported—
Open weights & licenceProprietary (API-only)Open weights (apache-2.0)Gemma 4 31B allows independent hosting or local deployment
Provider & reseller marketGoogle · 15 provider offers (3× spread)Google · 18 provider offers (7.5× spread)—

When to Choose Gemma 4 26B A4B

  • Higher maximum completion limit (235,929 tokens).
  • Direct integration with Google tooling and API features.

When to Choose Gemma 4 31B

  • Higher measured general capability (1442.5 Elo on human evaluation).
  • Open weights availability allows private self-hosting and on-premise execution.
  • Direct integration with Google tooling and API features.
Risks when moving from Gemma 4 26B A4B → Gemma 4 31B:
  • Output limit: 235,929 → 16,384 tokens.

Compare · model decision

Choose two or three models

Inspect the differences, estimate your workload and keep the evidence. All standard catalogue models are available, including unrated ones.

Catalogue facts
2026-11-22

2 / 3 selected · 0 requirements
Open public comparison link
Public workload and requirements

These settings are included in the share link. The fixed-request scenario and private evaluation data below are excluded.

A ↔ B

Neither model has both an equal-or-higher measured score and an equal-or-lower estimated price in this pair. Retaining your current model is a valid outcome.

Estimated blend: 75% input, 25% output; 0% cached input. Base context tier. Prompt length selects the billing tier. An unlisted cache-read rate uses that tier’s full input rate in this blend; missing required input or output rates prevent an estimate. The fixed-request estimate below validates actual context and output limits and requires a published cache-read rate when cache hits are assumed.

What changes between these models

Quality first, then estimated price. LMArena scores are human-preference measurements, not a benchmark of your application. A missing score is unrated.

  • Gemma 4 26B A4B · Meets the stated model requirements
  • Gemma 4 31B · Meets the stated model requirements
Material differences and unknown evidence. Deltas compare each model with model A. Unknown facts remain visible.
Measured factA Gemma 4 26B A4B B Gemma 4 31B
LMArena general score (Elo)1,434.21,442.5Δ vs A: +8.3 Elo
Score interval half-width (± Elo)7.447.41Δ vs A: -0.03 Elo
LMArena document score (Elo)Unknown1,434.3
Estimated effective USD / 1M tokens$0.12275$0.205Δ vs A: +0.08225 USD/M
Base input USD / 1M tokens$0.067$0.14Δ vs A: +0.073 USD/M
Base output USD / 1M tokens$0.29$0.4Δ vs A: +0.11 USD/M
Base cached-input USD / 1M tokens$0.039$0.14Δ vs A: +0.101 USD/M
Output limit (tokens)235,92916,384Δ vs A: -219,545 tokens
Open weightsUnknownSupported
Recorded licenceUnknownapache-2.0
Recorded retirement dateUnknownUnknown
9 shared measured facts
Shared measured facts. Deltas compare each model with model A. Unknown facts remain visible.
Measured factA Gemma 4 26B A4B B Gemma 4 31B
Benchmark reasoning effortdefaultdefault
Context window (tokens)262,144262,144Δ vs A: 0 tokens
Input modalitiesimage, text, videoimage, text, video
Tool useSupportedSupportedΔ vs A: 0
ReasoningSupportedSupportedΔ vs A: 0
Model providerGoogleGoogle
Distinct sellers in the catalogue1515Δ vs A: 0
Serving precision differs across offersSupportedSupportedΔ vs A: 0
Retirement evidenceNone announced; not a guaranteeNone announced; not a guarantee

Provider counts and precision flags describe catalogue offers. They do not establish the precision, availability, region, tool behaviour or limits of your chosen endpoint. Open each model’s provider table before switching.

Complete price ladders and billing conditions

Gemma 4 26B A4B

Rates below are USD per 1M tokens. A threshold selects that whole input/output rate pair.

Input-token thresholdInputOutputCached input
Base, up to and including first threshold$0.067$0.29$0.039

Gemma 4 31B

Rates below are USD per 1M tokens. A threshold selects that whole input/output rate pair.

Input-token thresholdInputOutputCached input
Base, up to and including first threshold$0.14$0.4$0.14
Migration preflight · compare each candidate with model A

Keeping Gemma 4 26B A4B is a valid decision. No pairwise comparison certifies a drop-in replacement.

Gemma 4 26B A4B → Gemma 4 31B

Known loss or failed requirement

  • Output limit: 235,929 → 16,384 tokens.
  • Provider endpoint, serving precision, availability and task success need your own verification. Catalogue model capabilities do not certify an endpoint.
Check alternatives to Gemma 4 26B A4B

Estimate a fixed request shape

Private to this tab unless you save locally or explicitly export private details. These are estimates, not observed invoices. Cross-model token counts and task success are assumptions.

0.1 extra attempts means 10 extra full attempts per 100 requests. Cache writes, tool charges, taxes and unlisted charges are excluded.

  • Gemma 4 26B A4B Estimated total: $0.279 1,000 full attempts · base rates
  • Gemma 4 31BEstimated total: $0.48 1,000 full attempts · base rates
Prompt and output sensitivity · sampled scenarios

Every point recalculates the entire request shape. Tier-boundary samples include one token below, at and above each threshold. Ordering between samples is not guaranteed. Lowest known cost excludes unknown estimates and is not a replacement recommendation.

Vary input; hold output, requests, cache and retries fixed.
Input tokensGemma 4 26B A4B Gemma 4 31BCoverage
2,000$0.279Lowest known$0.48All computed
4,096$0.419432Lowest known$0.77344All computed
32,768$2.340456Lowest known$4.78752All computed
131,072$8.926824Lowest known$18.55008All computed
Vary output; hold input, requests, cache and retries fixed.
Output tokensGemma 4 26B A4B Gemma 4 31B
128$0.17112$0.3312
2,048$0.72792$1.0992
8,192$2.50968$3.5568

Bring your observed evaluation results

JSON is parsed locally. Prompts, filenames, individual responses and extra fields are not retained. Import only aggregate measurements for selected models. Task/version labels do not establish that two evaluations used the same dataset.

Expected format
[{"model":"provider/exact-model-id","task":"support-answer","version":"rubric-1","attempts":100,"successes":84,"costUsd":2.4,"latencyMs":950}]

Use the exact catalogue ID. Replace the example values with observed measurements. Omit costUsd or latencyMs when they are unknown. No public score is inferred from these observations.

Keep the decision and its evidence

A portable record retains selected facts, complete tier ladders, public requirements and the publication manifest. It also embeds the full permitted public catalogue to verify the input artifact checksum. Files are larger for this reason (up to 2 MB); local storage is limited to 12 records. Team review is local to this browser; there is no hosted collaboration.

Saving is opt-in and includes private review fields. Shared comparison links never include them. Version 1 Check references remain separate and are not overwritten or guessed into this format.

Saved local decisions · 0

No version 2 decision records are stored in this browser.

Questions this page answers

Is Gemma 4 26B A4B a better-and-cheaper replacement for Gemma 4 31B?

Neither model has both an equal-or-higher measured score and an equal-or-lower estimated price in this pair. Retaining your current model is a valid outcome.

Which model is higher rated: Gemma 4 26B A4B or Gemma 4 31B?

Gemma 4 31B scores higher on LMArena general (1442.5 ±7.4) compared to Gemma 4 26B A4B (1434.2 ±7.4), a margin of 8.3 Elo points. However, because the 95% confidence intervals overlap, this does not establish an unconditional superiority across all tasks.

Which model is more cost-effective: Gemma 4 26B A4B or Gemma 4 31B?

On a standard balanced workload (3 prompt tokens per 1 generated token), Gemma 4 26B A4B costs $0.123 per 1M tokens versus $0.205 for Gemma 4 31B. Gemma 4 31B is approximately 1.7× the price of Gemma 4 26B A4B . Base input rates are $0.067 for Gemma 4 26B A4B and $0.140 for Gemma 4 31B; base output rates are $0.290 for Gemma 4 26B A4B and $0.400 for Gemma 4 31B.

How do their context windows and generation limits compare?

Both Gemma 4 26B A4B and Gemma 4 31B provide an identical 262,144-token context window. Maximum output generation limits are 235,929 tokens for Gemma 4 26B A4B and 16,384 tokens for Gemma 4 31B.

What capabilities are lost when switching between Gemma 4 26B A4B and Gemma 4 31B?

Switching from Gemma 4 26B A4B to Gemma 4 31B involves: Output limit: 235,929 → 16,384 tokens. Run test suites on your specific prompt templates and tool declarations before cutting over production traffic.

Can Gemma 4 26B A4B or Gemma 4 31B be self-hosted or deployed privately?

Gemma 4 31B provides open weights, enabling self-hosting on private GPU infrastructure, local quantization, and private data pipelines. Managed inference is also offered across third-party API providers (15 for Gemma 4 26B A4B , 18 for Gemma 4 31B).

What is included in this comparison?

Accepted model capabilities, context and output limits, complete price-tier ladders, independent LMArena measurements and missing evidence. Provider endpoint precision and application success still need verification.

Can I compare a different workload or keep a decision record?

Yes. Change the public workload, prompt length and requirements in the comparison workspace. Fixed-request scenarios, aggregate evaluations and review notes stay local unless explicitly exported.

Evidence & Ask