Google Gemma 4 Mixture-of-Experts model

Gemma 4 26B A4B IT

Google DeepMind’s efficiency-focused Gemma 4 instruction model with 25.2B total parameters but only about 3.8B active per token, combining 256K context, text-and-image reasoning, thinking mode, native function calling, and open-weight deployment.

Context window
262.1K
262,144 tokens
Max API output
32,768
tokens
Total parameters
25.2B
MoE
Active parameters
3.8B
per token
Experts
8 / 128
+ 1 shared

01 / Overview

What Gemma 4 26B A4B IT Is

Gemma 4 26B A4B IT is Google DeepMind’s large Mixture-of-Experts instruction model, designed to deliver near-large-model capability while activating only a small fraction of its 25.2 billion parameters for each token.

The Efficiency-Focused Server Model in Gemma 4

The model’s name encodes its defining architecture.

26B refers to the overall parameter scale.

A4B means roughly four billion parameters are active during inference.

Google’s model card gives the more precise figures:

  • 25.2B total parameters;
  • 3.8B active parameters;
  • 30 transformer layers;
  • 128 routed experts;
  • 8 active experts per token;
  • 1 shared expert;
  • 256K context;
  • text and image input;
  • text output.

The model also supports configurable thinking, native function calling, system instructions, multilingual text, image understanding, long-context workflows, open-weight self-hosting, and Gemini API inference.

This combination gives Gemma 4 26B A4B a very different deployment profile from the dense 31B model.

It contains tens of billions of parameters, but only a relatively small subset participates in each token computation.

Google explicitly describes it as running much faster than its total parameter count suggests and as an excellent fast-inference alternative to the dense 31B model.

Model profile
Provider
Google DeepMind
Family
Gemma 4
Model ID
gemma-4-26b-a4b-it
Architecture
Mixture of Experts
Total parameters
25.2B
Active parameters
3.8B
Layers
30
Input
Text, Image
Output
Text

02 / MoE architecture

Gemma 4 26B A4B Uses Mixture-of-Experts Routing

Instead of running all 25.2 billion parameters for every token, Gemma 4 26B A4B routes each token through a small set of experts, reducing active compute while preserving a much larger total model capacity.

8 Experts Active, 128 Available, Plus One Shared Expert

Google lists the MoE structure as:

  • 128 routed experts;
  • 8 active experts;
  • 1 shared expert;
  • 3.8B active parameters;
  • 25.2B total parameters.

The shared expert provides a common processing path.

The routed experts specialize different parts of the parameter space.

For each token, the routing mechanism selects only a subset of experts.

That changes the economics of inference.

A dense 25B model would require most or all parameters to participate in every token.

Gemma 4 26B A4B does not.

The model can therefore retain a large total parameter pool while keeping per-token compute closer to a much smaller model.

This architecture is especially attractive for interactive inference, high request volume, self-hosted serving, latency-sensitive development tools, coding assistants, multimodal applications, and large-context services where decoder compute matters.

MoE is not free.

The complete weights still need to be stored.

Expert routing also introduces implementation and memory-access considerations.

But active compute is dramatically lower than the headline 25.2B count implies.

8 active experts from 128
  1. 128

    Routed experts

    The model has a large pool of specialized expert networks available to the router.

  2. 8

    Active routed experts

    Only eight routed experts are selected for each token.

  3. +1

    Shared expert

    A shared expert participates alongside the routed expert structure.

  4. 3.8B

    Active parameters

    Only a small portion of the 25.2B total parameter set is active during token generation.

03 / Inference efficiency

Why A4B Matters for Inference

Google describes Gemma 4 26B A4B as running almost as fast as a roughly 4B-parameter model because only about 3.8B parameters are active per token.

Parameter Count and Active Compute Are Different Numbers

When evaluating an MoE model, three numbers matter.

Total parameters describe how much learned model capacity exists overall.

Active parameters describe how much of that capacity participates in one token computation.

Resident model memory describes how much hardware memory is needed to hold or distribute the complete weights.

Gemma 4 26B A4B separates these more clearly than a dense model.

It has 25.2B total parameters, but only 3.8B are active during inference.

That can improve tokens per second, latency, throughput, energy efficiency, and compute cost.

However, the complete model still has to be stored somewhere.

A self-hosted deployment still needs enough aggregate memory for weights, KV cache, activations, and runtime overhead.

