All models

Google

DiffusionGemma 26B-A4B

About

DiffusionGemma 26B-A4B is a 26B open-weight model from Google. Block-diffusion Gemma 4 26B-A4B: chat over text and up to 8 images, and System One typed decisions on POST /typesafe/v1/systemone. It accepts text, images, and documents. Context window is 80K. Released June 10, 2026.

Served on two routes. On chat completions it behaves like the Gateway's other chat models. On POST /typesafe/v1/systemone it powers System One, answering typed questions with a probability per label, read in one denoise step rather than generated, so an answer can never be off-schema.

  • Parameters

    26B

    Published parameter count.

  • Context window

    80K

    Tokens of context on a request.

  • License

    Apache-2.0

    License on the weights.

Pricing

Token rates are US dollars per 1M tokens. Image rates are per 1K images. Audio rates are per 1M audio seconds.

RatePrice
Input / 1M$0.35
Cached input / 1M$0.05
Output / 1M$1.50

Compare

DiffusionGemma 26B-A4B is one of the catalog's chat models. The table is each model's published price, size, and context.

ModelWhat it doesPriceParametersContext
DiffusionGemma 26B-A4BBlock-diffusion Gemma 4 26B-A4B: chat over text and up to 8 images, and System One typed decisions on POST /typesafe/v1/systemone.$0.35 / 1M input26B80K
Inkling 2 MiniReasoning VLM (image + text)$0.075 / 1M input26.4B256K
Qwen3.5 0.8BMultimodal chat model with up to 64 images or one video per request.$0.08 / 1M input0.8B80K
Gemini 3.5 Flash LiteFastest and cheapest Gemini tier. Multimodal chat; emits no reasoning tokens.$0.30 / 1M input—1M

Benchmarks

Published scores for DiffusionGemma 26B-A4B, from the DiffusionGemma NVFP4 model card. NVFP4 checkpoint, thinking enabled.

Evals
ReadingExample
QualitativeClear structure, grounded in the input
QuantitativeGPQA Diamond: 68.6.
Cost and performanceLower listed rate, mid-pack latency

Performance

Latency is the end-to-end round trip. Throughput is completion tokens divided by that time. It is a request rate, not decode speed.

  • Latency

    533 ms

  • Throughput

    1,002 tok/s

  • Requests

    3,679

Methods

Methods this model serves. Payload shapes are in the docs.

MethodReturns
chatThe model's reply
markdownThe page as Markdown

Capabilities

RoutesPOST /openai/chat/completions, POST /typesafe/v1/systemone, and WS /v1/ws/systemone
Methodschat (default) and markdown. markdown returns the page as Markdown, and on a PDF one doc.page.blocks block per page.
Accepted inputstext, image_url, and one document_url PDF. On chat completions chat reads the whole PDF in one call, or a page per call with document_mode: "page". On the decisions route, image_url parts or one file / document_url PDF, carried in content.
Max imagesChat completions: 64 per request. Decisions: 8 per read, 5 MB each, JPEG / PNG / WebP / GIF.
Context window81,920 tokens
VideoNot supported
StreamingToken streaming on chat completions. A read is a single response; WS /v1/ws/systemone answers per frame.

On the decisions route, detail sets the vision budget per image or page:

detailVision tokens
auto (default)1,072, the same as high
high1,072
low70

The budget applies per request, so one high image lifts the whole read. low lowers the bill, not the latency: the vision tower is the image cost.

Warning

This model rejects temperature and seed with a 400 rather than ignoring them, which differs from the other chat models on the Gateway. Omit both.

Typed decisions

On POST /typesafe/v1/systemone the same model answers typed questions with a probability per label, read in one denoise step rather than generated, so an answer can never be off-schema. It is the default engine there, and the most sharply calibrated.

Question typesnoul (yes/no), choice (one of 2 to 128 labels), score (a 2 to 10 level rubric), box (a region on an image), and the extraction fields text, number, date, and list
Mediaimage_url parts, or one file / document_url PDF, on content
reasoning_effortNot supported on a diffusion engine; a request carrying it is a 422
Output tokens0 for labels, which are read rather than generated. Extraction fields bill the value tokens they write.

See System One for the request shape and a worked example in four languages, and Models for how this engine compares with the generative ones.

Chat completions

The same model on the OpenAI-compatible route, for when you want generated text rather than a typed decision.

from openai import OpenAI

client = OpenAI(
    base_url="https://gateway.vlm.run/openai",
    api_key="<VLMRUN_API_KEY>",
)

response = client.chat.completions.create(
    model="google/diffusiongemma-26b-a4b-it",
    messages=[{"role": "user", "content": [
        {"type": "text", "text": "What is this receipt and what is the total?"},
        {"type": "image_url", "image_url": {"url": "https://storage.googleapis.com/vlm-data-public-prod/hub/examples/document.receipt/playground/2.jpg"}},
    ]}],
    extra_body={"method": "chat"},
)

print(response.choices[0].message.content)

Sampling fields are not interchangeable with the other chat models: temperature and seed return a 400 here instead of being ignored.

Estimate cost

Estimate. A page is 2,500 input tokens and 1,000 output tokens.

$2.38

Quick start

Call this model on the OpenAI-compatible gateway. The model id is already filled in.

from openai import OpenAI

client = OpenAI(
    base_url="https://gateway.vlm.run/openai",
    api_key="<VLMRUN_API_KEY>",
)

response = client.chat.completions.create(
    model="google/diffusiongemma-26b-a4b-it",
    messages=[
        {
            "role": "user",
            "content": [
                {"type": "text", "text": "What is happening in this image?"},
                {"type": "image_url", "image_url": {"url": "https://storage.googleapis.com/vlm-data-public-prod/hub/examples/image.caption/car.jpg"}},
            ],
        }
    ],
)

print(response.choices[0].message.content)

Get an API key. Ship vision today.