Google model
Gemma 3n 4B API cost calculator
Gemma 3n 4B costs $0.06 per 1M input tokens and $0.12 per 1M output tokens on the Google API, with a 33K-token context window. A typical request (2K input, 500 output tokens) costs $0.0002 — about $5.40/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 3n 4B
| Workload | Tokens (in / out) | Per request | Per 1K requests |
|---|---|---|---|
| Chatbot message | 500 / 300 | <$0.0001 | $0.07 |
| RAG query with context | 4,000 / 500 | $0.0003 | $0.30 |
| Document summarization | 20,000 / 1,000 | $0.0013 | $1.32 |
| Agent coding session | 100,000 / 5,000 | $0.0066 | $6.60 |
Gemma 3n 4B vs other Google models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| Gemma 3n 4B | $0.06 | $0.12 | 33K |
| 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 3n 4B cost per 1M tokens?
According to current pricing data, Gemma 3n 4B costs $0.06 per 1M input tokens and $0.12 per 1M output tokens. Processing 1M tokens each way costs $0.18.
What does a typical API request to Gemma 3n 4B cost?
A typical request with 2,000 input tokens and 500 output tokens costs $0.0002. At 1,000 requests per day that is $0.18 daily, or about $5.40 per month.
What is Gemma 3n 4B's context window?
Gemma 3n 4B supports a 33K-token context window (32,768 tokens).
Does Gemma 3n 4B support prompt caching?
No cache-read pricing is published for Gemma 3n 4B, so every input token is billed at the full $0.06 per 1M rate.
What is a cheaper alternative to Gemma 3n 4B?
Ling-2.6-flash from Inclusionai is currently the cheapest comparable option at $0.01 per 1M input tokens versus $0.06 for Gemma 3n 4B — roughly 6x 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 3n 4B vs Ling-2.6-flash pricing, or run Gemma 3n 4B head-to-head against other models in the side-by-side comparison playground.
Pricing data via the OpenRouter models API.