Gemma 4 26B A4B
by Google
Fast chat, code and image reading.
Text and agentsCommercial useRuns on 32 GB
1. Commercial use
“each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work”
Any use is allowed, paid products included; no fee and no credit line is required to use it.
ai.google.dev/gemma/docs/gemma_4_license2. On your machine
Our estimate: about 0.6 GB per billion parameters at 4-bit, with room for the context.
huggingface.co/google/gemma-4-26B-A4B-it3. Through an API
Cheapest live provider with tool calling, as the provider reports its price.
huggingface.co/docs/inference-providers4. Tool calling
Providers whose API supports tool calling for this model, as each reports it.
huggingface.co/google/gemma-4-26B-A4B-itChecked against its official pages on Nov 23, 2026. Tap a verdict to see its source.How we checkedReport an error
What Gemma 4 26B A4B does
Gemma 4 26B A4B is an open text and image model by Google DeepMind that chats, writes code, reasons and reads pictures, built to answer fast. Only a small part of it (3.8B of 25.2B parameters) works on each step, so it runs almost as fast as a 4B model. The model files are on Hugging Face, free to use in paid products under the Apache 2.0 license.
What people use it for
Quick chat assistant on your server
Power support chats, assistants or writing tools where answer speed matters, without paying per request to a hosted model.
Read documents, charts and screenshots
Ask questions about a photo, a scanned page, a chart or an app screen, including text in many languages and handwriting.
Agents that call your tools
Let the model pick a function from your app (search, booking, database lookup) and fill in its inputs, as the core of an agent.
Write and fix code
Generate, complete and correct code locally, for example inside a private coding assistant.
Many languages
Answer users in 35+ languages out of the box; it was trained on text in over 140 languages.
Gemma 4 26B A4B popularity
As reported by Hugging Face, checked Nov 26, 2026. Downloads include automated ones; some repositories report none.
Where to run Gemma 4 26B A4B
Through an API
| Provider | $ per 1M in / out | Tools | Context |
|---|---|---|---|
| Io Net (99.9% up, 24h) | $0.067 / $0.29 | Yes | 262K |
| AkashML (97.2% up, 24h) | $0.07 / $0.24 | Yes | 131K |
| DeepInfra (100% up, 24h) | $0.07 / $0.34 | Yes | 262K |
| Makora (100% up, 24h) | $0.09 / $0.28 | Yes | 256K |
| NextBit (100% up, 24h) | $0.09 / $0.3 | Yes | 262K |
| OpenRouter | $0.09 / $0.3 | Yes | 262K |
| Cloudflare (100% up, 24h) | $0.1 / $0.3 | Yes | 256K |
| CoreWeave (99.7% up, 24h) | $0.1 / $0.3 | No | 262K |
| PrimeIntellect (100% up, 24h) | $0.1 / $0.36 | Yes | 262K |
| Parasail (100% up, 24h) | $0.13 / $0.4 | No | 262K |
As reported by each provider via Hugging Face Inference Providers and OpenRouter, checked Nov 26, 2026.
On your machine
25.8B
about 15.5 GB
Our estimate: 0.6 GB per billion parameters, with room for the context.
64 on Hugging Face
For llama.cpp, Ollama and LM Studio; e.g. ggml-org/gemma-4-26B-A4B-it-GGUF
19 on Hugging Face
For Apple silicon
Gemma 4 26B A4B license
Free to use, change and sell inside paid products under Apache 2.0. If you pass the model files on, include a copy of the license and mark the files you changed.
Any use is allowed, paid products included; no fee and no credit line is required to use it.
“each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work” source
Shipping the weights or a fine-tuned copy needs a copy of the Apache 2.0 license and a note on changed files.
“You must cause any modified files to carry prominent notices stating that You changed the files” source
You may build and deliver client projects with it under the same Apache 2.0 terms.
“each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work” source
Alternatives
Gemma 4 26B A4B This page
Qwen · image-text-to-text
moonshotai · image-text-to-text
meta-llama · text-generation
Qwen · image-text-to-text
Get started
Tell your AI assistant
“Run google/gemma-4-26B-A4B-it locally with the latest transformers (pip install -U transformers torch accelerate), load it with AutoProcessor and AutoModelForMultimodalLM (dtype="auto", device_map="auto"), put images before text, use temperature 1.0, top_p 0.95, top_k 64, and read answers through processor.parse_response.”
Install the libraries.
pip install -U transformers torch accelerateFrom huggingface.co/google/gemma-4-26B-A4B-it/raw/main/README.md
Load the model and its processor.
from transformers import AutoProcessor, AutoModelForMultimodalLM MODEL_ID = "google/gemma-4-26B-A4B-it" # Load model processor = AutoProcessor.from_pretrained(MODEL_ID) model = AutoModelForMultimodalLM.from_pretrained( MODEL_ID, dtype="auto", device_map="auto" )From huggingface.co/google/gemma-4-26B-A4B-it/raw/main/README.md
Send a chat with apply_chat_template and generate; add enable_thinking=True when you want step-by-step reasoning.
From huggingface.co/google/gemma-4-26B-A4B-it/raw/main/README.md
Model id to use
OpenAI-compatible: base URL https://openrouter.ai/api/v1
google/gemma-4-26b-a4b-itOpenAI-compatible: base URL https://router.huggingface.co/v1
google/gemma-4-26B-A4B-itA community GGUF build on Hugging Face; read its card before use.
ggml-org/gemma-4-26B-A4B-it-GGUFMistakes to avoid
The model card says Gemma 4 needs the latest Transformers and shows only this loading code.
In Google's own long-context table this model scores much lower than the 31B.
The card says earlier thoughts must not be added before the next user turn.
Google recommends this order for the best results with images.
The card gives one standard setting for all uses.
Questions
Why is it called 26B A4B?
It has about 26B parameters in total, but only about 4B (3.8B) are active for each step, so it runs nearly as fast as a 4B model.
Can I use it in a paid app?
Yes. It is under Apache 2.0, which allows commercial use; keep the license text with any copies of the files you share.
Does it understand images and audio?
Images and video frames, yes. Audio no; only the E2B, E4B and 12B sizes take audio.
How long can the input be?
Up to 256K tokens for this size.