Gemma 4 31B
google/gemma-4-31b-it
Request access
Not served yet. Ask for access and we will tell you when it is live.
Google open-weight multimodal model (30.7B parameters, text and image in, text out), Apache 2.0 licence.
Price
- Input
- Price on request
- Output
- Price on request
- Notes
- Price on request: Google publishes the weights, no first-party per-token price for this size.
- Source
- No per-token list price is published
No markup on model usage: you pay the provider's list price.
Model
- Context
- 256K (256,000 tokens)
- Modality
- Text and image
- Input
- text, image
- Output
- text
- Weights
- Open weights
- Released
- July 1, 2026
- Tags
- open-weights, multimodal, vision
Data policy
- Prompts go to
- The host that serves the weights (self-hosted or a hosting provider)
- Retention
- Depends on the host Safeguard routes to. The model maker receives no prompts when the weights are self-hosted
- Zero data retention
- Not stated by the provider
- Region
- Set by the host
Summarised from the provider's published terms. The provider's own policy is what applies.
Call it with any OpenAI SDK
Available when the model is live
from openai import OpenAI
client = OpenAI(
base_url="https://api.safeguard.sh/v1",
api_key="SAFEGUARD_API_KEY",
)
response = client.chat.completions.create(
model="google/gemma-4-31b-it",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Base URL https://api.safeguard.sh/v1, model google/gemma-4-31b-it.
Self-healing security runs on Safeguard.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.