Skip to content
CostPerPrompt

Gemma 2 27B API Pricing

Google · context window 8K · prices updated 2026-09-15

Input per 1M tokens
$0.65
Output per 1M tokens
$0.65
Cached input per 1M
No discounted cached tier on this model

Where Gemma 2 27B sits on price

At $0.65 per million output tokens, Gemma 2 27B is a mid tier model — 3.2× cheaper than the median output price of $2.08, which puts it cheaper than 75% and pricier than 25% of the models we track. It sits 8th cheapest of the 38 Google models we track. Output is only 1.0× the input price, an unusually flat spread: long prompts hurt about as much as long answers, so prompt size is where the savings are.

Output tokens per $1
1,538,462
One full context fill
$0.0053
Cheaper than
75% of tracked models

What real workloads cost on Gemma 2 27B

These three workloads are the ones teams actually run on a mid-priced model — a $0.65/1M model is not bought for the same job as one ten times the price.

Workload Per request Per month
Support chatbot — 500 conversations/day (5K in / 1.4K out) Conversation history re-sent each turn — the classic prompt-caching win. $0.0042 $62.40
Document pipeline — 10K docs/day (3K in / 500 out) Batch-friendly: no user waiting, so a ~50% batch discount usually applies. $0.0023 $683
Small app — 1K requests/day (500 in / 150 out) The baseline most side projects actually run at. $0.0004 $12.68

Model your exact traffic in the API cost calculator — it preloads Gemma 2 27B with caching and batch options.

Gemma 2 27B price history

Gemma 2 27B's price has not moved since we began tracking it on Aug 2, 2026 — 44 days of stability in a market where 78 of the 334 models we track have repriced over the same period, including 6 of Google's own 38 models.

Change-points from our daily price snapshots (tracking since Aug 2, 2026; intraday moves between snapshots are not captured).

Gemma 2 27B vs Llama 4 Maverick

The closest-priced alternative from another vendor is Llama 4 Maverick (Meta) — priced within a rounding error on output, with $0.4625 less per million input tokens. When two models land this close on price, the decision is quality on your own workload, not the price sheet: run 50 real requests through both and compare.

See Llama 4 Maverick pricing →

Cheaper alternatives

More Google models

Frequently asked questions

How much does the Gemma 2 27B API cost?

Gemma 2 27B costs $0.65 per million input tokens and $0.65 per million output tokens and no discounted cached-input tier. That works out to roughly 1,538,462 output tokens per dollar.

What does the support chatbot workload cost on Gemma 2 27B?

Support chatbot — 500 conversations/day (5K in / 1.4K out) costs about $0.0042 per request and $62.40 per month on Gemma 2 27B. Conversation history re-sent each turn — the classic prompt-caching win.

What does it cost to fill Gemma 2 27B's 8K context window?

Sending 8K of input in a single request costs $0.0053 at $0.65 per million tokens — before any output. There is no cached-input tier on this model, so every repeat of that context is billed at full price. This is why large context windows are cheap to advertise and expensive to actually use.

Is Gemma 2 27B worth the price?

Gemma 2 27B sits in the middle of the market (8 of 38 by price within Google). The honest test is a routing experiment: send the same 200 real requests to this model and to a tier below, and compare failure rate against the price gap — most teams find a majority of traffic never needed the pricier model.