Gemma 3 4B API Cost Calculator
Estimate your monthly API costs for Gemma 3 4B from Google.
Pricing per 1M tokens
Pricing last verified: Mar 21, 2026
30-Day Price History
Solid line: input price · Dashed line: output price
Estimate Your Costs
What are you building?
Cost Breakdown
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| Gemma 2 9B Google | $0.0300 | $0.0900 |
| Gemma 3 12B Google | $0.0400 | $0.1300 |
| Gemma 3n 4B Google | $0.0200 | $0.0400 |
| Gemma 3 12B (free) Google | $0.00 | $0.00 |
| Gemma 3 27B Google | $0.0800 | $0.1600 |
Frequently Asked Questions
How much does Gemma 3 4B cost per token?
Gemma 3 4B is priced at $0.0400 per 1M input tokens and $0.0800 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.
What is the context window for Gemma 3 4B?
Gemma 3 4B has a context window of 131.1K tokens (131,072 tokens).
Does Gemma 3 4B support image inputs (vision)?
Yes, Gemma 3 4B supports vision/image inputs. You can send images as part of your prompts.
How does Gemma 3 4B compare to similar models?
Gemma 3 4B costs $0.0400 input and $0.0800 output per 1M tokens. Gemma 3 12B (free) is less expensive at $0.00 input and $0.00 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the Gemma 3 12B (free) page at /tools/cost-calculator/google/gemma-3-12b-it-free.