Gemma 4 API Free? What You Get for $0 and $0.50
A gemma 4 api free of charge can mean three different things: a vendor's free tier, running weights on your own computer, or a trial on a paid service. This page compares them and shows what $0.50 of trial credit buys here.

The short answer
You can get a free Gemma 4 API in a few ways, but each has a catch. Some vendors give a free tier with usage caps, and those tiers usually come with content filters that you cannot turn off. Running an open-weight model locally costs nothing per request, but you pay for the hardware and your time. A paid service that gives away a small trial sits between the two.
This site is the third kind. It is a hosted, OpenAI-compatible API for one open-weight model that is tuned to answer without content refusals for lawful adult use. It is run by an independent provider and is not the official API of Google or of any other model vendor. We do not offer a permanent free tier. We offer a one-time $0.50 trial credit, and after that you pay for what you use.
Comparing the three routes
| Route | Money cost | Main catch |
|---|---|---|
| Vendor free tier | $0, within limits | Caps and queues; content filters stay on; terms change. Check their current pricing and policy. |
| Local weights | $0 per request, plus hardware and power | You need enough GPU memory and the setup time; long context needs more memory. |
| Trial on a paid API | $0 for the trial, then per token | Small credit; it ends after 7 days or when spent. |
Which is best depends on what you are doing. A student testing a prompt once a day may be fine on a vendor tier. Someone who writes adult fiction or builds a roleplay or companion app, and keeps hitting refusals, needs a model that does not refuse lawful adult use. For that, local weights or an uncensored hosted API are the realistic choices. If you have no GPU, the hosted one is the faster start.
What the $0.50 trial really buys
New users can claim $0.50 of trial credit with one click on the API key page after sign-up. Sign-up uses Google or email and password. The credit needs no card, is valid for 7 days, and is limited to one per person. Trial keys run at 2 concurrent requests and 60 requests per minute.
Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens. Take a request with 1,000 input tokens and a 500-token reply:
- Input: 1,000 x $0.15 / 1M = $0.00015
- Output: 500 x $0.50 / 1M = $0.00025
- Per request: $0.0004
- Trial: $0.50 / $0.0004 = 1,250 requests
A chat that carries 4,000 tokens of history and returns 800 tokens costs 4,000 x $0.15 / 1M = $0.0006 plus 800 x $0.50 / 1M = $0.0004, so $0.001 per turn. The trial then covers 500 turns. That is enough to run a real test of your prompts, your app and the model's style before you decide to pay anything. Failed or refused requests are not charged.
Try it in five lines
The base URL is https://api.gemmaabliterated.com/v1 and the model ID is uncensored. Any OpenAI client works.
from openai import OpenAI
client = OpenAI(base_url="https://api.gemmaabliterated.com/v1", api_key="YOUR_TRIAL_KEY")
r = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Write a two-line villain monologue."}],
)
print(r.choices[0].message.content)
print(r.usage)curl https://api.gemmaabliterated.com/v1/models \
-H "Authorization: Bearer $API_KEY"The usage field returns exact token counts, so you can see what each test costs, and the X-Balance-USD response header shows your remaining credit. Step-by-step instructions are in the quickstart.
Paying after the trial
When the trial ends, there is no automatic charge and no subscription. You choose when to add credit. Top-ups accept any whole amount from $20 to $500, by crypto (USDT on TRC20, USDC on Base). Bonuses add +5% from $50, +10% from $100 and +15% from $200.
Here is what that means in practice. A $50 top-up becomes $52.50 of credit, $100 becomes $110, and $200 becomes $230. At $0.0004 per 1,000-in, 500-out request, a $20 top-up pays for 50,000 requests. Credit never expires, so an unused balance waits for you. Details sit on the pricing page.
When a free tier is the better choice
A paid service is not always the right answer, and we would rather say so. If your prompts are ordinary, you do not hit refusals, and your volume is low, a vendor free tier or a local model is a perfectly good way to learn. You pay nothing, and you can read the vendor's current pricing and terms before you rely on it. Free tiers also tend to change without notice, so do not build a business on one.
Move to a paid, uncensored endpoint when one of these is true: the model keeps refusing legitimate adult fiction or roleplay, you need more than a handful of requests per minute, you need a long window such as 100,000 tokens, or you want predictable per-token billing with no monthly fee. Running the same prompts side by side during the trial is the quickest way to find out. Send ten prompts to each option, compare the answers, and keep whichever one you would actually ship.
If you do stay local, the same client code works with a different base URL, so nothing you write for one route is wasted on another.
What to expect from a low-cost uncensored API
Set expectations before you build. The service is text only, with no images, audio, video, embeddings or fine-tuning. The context window is 100,000 tokens, counting prompt and completion. Streaming, tool calling and JSON mode work. A full key allows 8 concurrent requests and 300 per minute.
The model answers without content refusals for lawful adult use, which suits fiction, roleplay and companion apps for adults. One hard limit applies: no sexual content involving minors. Prompts are not used for training. Because it is one open-weight model from an independent provider, quality varies by task, so run your own prompts during the trial instead of relying on claims. If your use case fits a vendor's free tier, use that first, and come back when you need fewer refusals. For more on moving an existing setup, see the Gemma 4 API and alternatives guide.
A last practical tip: keep the trial key out of public code. Store it in an environment variable, and if it ever leaks, create a new one from the key page. Trial credit is small, but a leaked full key can drain a real balance, so build the habit from the first day.
More guides
Questions and answers
Is there a permanent free tier?
No. There is a one-time $0.50 trial credit per person, valid for 7 days and needing no card. After that you pay per token.
Do I need a card to start?
No. Sign up with Google or email and password, then claim the trial with one click on the API key page.
How many requests does $0.50 cover?
About 1,250 requests of 1,000 input and 500 output tokens each, since each costs $0.0004. Longer prompts use the credit faster.
Is running the model locally cheaper?
Per request it costs nothing, but you pay for hardware and setup. For occasional use a hosted API is often cheaper overall.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.