Long 256K contexts can make KV-cache memory especially important.

So “active like 4B” should not be interpreted as “uses the same RAM as a 4B dense model.”

It refers primarily to active computation.

Large model capacity, small active compute
  1. 25.2B

    Total capacity

    The complete model contains 25.2 billion parameters.

  2. 3.8B

    Active compute

    Only about 3.8 billion parameters participate in token-level inference.

  3. 01

    Higher throughput potential

    Lower active compute can reduce latency and increase serving throughput compared with a similarly sized dense model.

  4. 02

    Memory still matters

    The full model weights and long-context KV cache still impose hardware requirements.

04 / Thinking

Thinking Mode for Coding, Math, and Multi-Step Reasoning

Gemma 4 26B A4B supports configurable thinking, allowing the model to spend additional generation on internal reasoning before returning the final answer.

Gemini API Exposes Thinking as High or Minimal

Google’s Gemini API Gemma guide exposes two practical thinking modes:

  • high to enable thinking;
  • minimal to disable it.

At the raw prompt-template level, Gemma 4 uses the <|think|> control token.

Thinking is particularly relevant for algorithmic coding, mathematical proofs, multi-step planning, tool selection, difficult debugging, and scientific reasoning.

Reasoning increases generated work.

That may improve accuracy but also affect latency, generated token count, memory use, and throughput.

An efficiency-focused model should therefore be evaluated in both modes.

For simple classification or rewriting, minimal reasoning may preserve throughput.

For difficult coding or math tasks, high reasoning can be worth the additional compute.

Configurable reasoning
minimal · thinking offhigh · thinking on

Fast workload

Use minimal reasoning for straightforward tasks where latency and throughput matter more than deeper analysis.

Difficult workload

Use high reasoning for coding, math, planning, or tool-use tasks where additional reasoning improves completion.

05 / Multimodal

Multimodal Reasoning Without Native Audio

Gemma 4 26B A4B accepts text and image input, supports interleaved multimodal prompts, and generates text output.

Google lists visual capabilities including object detection, document and PDF understanding, UI and screen understanding, chart comprehension, OCR, multilingual OCR, handwriting recognition, and spatial pointing.

The model can also process video as a sequence of image frames.

Its dedicated vision encoder contains roughly 550M parameters.

This gives the model a practical role in document assistants, screenshot analysis, UI debugging, image-grounded coding, OCR pipelines, chart interpretation, and multimodal support systems.

The 26B A4B model does not include native audio support.

In Gemma 4, native audio is available on E2B, E4B, and 12B Unified variants.

Text and image understanding
  • Text

    Generation, instruction following, reasoning, coding, and multilingual text.

    Supported
  • Image input

    Analyze screenshots, documents, charts, handwriting, and general visual content.

    Supported
  • Interleaved prompts

    Mix images and text within one prompt.

    Supported
  • Video frames

    Analyze video content by processing frame sequences.

    Supported
  • Native audio

    Native audio belongs to smaller Gemma 4 variants, not 26B A4B.

    Not listed
  • Text output

    The model generates text responses.

    Supported

06 / Context

A 256K Context Window With Hybrid Attention

Gemma 4 26B A4B supports up to 256K tokens of context, combining local sliding-window attention with periodic global attention to make long-context processing more efficient.

Google lists a 262,144-token context class, 1,024-token sliding window, hybrid local and global attention, proportional RoPE on global attention, and unified Keys and Values on global layers.

This architecture matters because unrestricted full attention in every layer becomes expensive as context grows.

Gemma 4 reduces that cost by mixing efficient local attention, periodic global attention, and a final global layer.

Long context supports long documents, source code, research corpora, conversation history, retrieved passages, tool state, and multimodal input.

But maximum context is still not a recommendation to fill every request.

Long prompts increase KV-cache memory, prefill latency, inference cost for self-hosting, and retrieval noise.

256K long context

Context window

262,144

Gemini API max output

32,768

Prompt + image contextOutput limit

Google describes this as the 256K context tier. EidoStack uses verified Gemini API metadata with a 262,144-token input limit.

07 / Function calling

Native Function Calling for Agentic Workflows

Gemma 4 26B A4B can generate structured function calls, making the model suitable for lower-compute agentic workflows where reasoning must connect to external tools.

The host application defines functions and schemas.

