Gemma API pricing: Gemma 4 31B, Gemma 4 26B A4B and Gemma 3 at every provider
Updated Nov 1, 2026
Gemma is Google's family of open-weight models. Google sells some of them on Vertex AI, but because the weights are open, most Gemma offers come from inference clouds and API resellers - over thirty providers sell Gemma 4 31B alone. Below: the typical price (the median across providers) of the Gemma models sold most widely, and live tables of every seller. The tables are rebuilt from today's prices on every page view.
The models in one list
Price per 1M tokens, input / output, in the 31 October 2026 collection; "typical" is the median across providers:
- Gemma 4 31B - typically $0.14 / $0.40, input from $0.09; up to 262K context, 33 providers. The largest Gemma.
- Gemma 4 26B A4B - typically $0.11 / $0.40, input from $0.05; up to 262K context, 22 providers. A mixture-of-experts model with about 4B active parameters - fast and cheap to serve.
- Gemma 3 27B - typically $0.12 / $0.22; 131K context, 13 providers.
- Gemma 3 12B - typically $0.05 / $0.15, 12 providers.
- Gemma 3 4B - typically $0.05 / $0.10, 8 providers. For simple, high-volume jobs.
Gemma 4 31B: every provider
| Provider | Model | Input, $ | Output, $ |
|---|---|---|---|
| aihubmix | Gemma 4 31B It (free) | Free | Free |
| nvidia | Gemma-4-31B-IT | Free | Free |
| openrouter | Google: Gemma 4 31B (free) | Free | Free |
| inferx | Gemma 4 31B IT | $0.011 | $0.035 |
| deepinfra | Gemma 4 31B IT | $0.09 | $0.34 |
| edenai | Gemma 4 31B IT | $0.09 | $0.34 |
| fastrouter | Google: Gemma 4 31B IT Turbo | $0.09 | $0.34 |
| trustedrouter | Gemma 4 31B IT | $0.09495 | $0.36 |
| kenari | Gemma 4 31B IT | $0.09925 | $0.39 |
| edenai | Gemma 4 31B IT | $0.10 | $0.20 |
| fastrouter | Google: Gemma 4 31B | $0.10 | $0.30 |
| kilo | Google: Gemma 4 31B | $0.10 | $0.34 |
| requesty | Gemma 4 31B IT | $0.10 | $0.30 |
| trustedrouter | Google: Gemma 4 31B | $0.11 | $0.36 |
| lilac | Gemma 4 31B IT | $0.11 | $0.35 |
Live data: this table is built from today's prices.
Gemma 4 26B A4B: every provider
| Provider | Model | Input, $ | Output, $ |
|---|---|---|---|
| aihubmix | Gemma 4 26B A4B It (free) | Free | Free |
| fastrouter | Google: Gemma 4 26B (Free) | Free | Free |
| openrouter | Google: Gemma 4 26B A4B (free) | Free | Free |
| kilo | Google: Gemma 4 26B A4B | $0.04 | $0.15 |
| edenai | Gemma 4 26B A4B IT | $0.05 | $0.10 |
| empiriolabs | Gemma 4 26B-A4B | $0.05 | $0.29 |
| requesty | Gemma 4 26B A4B IT | $0.056 | $0.27 |
| orcarouter | Gemma 4 26B A4B IT | $0.06 | $0.33 |
| trustedrouter | Google: Gemma 4 26B A4B | $0.06857 | $0.30 |
| deepinfra | Gemma 4 26B A4B IT | $0.07 | $0.34 |
| edenai | Gemma 4 26B A4B IT | $0.07 | $0.34 |
| edenai | Gemma 4 26B A4B IT | $0.07 | $0.24 |
| edenai | Gemma 4 26B A4B IT | $0.07 | $0.24 |
| huggingface | Gemma 4 26B A4B IT | $0.07 | $0.34 |
| requesty | Gemma 4 26B A4B IT | $0.07 | $0.34 |
Live data: this table is built from today's prices.
Gemma 3 27B: every provider
| Provider | Model | Input, $ | Output, $ |
|---|---|---|---|
| deepinfra | Gemma 3 27B IT | $0.08 | $0.16 |
| edenai | Gemma 3 27B IT | $0.08 | $0.16 |
| fastrouter | Google: Gemma 3 27B IT | $0.08 | $0.16 |
| huggingface | Gemma 3 27B IT | $0.08 | $0.16 |
| kilo | Google: Gemma 3 27B | $0.08 | $0.16 |
| openrouter | Google: Gemma 3 27B | $0.08 | $0.35 |
| trustedrouter | Google: Gemma 3 27B | $0.0844 | $0.17 |
| cortecs | Gemma 3 27B IT | $0.09949 | $0.30 |
| edenai | Gemma 3 27B IT | $0.10 | $0.30 |
| nebius | Gemma-3-27b-it | $0.10 | $0.30 |
| requesty | Gemma 3 27B IT | $0.10 | $0.30 |
| jiekou | Gemma 3 27B IT | $0.12 | $0.20 |
| novita | Gemma 3 27B IT | $0.12 | $0.20 |
| aiml | Gemma 3 27B IT | $0.16 | $0.49 |
| aihubmix | Gemma 3 27B It | $0.20 | $0.20 |
Live data: this table is built from today's prices.
How to choose
- The strongest Gemma: Gemma 4 31B - the spread between providers is wide, so compare before you pick.
- Speed and a low price: Gemma 4 26B A4B - output costs the same as 31B at the median, input is lower.
- Volume at the lowest price: Gemma 3 12B or 4B.
- Other cheap open models: the cheapest LLM APIs, Qwen, Llama.
- Every Gemma offer in one list: Gemma in the catalog.
All prices are in USD per 1 million tokens, without taxes, as the providers publish them; each row links to its card with the source and the date it was checked.