Gemma 3 4B
ActiveGemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities,...
Overview
Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities,...
History
Gemma 3 4B became available via the Google API on 2025-03-13.
Training & availability
Training data has a knowledge cutoff of 2024-08-31 — information about events after that date is unlikely to appear in the model's responses. Google has not released the underlying model weights — access is via their hosted API only.
Capabilities
-
Context window: 131K tokens.
-
Input modalities: text, image.
Recommended for: vision, cheap.
Limitations
- The knowledge cutoff is 19 months old — this model will not know about recent events, releases, or API changes.
Pricing
- Input: $0.0400 per 1M tokens
- Output: $0.0800 per 1M tokens
Use the cost calculator above to estimate monthly spend for your workload.
Quick start
Minimal example using the google API. Copy, paste, replace the key.
from google import genai
client = genai.Client(api_key="...")
resp = client.models.generate_content(
model="gemma-3.4b-it",
contents="Explain quantum computing in one sentence.",
)
print(resp.text)Cost calculator
Estimate your monthly bill. Presets are typical workload sizes.
Providers & performance
1 providerMulti-provider inference routes for this model — sorted by throughput. Latency is time-to-first-token; throughput is output tokens per second. Data from OpenRouter, measured over the last 30 minutes.
| Provider | Throughput | Latency (TTFT) | Input $ / 1M | Output $ / 1M | Context | Quant | Supports |
|---|---|---|---|---|---|---|---|
| DeepInfra | 20tok/s | 464ms | $0.04 | $0.08 | 131K | bf16 | json |
Popularity
Signals from open-source communities — not a quality measure, but useful for gauging adoption among developers.
Integrations & tooling support
- Tool calling
- Not supported
- Structured outputs
- Not supported
Price vs quality
Priced low — good for high-volume tasks. Quality tier pending more benchmark coverage.
- Quality percentile
- —
- Effective price
- $0.07/1M
- Pricing breakdown
- $0.04/1M in
$0.08/1M out
Community ratings
Rate Gemma 3 4B
Sign in to rate and review.
Comments
Sign in to leave a comment.