Gemma can then inspect the request, decide whether a function is needed, select a tool, generate structured arguments, receive the tool result, and produce the final response.

The application—not the model—executes the external function.

This separation is important for security, authorization, schema validation, error handling, and observability.

Thinking mode can improve tool selection on difficult tasks.

Combined with the MoE efficiency profile, that makes 26B A4B interesting for agentic systems where tool-calling volume is high.

Agentic tool use
  1. 01

    Define

    Provide the available functions, argument schemas, and descriptions.

  2. 02

    Select

    The model reasons about whether a tool is required and chooses the appropriate function.

  3. 03

    Execute

    The host application validates and executes the function.

  4. 04

    Continue

    Return tool results to Gemma so it can produce the final answer or make another decision.

08 / Coding

Strong Coding Results With Much Lower Active Compute

Gemma 4 26B A4B combines a strong published coding benchmark profile with only about 3.8B active parameters per token.

Google reports:

  • 77.1% on LiveCodeBench v6;
  • 1718 Codeforces ELO.

Those results are below Gemma 4 31B but substantially above the Gemma 3 27B baseline in the same benchmark table.

That makes the model especially interesting for coding workloads where throughput matters.

Examples include code generation, code correction, algorithmic reasoning, coding chat, repository Q&A, function-calling agents, and interactive development assistants.

The key comparison is not only benchmark score.

Measure tokens per second, first-token latency, memory footprint, accepted code rate, retries, reasoning mode, and cost per successful coding task.

A slightly weaker model can be the better production choice if it reaches the required quality at much higher throughput.

Efficient coding capability
  1. 77.1%

    LiveCodeBench v6

    Published instruction-tuned coding benchmark result.

  2. 1718

    Codeforces ELO

    Published competitive-programming rating.

  3. 3.8B

    Active parameters

    The coding workload is processed with a much smaller active parameter set than the full 25.2B model size.

  4. 01

    Throughput matters

    Evaluate accepted code quality together with latency, token generation speed, and serving cost.

09 / Benchmarks

Gemma 4 26B A4B IT Benchmark Profile

Google’s benchmark table shows the 26B A4B model delivering strong reasoning, coding, vision, and multilingual results while using dramatically less active compute than the dense 31B model.

Reasoning and Knowledge

Published 26B A4B results include:

  • MMLU Pro: 82.6%;
  • AIME 2026 without tools: 88.3%;
  • GPQA Diamond: 82.3%;
  • BigBench Extra Hard: 64.8%;
  • MMMLU: 86.3%.

Coding

  • LiveCodeBench v6: 77.1%;
  • Codeforces ELO: 1718.

Vision

  • MMMU Pro: 73.8%;
  • MATH-Vision: 82.4%;
  • MedXPertQA multimodal: 58.1%;
  • OmniDocBench 1.5 average edit distance: 0.149, where lower is better.

Agentic Tool Use

  • Tau2 average: 68.2%.

Long Context

  • MRCR v2, 8-needle, 128K average: 44.1%.

The benchmark gap versus 31B is real.

But so is the compute gap.

That is why 26B A4B should be evaluated as an efficiency frontier rather than simply as a lower-scoring sibling.

Published Gemma 4 results
  1. 88.3%

    AIME 2026

    Mathematical reasoning result without tools.

  2. 82.3%

    GPQA Diamond

    Graduate-level scientific reasoning result.

  3. 77.1%

    LiveCodeBench v6

    Published coding benchmark result.

  4. 73.8%

    MMMU Pro

    Multimodal reasoning result.

  5. 44.1%

    MRCR v2 128K

    Published long-context 8-needle result.

10 / Pricing

Gemma 4 26B A4B IT Pricing

Google currently lists Gemma 4 input, output, context caching, and cache storage as free on the Gemini API free tier, with no normal paid-tier per-token price published.

The current pricing table lists input, output, context caching, and context cache storage as free of charge on the free tier, while paid-tier token pricing is not available.

Free hosted inference is useful for experimentation.

It should not be confused with guaranteed unrestricted production capacity.

Quotas still determine request rate, daily usage, token throughput, concurrency, and eligibility.

For larger production workloads, the MoE architecture makes self-hosting economically interesting.

The model’s active compute is much smaller than its total parameter count.

That can improve the economics of dedicated inference servers, high-utilization deployments, batch generation, coding assistants, and multimodal services.

