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