Gemma 2 9B API Cost Calculator
Estimate your monthly API costs for Gemma 2 9B from Google.
Pricing per 1M tokens
Input
$0.0300
Output
$0.0900
8.2K contextStreaming
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
Input cost/request$0.000015
Output cost/request$0.000027
Cost per request$0.000042
Daily cost (1,000 requests)$0.0420
Monthly estimate$1.26
Annual estimate$15.12
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| Gemma 3 4B Google | $0.0400 | $0.0800 |
| 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 2 9B cost per token?
Gemma 2 9B is priced at $0.0300 per 1M input tokens and $0.0900 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 2 9B?
Gemma 2 9B has a context window of 8.2K tokens (8,192 tokens).
How does Gemma 2 9B compare to similar models?
Gemma 2 9B costs $0.0300 input and $0.0900 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.