Self-hosting shifts cost from per-token API billing to infrastructure.

Hosted vs self-hosted economics

1M tokens · USD

Input
$0
Context caching
$0
Output
$0

Google free tier

Published token charge
$0
Paid-tier rate
N/A
Token price
Free tier

11 / Deployment

Gemma 4 26B A4B Is Designed for Efficient Deployment

Google describes the 26B A4B model as an excellent starting point for fast inference compared with dense 31B because only about 4B parameters are active per token.

Consumer GPU and Workstation-Class Use Is More Practical

The Gemma 4 family targets deployment from mobile devices to servers.

The 26B A4B model sits in a useful middle ground.

It offers large total model capacity, small active compute, 256K context, vision, thinking, and function calling.

That makes it relevant to high-end workstations, consumer GPU systems with sufficient memory, dedicated inference servers, cloud GPU deployments, private coding assistants, and local multimodal applications.

Quantization can further reduce memory requirements.

But active parameter count does not eliminate weight-storage requirements.

The full 25.2B parameter set still needs to reside in memory or be distributed across devices.

For long context, KV-cache memory can become a significant part of total consumption.

Where MoE helps most
  1. 01

    Interactive inference

    Lower active compute can make response latency more practical for developer-facing applications.

  2. 02

    High-throughput serving

    MoE can increase the amount of useful work produced for a given amount of decoder compute.

  3. 03

    Private deployment

    Open weights enable local or controlled-infrastructure inference.

  4. 04

    Quantized serving

    Lower-precision deployments can further reduce memory pressure when quality remains acceptable.

12 / 26B A4B vs 31B

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

The defining tradeoff is straightforward: Gemma 4 31B offers the stronger published quality profile, while 26B A4B provides dramatically lower active compute.

Gemma 4 26B A4B IT

  • 25.2B total parameters;
  • 3.8B active parameters;
  • MoE architecture;
  • 30 layers;
  • 8 active experts from 128 plus one shared expert;
  • 256K context;
  • lower active compute;
  • faster inference profile.

Gemma 4 31B IT

  • 30.7B total parameters;
  • dense architecture;
  • 60 layers;
  • full dense model active;
  • 256K context;
  • stronger published benchmark profile;
  • higher inference demand.

Some benchmark comparisons:

  • AIME 2026: 88.3% vs 89.2%;
  • GPQA Diamond: 82.3% vs 84.3%;
  • LiveCodeBench v6: 77.1% vs 80.0%;
  • MMMU Pro: 73.8% vs 76.9%;
  • MRCR 128K: 44.1% vs 66.4%.

The long-context benchmark gap is larger than the coding or math gap.

That suggests workload-specific evaluation is essential.

For math or coding, 26B A4B can stay relatively close while using much less active compute.

For difficult long-context retrieval, 31B may justify its heavier inference cost.

Efficiency frontier vs dense quality
  1. 3.8B

    A4B active compute

    Only a small fraction of the 25.2B total parameter set is active for each token.

  2. 30.7B

    31B dense compute

    The dense sibling applies its full network instead of routing through a small expert subset.

  3. 77.1%

    A4B LiveCodeBench

    Close to the 31B model’s 80.0% published coding result.

  4. 44.1%

    A4B MRCR 128K

    A larger gap appears in long-context retrieval, where 31B scores 66.4%.

13 / Lifecycle

Gemma 4 26B A4B IT Lifecycle Status

EidoStack treats Gemma 4 26B A4B IT as deprecated, while Google’s current documentation still lists the model as supported through the Gemini API and the open weights remain independently deployable.

Open-Weight Models Do Not Have One Universal Shutdown Date

A single Gemma checkpoint can appear through several surfaces:

  • Gemini API;
  • Google AI Studio;
  • Hugging Face;
  • local inference;
  • third-party inference APIs;
  • EidoStack.

These surfaces do not have to share the same lifecycle.

Google’s current Gemma API guide explicitly lists gemma-4-31b-it and gemma-4-26b-a4b-it as supported Gemma 4 models.

Google’s April 2, 2026 Gemini API changelog also records the release of both models.

The open weights remain available independently of the hosted endpoint.

Therefore this page does not invent a Google retirement date, a global shutdown, or an official replacement model.

The deprecated status applies to the EidoStack catalog entry described by this page.

