Google model
Gemma 3 4B API cost calculator
Gemma 3 4B costs $0.05 per 1M input tokens and $0.10 per 1M output tokens on the Google API, with a 131K-token context window. A typical request (2K input, 500 output tokens) costs $0.0001 — about $4.50/month at 1,000 requests per day. Use the calculator below to model your exact workload.
Find me a cheaper modelWhat real workloads cost on Gemma 3 4B
| Workload | Tokens (in / out) | Per request | Per 1K requests |
|---|---|---|---|
| Chatbot message | 500 / 300 | <$0.0001 | $0.05 |
| RAG query with context | 4,000 / 500 | $0.0002 | $0.25 |
| Document summarization | 20,000 / 1,000 | $0.0011 | $1.10 |
| Agent coding session | 100,000 / 5,000 | $0.0055 | $5.50 |
Gemma 3 4B vs other Google models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| Gemma 3 4B | $0.05 | $0.10 | 131K |
| Gemini 3.7 Flash | $0.38 | $1.88 | 1.0M |
| Gemini 3.6 Flash | $0.75 | $3.75 | 1.0M |
| Gemini 3.5 Flash Lite | $0.30 | $2.50 | 1.0M |
| Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) | $0.25 | $1.50 | 66K |
Frequently asked questions
How much does Gemma 3 4B cost per 1M tokens?
According to current pricing data, Gemma 3 4B costs $0.05 per 1M input tokens and $0.10 per 1M output tokens. Processing 1M tokens each way costs $0.15.
What does a typical API request to Gemma 3 4B cost?
A typical request with 2,000 input tokens and 500 output tokens costs $0.0001. At 1,000 requests per day that is $0.15 daily, or about $4.50 per month.
What is Gemma 3 4B's context window?
Gemma 3 4B supports a 131K-token context window (131,072 tokens).
Does Gemma 3 4B support prompt caching?
No cache-read pricing is published for Gemma 3 4B, so every input token is billed at the full $0.05 per 1M rate.
What is a cheaper alternative to Gemma 3 4B?
Ling-2.6-flash from Inclusionai is currently the cheapest comparable option at $0.01 per 1M input tokens versus $0.05 for Gemma 3 4B — roughly 5x cheaper on input.
Prices may differ from Google's official pricing page for batch, tiered, or fine-tuned usage. Compare all current prices on the live model pricing dashboard, see Gemma 3 4B vs Ling-2.6-flash pricing, or run Gemma 3 4B head-to-head against other models in the side-by-side comparison playground.
Pricing data via the OpenRouter models API.