KernelFox
Home / Models / Google / Gemma 4 26B A4B

Gemma 4 26B A4B

By Google.
5.9 / 10
About the level of Gemini 2.5 Flash (Sep 2025)Epoch index 141.56, updated 24 Nov 2026
Released
3 Apr 2026
Type
Open weights
Apache 2.0
Context
262,144 tokens
Up to 235,929 output tokens
Price per million
$0.077 in
$0.255 out

Gemma 4 26B A4B IT is an instruction-tuned Mixture-of-Experts (MoE) model from Google DeepMind.

Will it run on my PC?

1. What graphics card or Mac do you have?

2. How much text will you give it at once?

Memory needed = 4-bit model file (17 GB, measured on a real GGUF file) + context memory (estimated from the model’s published configuration) + about 1 GB for the runtime. Mac figures assume unified memory.

Verdict
Yes, it fits.
Needs 18.8 GB, you have 24 GB.
5.2 GB to spare on the 24 GB GPU.
17 GB model + 0.9 GB context + 1 GB runtime.
Recommended graphics card

Which graphics card to run Gemma 4 26B A4B?

Context 8k, 32kup to 18.8 GB of memory
NVIDIA RTX 4000 Ada20 GB · about 88 tokens/s (estimated)
$1,730.73
Context 128k, 256kup to 23.5 GB of memory
GeForce RTX 309024 GB · about 230 tokens/s (estimated)
$2,699.99

Cheapest card in our list whose memory holds the model at that context length, card alone with no help from your RAM. Speed is an upper-bound estimate from memory bandwidth. Compare all graphics cards for local AI. As an Amazon Associate, I earn from qualifying purchases.

How it compares

Models closest in score, open and proprietary together.

Gemini 2.5 Flash (Sep 2025)Proprietary, API only
6.0
$0.85/M tokens (blended)
gemma-4-26B-A4B-itOpen weights
5.9
17.9 GB VRAM (Q4)
Gemma 4 26B A4B (this page)Open weights
5.9
17.9 GB VRAM (Q4)
Kimi-K2-InstructOpen weights
5.9
server hardware (about 622 GB)
DeepSeek-V3.1Open weights
5.8
server hardware (about 410 GB)
DeepSeek-R1Open weights
5.8
server hardware (about 405 GB)

What it costs

Through an API, per million tokens.

$0.077 in / $0.255 out

Cached input: $0.043 per million.

about $179for a heavy coding-agent month (13,000 calls, 4 billion tokens, mostly cached context). Measured on one heavy Claude Code user (September 2026), priced at list.

Flat-rate subscriptions can cost far less than API list prices for heavy use. Treat this as a reference, not a bill.

Where to run it through an API

Same open model, several inference providers, very different prices. Cheapest first.

Provider
Input $/M
Output $/M
Precision
Context
Uptime
PrimeIntellect
0.05
0.18
bf16
262,144
100%
Darkbloom
0.05
0.19
int4
262,144
100%
AkashML
0.07
0.24
fp4
131,072
100%
NextBit
0.077
0.255
fp4
262,144
100%
Io Net
0.067
0.29
fp8
262,142
100%
DeepInfra
0.07
0.34
fp8
262,144
100%
Makora
0.09
0.28
not stated
256,000
100%
CoreWeave
0.1
0.3
bf16
262,144
100%

Prices from OpenRouter’s public provider list. “Precision” is how the weights are stored: a lower-precision copy (fp4, fp8) is cheaper and faster but can be slightly less accurate. Uptime over the last 30 minutes.

Call Gemma 4 26B A4B through the API

OpenRouter exposes this model through an OpenAI-compatible API. Create a key on OpenRouter, then use the model identifier google/gemma-4-26b-a4b-it.

Python
OpenRouter API
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key=os.environ["OPENROUTER_API_KEY"],
)

response = client.chat.completions.create(
    model="google/gemma-4-26b-a4b-it",
    messages=[{"role": "user", "content": "Explain 4-bit quantization in two sentences."}],
)
print(response.choices[0].message.content)
JavaScript
OpenRouter API
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://openrouter.ai/api/v1",
  apiKey: process.env.OPENROUTER_API_KEY,
});

const response = await client.chat.completions.create({
  model: "google/gemma-4-26b-a4b-it",
  messages: [{ role: "user", content: "Explain 4-bit quantization in two sentences." }],
});
console.log(response.choices[0].message.content);
cURL
OpenRouter API
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-4-26b-a4b-it",
    "messages": [{"role": "user", "content": "Explain 4-bit quantization in two sentences."}]
  }'

Prices and providers are in the sections above. Check the exact identifier on the OpenRouter model page.

Specifications

Developer
Released
3 Apr 2026
Type
Open weights
License
Apache 2.0
Parameters
25.8 billion
Layers
30 (5 full attention, 25 sliding attention)
Experts
128 experts
Context window
262,144 tokens, up to 235,929 output tokens
Reads
text, image and video
Writes
text
Full weights on disk
204.8 GB
Name on Hugging Face

Where to get it

Download on Hugging Face GGUF files for local use Paper (arXiv:2607.02770) Use it through OpenRouter License

To run it on your own machine, the two easiest tools are Ollama and LM Studio.

See the full memory table
Your hardwareShort chat (8k)Documents (32k)Long agent (128k)Maximum (256k)
8 GB GPUwith 16 GB more RAM (slower)with 16 GB more RAM (slower)with 32 GB more RAM (slower)with 32 GB more RAM (slower)
12 GB GPUwith 16 GB more RAM (slower)with 16 GB more RAM (slower)with 16 GB more RAM (slower)with 16 GB more RAM (slower)
16 GB GPUwith 8 GB more RAM (slower)with 8 GB more RAM (slower)with 16 GB more RAM (slower)with 16 GB more RAM (slower)
24 GB GPUFitsFitsFitsFits
32 GB GPUFitsFitsFitsFits
64 GB MacFitsFitsFitsFits
PC without a graphics card, 16 GB RAMneeds 18.3 GBneeds 18.8 GBneeds 20.8 GBneeds 23.5 GB
PC without a graphics card, 32 GB RAMFits (slow)Fits (slow)Fits (slow)Fits (slow)
PC without a graphics card, 64 GB RAMFits (slow)Fits (slow)Fits (slow)Fits (slow)
PC without a graphics card, 128 GB RAMFits (slow)Fits (slow)Fits (slow)Fits (slow)

Frozen facts (name, specifications, links) are fixed when the page is created. Scores, prices and download numbers: refreshed daily; last update 24 Nov 2026. Scores: Epoch AI (Capabilities & benchmarking, CC BY 4.0), adapted by KernelFox.