Provider-specific lifecycle
  1. 01

    EidoStack

    Treat this entry as deprecated in the EidoStack model catalog.

  2. 02

    Gemini API

    Google’s current Gemma guide still lists gemma-4-26b-a4b-it as supported.

  3. 03

    Open weights

    The downloadable model can continue to be self-hosted independently of Google’s API.

  4. 04

    Third-party providers

    Each hosted inference provider can set its own availability and retirement schedule.

14 / Migration

Migrating Away From Gemma 4 26B A4B IT in EidoStack

There is no verified universal Google replacement in the current documentation, so migration should preserve the original efficiency objective rather than blindly selecting a larger model.

Keep the MoE Value Proposition in the Evaluation

Gemma 4 26B A4B was attractive because it combined large-model total capacity, only 3.8B active parameters, 256K context, multimodal input, thinking, function calling, and open weights.

A migration suite should therefore measure more than output quality.

Preserve the prompt set, image inputs, context lengths, thinking configuration, tool schemas, expected outputs, latency measurements, memory measurements, and accepted-result thresholds.

Then compare candidate models on correctness, tokens per second, time to first token, memory usage, context quality, tool-call accuracy, coding success, and infrastructure cost.

If the goal is highest Gemma 4 quality, dense 31B is the direct family comparison.

If the goal is inference efficiency, another MoE or sparse model may be the more appropriate successor.

Choosing the next efficiency target
  1. 01

    Preserve the workload

    Replay the same prompts, images, tools, context sizes, and reasoning settings.

  2. 02

    Measure throughput

    Keep latency and tokens-per-second metrics because efficiency was central to the original model choice.

  3. 03

    Measure memory

    Compare complete weight storage, KV-cache use, and quantized deployment requirements.

  4. 04

    Compare accepted-task economics

    Choose the model that meets quality requirements at the best total infrastructure or API cost.

15 / Evaluation

Gemma 4 26B A4B IT Strengths and Limitations

Gemma 4 26B A4B is one of the clearest examples of why total parameter count alone is a poor measure of inference cost: it stores 25.2B parameters but activates only about 3.8B per token.

Strengths

  • Low active compute

    Only about 3.8B parameters are active per token despite 25.2B total parameters.

  • Strong quality-to-compute ratio

    Published math, coding, vision, and scientific reasoning scores remain relatively close to dense 31B on several benchmarks.

  • 256K context

    Long documents, code, multimodal inputs, and agent state can fit in a large native context.

  • Open agentic model

    Thinking, native function calling, system prompts, image understanding, and open weights support advanced private deployments.

What to consider

  • Full weights still require memory

    Active compute is small, but the complete 25.2B parameter set still needs storage or distribution.

  • Long-context quality trails 31B

    Google reports a substantially lower MRCR 128K score than the dense 31B model.

  • No native audio

    The 26B A4B model supports text and images but not the native audio path available on smaller Gemma 4 variants.

  • Lifecycle is deployment-specific

    EidoStack deprecation does not imply the open weights or Google-hosted endpoint have been globally retired.

Preserve the efficient Gemma baseline

Compare Gemma 4 26B A4B behavior with a supported alternative

Replay your reasoning, coding, image, long-context, and tool-calling prompts while measuring quality, latency, active-compute efficiency, memory requirements, and cost.

Start Free

Gemma 4 26B A4B IT is marked deprecated in EidoStack. Google’s current documentation still lists the hosted Gemini API model, and the open weights remain available for independent deployment.

Common Questions

What is Gemma 4 26B A4B IT?

Gemma 4 26B A4B IT is Google DeepMind’s instruction-tuned Mixture-of-Experts model with 25.2B total parameters but only about 3.8B active parameters during inference.

What does A4B mean in Gemma 4 26B A4B?

A4B refers to the approximately four billion parameters active during inference. Google lists the precise active parameter count as about 3.8B.

What does IT mean?

IT means instruction tuned. The model is optimized for following user and system instructions.

What is the model ID?

The Gemini API model ID is gemma-4-26b-a4b-it.

How many total parameters does Gemma 4 26B A4B have?

Google lists 25.2 billion total parameters.

How many active parameters does it use?

About 3.8 billion parameters are active during inference.

How many experts does Gemma 4 26B A4B have?

Google lists 128 routed experts, 8 active experts per token, and one shared expert.