Google · API pricing

Gemma API pricing

Gemma 4 26B, by Google, on one OpenAI-compatible API, billed per token from a prepaid balance — no subscription. From €0.0168 per 100k input tokens and €0.084 per 100k output tokens, margin and VAT included. It runs on EU-sovereign infrastructure.

Models live
1
Input from
€0.0168
per 100k tokens
Output from
€0.084
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

ModelInputOutputCached inContextMax outputJurisdiction
Gemma 4 26B
gemma-4-26btoolsvision
€0.0168€0.0840—256K32KEU 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.

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"}]
  }'
API reference →

Frequently asked

How much does the Gemma API cost?

Gemma 4 26B costs €0.0168 per 100,000 input tokens and €0.084 per 100,000 output tokens on Frontière AI — margin and VAT included, that is the amount debited from your prepaid balance. The calculator on this page turns it into a monthly cost for your workload.

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?

Yes: the live model is labeled EU sovereign — AKI.IO (Germany) for Gemma 4 26B. Your prompts transit through our gateway, hosted by Vercel in Paris (a US company), without being stored.

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.

Create an account