Google · API pricing
Gemma API pricing
2 Gemma models on one OpenAI-compatible API, billed per token from a prepaid balance — no subscription. From €0.0135 per 100k input tokens and €0.074 per 100k output tokens, margin and VAT included. Gemma 4 26B runs on EU-sovereign infrastructure; Gemma 3 27B is fast access, through US providers.
- Models live
- 2
- Input from
- €0.0135
- per 100k tokens
- Output from
- €0.074
- per 100k tokens
- Largest context
- 256K
- Gemma 4 26B
Gemma API pricing per model
per 100k tokens · margin and VAT included · from our live catalog when this page is built
| Model | Input | Output | Cached in | Context | Max output | Jurisdiction |
|---|---|---|---|---|---|---|
Gemma 3 27Bgemma-3-27btoolsvision | €0.0135 | €0.0740 | — | 128K | — | Fast access (US) |
Gemma 4 26Bgemma-4-26btoolsvision | €0.0168 | €0.0840 | — | 256K | 32K | EU sovereign |
Input, output and cached input are the prices debited from your prepaid balance per 100,000 tokens, margin and VAT included. Context is the window as served on Frontière AI; max output is the provider's cap on max_tokens (— when it sets none we know of). Tool calling is measured with a real call per model.
Gemma API cost calculator
Pick a model and a workload, or type your own token counts: the estimate uses the prices in the table above, margin and VAT included.
Example workload
Roughly 1,000 tokens ≈ 750 English words.
No discounted cache rate on this model: every input token is billed at the input rate.
Per request
€0.00055
Per day
€0.546
Per month
€16.38
30 days
A €10 top-up covers about 18,315 requests · Gemma 4 26B
Where the money goes
- Input€7.56 · 46%
- Output€8.82 · 54%
Estimate, margin and VAT included, from the prices on this page. You are billed on the tokens the provider reports for each call, debited from a prepaid balance — no subscription.
Same workload on every model
| Model | Per request | Per month | |
|---|---|---|---|
| Gemma 3 27BFast access (US) | €0.00046 | €13.81 | |
| Gemma 4 26BEU sovereign | €0.00055 | €16.38 | Selected |
Call Gemma models
The API is OpenAI-compatible: keep your SDK, change base_url and the key, and pass the model id. One key covers the whole catalog.
curl https://getfrontiereai.eu/api/v1/chat/completions \
-H "Authorization: Bearer $FRONTIERE_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemma-4-26b",
"messages": [{"role": "user", "content": "Bonjour"}]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://getfrontiereai.eu/api/v1",
api_key=os.environ["FRONTIERE_KEY"],
)
reply = client.chat.completions.create(
model="gemma-4-26b",
messages=[{"role": "user", "content": "Bonjour"}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://getfrontiereai.eu/api/v1",
apiKey: process.env.FRONTIERE_KEY,
});
const reply = await client.chat.completions.create({
model: "gemma-4-26b",
messages: [{ role: "user", content: "Bonjour" }],
});
console.log(reply.choices[0].message.content);Frequently asked
How much does the Gemma API cost?
On Frontière AI, Gemma models cost from €0.0135 to €0.0168 per 100,000 input tokens and from €0.074 to €0.084 per 100,000 output tokens, depending on the model — margin and VAT included, that is the amount debited from your prepaid balance. The table lists each model's price; the calculator turns it into a monthly cost for your workload.
Which Gemma model is the cheapest?
Gemma 3 27B, the cheapest on both input (€0.0135) and output (€0.074) per 100k tokens.
Which Gemma model has the largest context window?
Gemma 4 26B, with 256K tokens of context as served on Frontière AI.
Is the Gemma API hosted in Europe on Frontière AI?
Partly. AKI.IO (Germany) for Gemma 4 26B: this one is labeled EU sovereign. Gemma 3 27B is served by US providers and labeled fast access — the API flags it before you call.
Is there a subscription or a minimum spend?
No subscription. You top up a prepaid balance from €10 and each call is debited at the per-token price. Calls are refused once the balance reaches zero; a call already running can take it slightly below — deducted from your next top-up.
Do I need to change my code to call Gemma models?
No, if your code already uses an OpenAI SDK: point base_url at https://getfrontiereai.eu/api/v1, use a Frontière AI key and pass the model id, for example “gemma-4-26b”. Streaming and tool calling are relayed as-is.
Other providers
Per-token prices for every publisher in our catalog
All model prices on one page →Start calling Gemma in minutes
Create an account, top up €10, change two lines of code.