Skip to main content
NVIDIA
Explore
Models
Skills
Blueprints
GPUs
Docs
Help Center
Getting Started
  1. Create and verify your account to unlock full access to NVIDIA NIM APIs.
ResourcesDeveloper ForumsContact Support
FAQs
  • Terms of Use
    Privacy Policy
    Your Privacy Choices
    Contact

    Copyright © 2026 NVIDIA Corporation

    google/diffusiongemma-26b-a4b-it

    API Reference

    Prototype

    Start building with a free API endpoint.
    import requests
    
    invoke_url = "https://integrate.api.nvidia.com/v1/chat/completions"
    stream = False
    
    headers = {
        "Authorization": "Bearer $NVIDIA_API_KEY",
        "Accept": "text/event-stream" if stream else "application/json",
    }
    
    payload = {
      "messages": [
        {
          "role": "user",
          "content": [
            {
              "type": "text",
              "text": "What is in this image?"
            },
            {
              "type": "image_url",
              "image_url": {
                "url": "https://assets.ngc.nvidia.com/products/api-catalog/phi-3-5-vision/example1b.jpg"
              }
            }
          ]
        }
      ],
      "model": "google/diffusiongemma-26b-a4b-it",
      "chat_template_kwargs": {
        "enable_thinking": True
      },
      "max_tokens": 4096,
      "stream": stream,
      "temperature": 1,
      "top_p": 0.95
    }
    
    response = requests.post(invoke_url, headers=headers, json=payload, stream=stream)
    if stream:
        for line in response.iter_lines():
            if line:
                print(line.decode("utf-8"))
    else:
        print(response.json())

    Deploy

    Ready to scale? Choose your deployment path.
    Deploying your application in production? Get started with a 90-day evaluation of NVIDIA AI Enterprise

    Follow the steps below to download and run the NVIDIA NIM inference microservice for this model on your infrastructure of choice.

    Step 1
    Generate API Key

    Step 2
    Pull and Run the NIM

    $ docker login nvcr.io
    Username: $oauthtoken
    Password: <PASTE_API_KEY_HERE>
    

    Pull and run the NVIDIA NIM with the command below. This will download the optimized model for your infrastructure.

    export NGC_API_KEY=<PASTE_API_KEY_HERE>
    export LOCAL_NIM_CACHE=~/.cache/nim
    mkdir -p "$LOCAL_NIM_CACHE"
    chmod -R a+w "$LOCAL_NIM_CACHE"
    docker run -it --rm \
        --gpus all \
        --ipc host \
        --shm-size=32GB \
        -e NGC_API_KEY \
        -v "$LOCAL_NIM_CACHE:/opt/nim/.cache" \
        -p 8000:8000 \
        nvcr.io/nim/google/diffusiongemma-26b-a4b-it:latest
    

    Step 3
    Test the NIM

    You can now make a local API call using this curl command:

    curl -X 'POST' \
    'http://0.0.0.0:8000/v1/chat/completions' \
        -H 'Accept: application/json' \
        -H 'Content-Type: application/json' \
        -d '{
            "model": "google/diffusiongemma-26b-a4b-it",
            "messages": [
                {
                    "role": "user",
                    "content": [
                        {
                            "type": "text",
                            "text": "What is in this image?"
                        },
                        {
                            "type": "image_url",
                            "image_url":
                                {
                                    "url": "https://assets.ngc.nvidia.com/products/api-catalog/phi-3-5-vision/example1b.jpg"
                                }
                        }
                    ]
                }
            ],
            "max_tokens": 1024
        }'
    

    For more details on getting started with this NIM, visit the NVIDIA NIM Docs.

    Specifications

    Diffusion-based 26B parameter LLM enabling parallel token generation for real-time text apps

    • diffusion-llm
    • reasoning
    • text-to-text
    Provider
    Google
    Last Modified
    2 months ago
    Context Length
    262K
    Parameters
    26B
    Input Modalities
    Text, Image, Video
    Output Modalities
    Text

    Model Availability

    Free Endpoint
    Available
    Partner Endpoint
    Not available
    Download Available
    Available
    API calls in last 30 days
    4M