Back to models
Gemma-4-26B-A4B-it
Developed by Google DeepMind, Gemma-4-26B-A4B-it is a 26B sparse MoE multimodal model activating 4B parameters with a 256K context window for fast visual reasoning and coding.
What you can do
- Long technical document visual Q&A
- Multi-frame video summarization
- Low-latency coding and tool use
Input & output
- Input
- Text prompts, images, multi-page visual documents, and video frames (256K context window)
- Output
- Low-latency text responses, optional reasoning traces, code, or function-calling payloads
Try a prompt like this
Review these four architecture diagrams and the accompanying API spec, then generate a TypeScript client with retry and schema validation.
Things to know
Apache 2.0 license; requires ~54GB VRAM in BF16 or fits on a single 24GB–48GB GPU with FP8/INT4 quantization. Unlike E2B/E4B, the 26B-A4B checkpoint does not include a native audio encoder.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/chat/completions- Model repo ID
google/gemma-4-26B-A4B-it
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
response = client.chat.completions.create(
model="google/gemma-4-26B-A4B-it",
messages=[{"role": "user", "content": "Review these four architecture diagrams and the accompanying API spec, then generate a TypeScript client with retry and schema validation."}],
)
print(response.choices[0].message.content)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide