Gemma API Free Tier: What $0.50 of Trial Credit Buys
There is no unlimited free plan here. There is a one-click $0.50 trial that needs no card, and at these token prices it covers far more testing than you might expect.
Updated

Key points
- Trial: $0.50 credit, one click after sign-up, one per person, valid 7 days, no card
- $0.50 equals about 3.3M input tokens or exactly 1M output tokens
- Trial keys allow 2 concurrent requests and 60 requests per minute
- After the trial, top-ups start at $20 and credit never expires
Free tier or trial: the honest answer
People who search for a Gemma API free tier usually want to try a model before paying for it. This service does not run a permanent free plan. What it offers instead is a trial: new users can claim $0.50 of credit with one click on the API key page after sign-up. It is limited to one per person, it is valid for 7 days, and it needs no card.
That may sound small next to a monthly free quota, but the unit matters. Tokens here cost $0.15 per 1M input and $0.50 per 1M output, so $0.50 pays for hundreds of realistic test requests. The sections below show the arithmetic so you can decide whether the trial answers your questions before you commit any money.
A note on other providers: some vendors publish free quotas for their own hosted models, and those terms change. This page does not quote them. If a free tier from a vendor matters to you, read their current documentation and pricing page rather than relying on a third-party summary.
How far $0.50 goes
Start with the extremes, then move to a realistic request.
- All input: $0.50 divided by $0.15 per 1M is about 3.33M input tokens.
- All output: $0.50 divided by $0.50 per 1M is exactly 1M output tokens.
Real requests mix both. Take a typical test call with 3,000 input tokens (a system prompt plus a document excerpt) and 600 output tokens.
| Part | Tokens | Math | Cost |
|---|---|---|---|
| Input | 3,000 | 3,000 x $0.15 / 1,000,000 | $0.00045 |
| Output | 600 | 600 x $0.50 / 1,000,000 | $0.00030 |
| Total per request | $0.00075 |
Divide $0.50 by $0.00075 and you get 666 requests, rounded down. If your prompts are shorter, say 500 in and 200 out, one request costs $0.000075 plus $0.0001, which is $0.000175, and the trial stretches to about 2,857 calls. If you fill the 100,000-token window with a prompt and ask for 1,000 tokens back, one call costs $0.015 plus $0.0005, which is $0.0155, and the trial covers 32 of them.
Failed or refused requests are not charged, so errors during setup do not eat the balance.
Claim the trial in three steps
- Sign up with Google, or with email and password.
- Open the API key page. The trial button appears there for new accounts.
- Click it once. The $0.50 is added, the 7-day timer starts, and you can create a key right away.
The 7 days begin when you claim, not when you sign up, so claim it when you are ready to test. There is no card step, which means nothing can be charged by accident when the trial ends. Unused trial credit simply lapses.
Trial key limits
A trial key has tighter limits than a full key. It allows 2 concurrent requests and 60 requests per minute, against 8 and 300 for a full key. The maximum request body of 8 MB and the 100,000-token context window are the same.
In practice this means you should test sequentially or with two workers at most. If you exceed the per-minute limit the API returns HTTP 429 with the code rate_limited. If you send a third request while two are still running, it returns 429 with the code concurrency. A streamed request holds its slot until the stream ends, so two long streams block everything else. Temporary overload also returns 429, with a Retry-After: 5 header.
Check your remaining balance from the response headers. Every response includes X-Balance-USD, so a script can stop itself before the credit runs out.
from openai import OpenAI
client = OpenAI(base_url="https://api.gemmaapi.top/v1", api_key="YOUR_TRIAL_KEY")
raw = client.chat.completions.with_raw_response.create(
model="uncensored",
messages=[{"role": "user", "content": "Write two sentences about harbor cranes."}],
)
print(raw.headers.get("X-Balance-USD"))
print(raw.parse().choices[0].message.content)A short test plan for the trial
Seven days and a small balance are enough if you test with intent. Instead of chatting at random, run a checklist that matches your real use.
Quality on your own prompts
Take ten prompts from your actual application, including the awkward ones that other models refuse or soften. Run each once at temperature 0.7 and read the output. This model is tuned to answer without content refusals for lawful adult use, so see whether the tone and detail fit what you need.
Integration features
Confirm that streaming works in your client, that a tool call round trip returns what your code expects, and that JSON mode produces output your parser accepts. These are quick to check and expensive to discover late.
Cost per task
Log usage from each response and compute your average cost per task. Multiply by your expected monthly volume. This one number tells you whether the model fits your budget better than any marketing page.
Long inputs
If your use case needs long context, send one near-full prompt. One call of about 90,000 input tokens costs 90,000 x $0.15 / 1,000,000 = $0.0135 before output, which the trial can afford many times over.
After the trial: what paying looks like
If the test goes well, you top up. Any whole amount from $20 to $500 works. Bonuses apply on larger amounts: +5% from $50, +10% from $100 and +15% from $200. A $50 top-up therefore gives $52.50 of credit, $100 gives $110, and $200 gives $230.
You can pay with crypto (USDT on TRC20, USDC on Base). Credit never expires and there is no subscription, so a $20 balance sits there until you use it. At the example rate of $0.00075 per request, $20 covers about 26,666 requests. The pricing page lists the current terms, and the documentation covers the request format in detail.
If you only want to know how the product works before signing up, the integration guide gives a longer overview.
Why a trial instead of a free plan
Running a large text model costs real compute for every token, including the ones a free user generates. A small prepaid trial keeps the service honest about that cost while still letting you verify quality, features and limits. It also avoids the usual free-plan trade-offs, such as heavy rate caps that make real testing impossible.
Prompts are not used for training, including during the trial. The one hard content rule is that sexual content involving minors is never allowed.
More guides
Questions and answers
Is there a Gemma API free tier here?
There is no permanent free plan. New users can claim a one-time $0.50 trial credit with one click on the API key page, valid for 7 days with no card.
Do I need a credit card for the trial?
No. The trial needs only a sign-up with Google or with email and password.
How many requests does $0.50 cover?
With 3,000 input and 600 output tokens per request, one call costs $0.00075, so the trial covers about 666 requests. Shorter prompts stretch it much further.
Can I claim the trial more than once?
No. It is limited to one per person.
What happens to unused trial credit?
It expires after 7 days. Paid credit from top-ups, in contrast, never expires.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.