google/gemma-4-31b-it:free
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...
A dedicated public landing page for this synced catalog row.
Synced from the active catalog
Validated for gateway requests
Free model row
Free model row
This page exists for direct linking, onboarding, and SEO. The same model row powers /v1/models, the public catalog, the app pricing screen, and request validation for /v1/chat/completions.
The same model route, but with one account, one balance, and one API shape.
This model is currently listed at $0.00 per token through UAI. Free rows can have lower rate limits, but they are useful for testing and evaluation.
Use Google: Gemma 4 31B (free) for multi-step prompts, planning, and deeper analysis while keeping the same OpenAI-compatible UAI endpoint.
The synced capabilities for this row indicate image or vision support, so you can route multimodal requests through the same UAI account and billing flow.
Current synced numbers for this exact model row.
Need another option? Browse the full models catalog or compare rows in the signed-in pricing table.
Use this model with your UAI key over the standard OpenAI-compatible route.
Create a key in API Keys, then send requests to https://uai.sh/v1/chat/completions.
curl https://uai.sh/v1/chat/completions \
-H "Authorization: Bearer uai-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemma-4-31b-it:free",
"messages": [{"role": "user", "content": "Say hi in one short sentence."}],
"stream": false
}'
from openai import OpenAI
client = OpenAI(base_url="https://uai.sh/v1", api_key="uai-YOUR_API_KEY")
response = client.chat.completions.create(
model="google/gemma-4-31b-it:free",
messages=[{"role": "user", "content": "Say hi in one short sentence."}],
stream=False
)
print(response.choices[0].message.content)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://uai.sh/v1",
apiKey: "uai-YOUR_API_KEY"
});
const response = await client.chat.completions.create({
model: "google/gemma-4-31b-it:free",
messages: [{ role: "user", content: "Say hi in one short sentence." }],
stream: false
});
console.log(response.choices[0].message.content);
Other active rows to compare without leaving the public catalog.