Gemma 2 27B API Cost Calculator
Estimate your monthly API costs for Gemma 2 27B from Google.
Pricing per 1M tokens
Input
$0.6500
Output
$0.6500
8.2K context2.0K max outputStreaming
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.000325
Output cost/request$0.000195
Cost per request$0.000520
Daily cost (1,000 requests)$0.5200
Monthly estimate$15.60
Annual estimate$187.20
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| Gemini 2.5 Flash Google | $0.3000 | $1.00 |
| Gemini 3 Flash Preview Google | $0.5000 | $1.00 |
| Gemini 3.1 Flash Lite Preview Google | $0.2500 | $1.50 |
| Gemini 2.0 Flash Google | $0.1000 | $0.7000 |
| Gemini Embedding 2 Preview Google | $0.2000 | $0.4500 |
Frequently Asked Questions
How much does Gemma 2 27B cost per token?
Gemma 2 27B is priced at $0.6500 per 1M input tokens and $0.6500 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 27B?
Gemma 2 27B has a context window of 8.2K tokens (8,192 tokens). The maximum output length is 2.0K tokens.
How does Gemma 2 27B compare to similar models?
Gemma 2 27B costs $0.6500 input and $0.6500 output per 1M tokens. Gemini Embedding 2 Preview is less expensive at $0.2000 input and $0.4500 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the Gemini Embedding 2 Preview page at /tools/cost-calculator/google/gemini-embedding-2-preview.