Find a model

Browse the full catalog →

google/gemma-4-31B-it-Ultra

Open-weights chat model from Google AI Studio. One API key reaches this provider and every other model in the catalog.

Input / 1M$0.28
Output / 1M$0.80
Context131K
Providers 1 provider, one key

No card required. Start with 1 million free tokens.

Overview

About google/gemma-4-31B-it-Ultra

google/gemma-4-31B-it-Ultra is an open-weights chat model published by Google AI Studio, with a 131,072-token context window. Through TrustedRouter it runs on 1 provider, with options in the US and EU, from $0.28 per million input tokens.

Model ID
google/gemma-4-31b-it-ultra
Publisher
Google AI Studio
Modes
chat
Billing
Credits
Quickstart

Set it up with your agent

Paste this into Claude Code, Cursor or any coding agent.

Use google/gemma-4-31B-it-Ultra through TrustedRouter in this project.

1. Read https://trustedrouter.com/llms.txt
2. Point the OpenAI-compatible client at
   https://api.trustedrouter.com/v1 and read the key from
   TRUSTEDROUTER_API_KEY.
3. Set the model to google/gemma-4-31b-it-ultra.
4. Run the tests, then show me the diff before committing.
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.trustedrouter.com/v1",
    api_key=os.environ["TRUSTEDROUTER_API_KEY"],
)
response = client.chat.completions.create(
    model="google/gemma-4-31b-it-ultra",
    messages=[{"role": "user", "content": "What is the capital of France?"}],
)
print(response.choices[0].message.content)
curl https://api.trustedrouter.com/v1/chat/completions \
  -H "Authorization: Bearer $TRUSTEDROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-4-31b-it-ultra",
    "messages": [{"role": "user", "content": "What is the capital of France?"}]
  }'
Your agent will need an API key.
1 provider

Providers

Open the row for retention, location and weight format, or see how we check privacy claims and the live speed leaderboard.

google/gemma-4-31B-it-Ultra providers and prices per 1M tokens
Provider Input Cached Output Cost per 1M in + out Details
DeepInfra logo DeepInfra $0.285 — $0.802 $1.09

Retention

Verification: no verified privacy claim.

Tracked as no-store, not strict ZDR. DeepInfra documents memory-only handling and no training for ordinary inference, but reserves the right to log a small portion of requests for debugging or security. Google- and Anthropic-backed routes also inherit those vendors' terms.

Provider policy source

Location

Operator country: US

Headquarters / registered office: Palo Alto, California, United States.

Company location source (reviewed 2026-09-27).

Inference: US infrastructure plus announced Canadian capacity; model-specific residency unconfirmed.

DeepInfra describes US infrastructure and announced its first international data center in Toronto on July 8, 2026. This is a provider footprint, not an exhaustive or model-specific placement list. DeepSeek V4.1 Flash placement has not been confirmed; do not declare this route US-only.

Region pinning through TR: Not supported by the current TrustedRouter integration.

Reviewed 2026-09-27.

DeepInfra infrastructure statement

DeepInfra Toronto announcement

Full location evidence

Weight format

Unknown

Price and speed

Input $0.28485/1M · Cached input Not published · Output $0.8018/1M

TTFT: insufficient data

Speed: insufficient data

DeepInfra provider page

FAQ

Questions

What model ID should I use for google/gemma-4-31B-it-Ultra?

Use google/gemma-4-31b-it-ultra as the model field with the TrustedRouter OpenAI-compatible API. Credits routing and provider fallback happen behind that model ID.

Do you log my prompts or outputs?

No. Prompt and output content are intentionally excluded from the control plane and metadata systems. Optional content export requires explicit destination-level configuration.

Which providers serve google/gemma-4-31B-it-Ultra?

TrustedRouter currently lists DeepInfra for google/gemma-4-31B-it-Ultra. Provider availability and routing eligibility can change as catalog and health data update.

How much does google/gemma-4-31B-it-Ultra cost through TrustedRouter?

The current lowest Credits input price is $0.28485/1M and the lowest Credits output price is $0.8018/1M. Prices are per one million tokens and come from the current route catalog.

How do I require zero data retention for google/gemma-4-31B-it-Ultra?

Set provider.min_privacy to zdr on the request. TrustedRouter considers only routes with a recorded zero-data-retention posture and fails closed if no eligible route remains.

Compare

google/gemma-4-31B-it-Ultra vs other models

Start building with google/gemma-4-31B-it-Ultra.

No card required. Start with 1 million free tokens.

Workspace access

Sign in

Choose a sign in method to access your TrustedRouter workspace.

New to TrustedRouter?

By continuing you agree to the terms of service and privacy policy.