DiffusionGemma-26B-A4B-it
Developed by Google DeepMind, DiffusionGemma-26B-A4B-it is a 26B MoE multimodal model activating 4B parameters that generates text via 256-token block discrete diffusion for high-throughput inference.
What you can do
- High-throughput parallel code generation
- Fast image and video multimodal Q&A
- Batch structured text synthesis
Input & output
- Input
- Text prompts, images, and video frames processed by an autoregressive multimodal encoder
- Output
- Text, reasoning traces, code, and tool calls generated in parallel 256-token diffusion blocks
Try a prompt like this
Inspect this database ER diagram image and generate complete PostgreSQL DDL migrations plus seed scripts with foreign-key constraints.
Things to know
Apache 2.0 license; requires ~54GB VRAM in BF16 (~28GB quantized) and an updated vLLM or Transformers runtime supporting 256-token block discrete diffusion rather than standard token-by-token streaming.
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/diffusiongemma-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/diffusiongemma-26B-A4B-it",
messages=[{"role": "user", "content": "Inspect this database ER diagram image and generate complete PostgreSQL DDL migrations plus seed scripts with foreign-key constraints."}],
)
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