Gemma API pricing
Every Gemma model we track, with the cheapest price per 1M tokens across 18 providers. Collected daily.
Gemma API prices by model
Standard (real-time) rates per 1M tokens, newest first. “Cheapest” is the lowest input price across every provider we track; batch and cached-input rates are on each model page.
| Model | Cheapest input | Output | Cheapest on |
|---|---|---|---|
| Gemma 4 31B262K context | $0.090 | $0.340 | Deep Infra |
| Gemma 4 26B262K context | $0.050 | $0.290 | Empirio Labs |
| Gemma 4 12B | $0.180 | $0.500 | DigitalOcean |
| Gemma 3 27B128K context | $0.080 | $0.160 | Deep Infra |
| Gemma 3 12B131K context | $0.050 | $0.150 | Deep Infra |
| Gemma 3 4B131K context | $0.040 | $0.080 | Amazon AWS |
| Gemma 2 27B8K context | $0.650 | $0.650 | OpenRouter |
Gemma price history
Average input price per 1M tokens across the providers serving each model, last 90 days.
Frequently Asked Questions
What is the cheapest Gemma API?
Of the 7 Gemma models we track, Gemma 3 4B has the lowest input price right now: $0.040 per 1M input tokens on Amazon AWS. Prices are collected daily from 18 providers — see the table above for every model.
Where is Gemma 4 31B cheapest?
Gemma 4 31B is served by 13 providers we track. The lowest standard input price is $0.090 per 1M tokens on Deep Infra. Throughput, latency and context limits differ between hosts, so check the model page before committing.