ApX logoApX logo
CalculatorCoursesPricing

Gemma 4 26B A4B

Open Source
Open Weights

Parameters

25.2B

Context Length

256K

Modality

Multimodal

Auxiliary Parameters

450M

Architecture

Mixture of Experts

KV Cache Rate

240 KB/tok

License

Apache 2.0

Release Date

2 Apr 2026

Knowledge Cutoff

-

API Pricing (per 1M)

Input: $0.10 · Output: $0.32

Hardware & System Requirements

Precision

Context

Workload Memory: 16.11 GB

vLLM

INT4 · 8K context · 1 user

Base Weights: 11.73 GB

KV Cache: 1.88 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

1x NVIDIA L4 24GB

vLLM

16.1 / 21.6 GB

1x RTX 4090 24GB

llama.cpp

16.1 / 22.3 GB

Apple M4 24GB

llama.cpp

16.1 / 18.0 GB

Determine requirements for concurrent users or multi-node clusters:

Runtime compatibility

Verified on hardware and checkpoint files.

Checkpoint format

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 5.5.0.dev0

ArchitecturePrecisionAttention kernel

Blackwell, Hopper

Native FP16

FlashAttention-3

Ada Lovelace, Ampere

Native FP16

FlashAttention-2

Architecture Diagram

Input TokensToken EmbeddingPosition: RoPEHidden: 2.1k · Context: 256K · Vocab: 262.1kx 30 layersRMSNormPre-AttentionGrouped-Query Attention16Q / 8KV heads · SW: 1kHead dim: 256+RMSNormPre-FFNSparse MoE FFNGELU8/128 experts · Intermediate: 704+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#130

BenchmarkScoreRank

Professional Knowledge

MMLU Pro

0.826

#20

Graduate-Level QA

GPQA

0.823

#57

General Text

Text Arena

1437.57

#90

Agentic Index

Artificial Analysis
auto

0.03

#105

Web Development

WebDev Arena

1357.62

#106

0.39

#107

Intelligence Index

Artificial Analysis

0.04

#353

Rankings

Overall Rank

#130

Coding Rank

#120

About Gemma 4 26B A4B

Gemma 4 26B A4B is a Mixture-of-Experts model with 25.2B total parameters but only 3.8B active per inference, achieving the speed of a 4B model with near-31B performance. Features 128 experts (8 active) with 256K context window, supporting text and image input. Optimized for fast inference on consumer GPUs while delivering frontier-level reasoning and coding capabilities.

Specifications

Attention

Attention Structure

Grouped-Query Attention

Attention Heads

16

Key-Value Heads

8

Attention Head Dimension

256

Position Embedding

ROPE

RoPE Theta

10,000

Sliding Window Attention

Yes

Sliding Window Size

1,024

Sliding Window Ratio

83.3%

Normalization

RMS Normalization

Activation Function

GELU

Dimensions

Base Precision

FP16

Auxiliary Parameters

450M

Hidden Dimension Size

2,112

Number of Layers

30

FFN Intermediate Size (Dense)

704

Tokenizer

Vocabulary Size

262,144

Mixture of Experts

Active Parameters

3.8B

Number of Experts

128

Active Experts

8

FFN Intermediate Size (per Expert)

704

About Gemma 4

Gemma 4 is Google DeepMind's most advanced open model family, built from Gemini 3 research and technology. Featuring both Dense and Mixture-of-Experts (MoE) architectures, these multimodal models handle text, images, and audio (on smaller variants), with context windows up to 256K tokens. Designed for frontier-level performance across reasoning, coding, and agentic workflows, Gemma 4 delivers unprecedented intelligence-per-parameter from mobile devices to enterprise servers. Released under Apache 2.0 license.


Other Gemma 4 Models