Google model page

Gemma 3 4B

gemma3:4b

Shared local model served from Mac Ultra Ollama.

Free tier
Input / 1M
$0.00
Output / 1M
$0.00
Context
Markup
-100%

Use this model through UAI

A dedicated public landing page for this synced catalog row.

Provider
Google

Synced from the active catalog

Context window
Context pending

Validated for gateway requests

UAI input
$0.00

Free model row

UAI output
$0.00

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.

Why use this model through UAI

The same model route, but with one account, one balance, and one API shape.

Free route

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.

OpenAI-compatible access

Call gemma3:4b with the same UAI API key, the same /v1/chat/completions shape, and the same request validation used across the rest of the catalog.

Shared pricing and billing

Pricing, balance, and request history stay consolidated in one UAI account instead of spreading usage across separate Google dashboards.

Pricing and access

Current synced numbers for this exact model row.

UAI input / 1M tokens
$0.00
UAI output / 1M tokens
$0.00
Google input / 1M
$0.00
Google output / 1M
$0.00
Context window
Current markup
-100%

Need another option? Browse the full models catalog or compare rows in the signed-in pricing table.

Quickstart

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
curl https://uai.sh/v1/chat/completions \
  -H "Authorization: Bearer uai-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemma3:4b",
    "messages": [{"role": "user", "content": "Say hi in one short sentence."}],
    "stream": false
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(base_url="https://uai.sh/v1", api_key="uai-YOUR_API_KEY")
response = client.chat.completions.create(
    model="gemma3:4b",
    messages=[{"role": "user", "content": "Say hi in one short sentence."}],
    stream=False
)
print(response.choices[0].message.content)
Node.js (OpenAI SDK)
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: "gemma3:4b",
  messages: [{ role: "user", content: "Say hi in one short sentence." }],
  stream: false
});

console.log(response.choices[0].message.content);

Related models

Other active rows to compare without leaving the public catalog.

google
Google: Gemini 3.5 Flash Lite (batch)
google/gemini-3.5-flash-lite:batch
Input / 1M$0.20
Context1.0M tokens
google
Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)
google/gemini-3.1-flash-lite-image
Input / 1M$0.33
Context66K tokens
google
Google: Gemini 3.5 Flash Lite
google/gemini-3.5-flash-lite
Input / 1M$0.39
Context1.0M tokens