Gemma 4

by Google DeepMind Chat · Vision · Tools · Thinking

Gemma 4 pairs vision, reasoning and tool use with compact sizes (including edge-friendly E2B/E4B variants) and a 256K context window.

API model name
gemma4:e2b
Context window
256K tokens
Sizes
E2B, E4B, 12B, 26B, 31B
Licence
Apache 2.0

Run Gemma 4

Install it on a Pendra worker, then call it through our SDK with your pdr_sk_ API key.

Read the quickstart

from pendra import Pendra

client = Pendra(api_key="pdr_sk_...")

response = client.chat.completions.create(
    model="gemma4:e2b",
    messages=[{"role": "user", "content": "Hello!"}],
)

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

Run Gemma 4 on infrastructure you trust.

Deploy a worker, install Gemma 4, and start serving it through one private API.