Google: Gemma 3 4B API Pricing & Cost Calculator
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,...
VisionOpen-Weight google/gemma-3-4b-it
Input / 1M
$0.050
Output / 1M
$0.100
Cache Read / 1M
—
Blended 3:1 / 1M
$0.063
Agent Cached / 1M
$0.060
Context Window
131.1K
Monthly Workload Cost Calculator
Daily
$0.300
Monthly
$9.00
Cache Saved
$0.00
Annual
$109.50
Benchmarks & Capabilities
| Intelligence Index | — |
|---|---|
| Coding / Engineering | — / — |
| Agentic Index | — |
| Design Arena Avg ELO | — |
| Value Score | — |
| Modality | text+image->text |
| Max Output | 16.4K |
5 Cheaper Alternatives to Google: Gemma 3 4B
| Alternative Model | Blended / 1M | Input / 1M | Output / 1M | Intel | Side-by-Side |
|---|---|---|---|---|---|
| Z.ai: GLM 5.3 Flash (batch) z-ai/glm-5.3-flash:batch |
$0.034 | $0.023 | $0.068 | 28 | Compare → |
| OpenAI: gpt-oss-120b (batch) openai/gpt-oss-120b:batch |
$0.056 | $0.030 | $0.136 | 4 | Compare → |
| Upstage: Solar Mini 4.5 upstage/solar-mini-4-5 |
$0.018 | $0.010 | $0.040 | — | Compare → |
| Mistral: Mistral Nemo mistralai/mistral-nemo |
$0.029 | $0.029 | $0.030 | — | Compare → |
| ScaleDown: Summarize scaledown/summarize |
$0.030 | $0.040 | $0.00 | — | Compare → |
Frequently Asked Questions
How much does Google: Gemma 3 4B API cost per 1M tokens?
Google: Gemma 3 4B (google/gemma-3-4b-it) costs $0.050 per 1M input tokens and $0.100 per 1M output tokens (3:1 blended price: $0.063 per 1M tokens).
Does Google: Gemma 3 4B support prompt caching and how much does it save?
No separate cache_read_per_1m discount is listed on OpenRouter for Google: Gemma 3 4B, so repeated prompt tokens are billed at $0.050 per 1M tokens.
What is the context window and maximum output of Google: Gemma 3 4B?
Google: Gemma 3 4B supports a 131.1K token context window (131,072 tokens) and up to 16.4K output tokens per completion.
Fetch Live JSON via API
curl -s "https://llm.lhblabs.com/api/v1/models/google-gemma-3-4b-it"
Recommended Stack: DigitalOcean
Predictable Droplets, managed databases, and GPU nodes for production AI workloads.
Try DigitalOcean →
Self-Serve Placement
Building an LLM API, GPU Cloud, or AI Dev Tool?
Book Sponsor Slot →
Feature your product across 1,500+ LLM pricing & comparison pages starting at $49/mo.