Key points
- Input is $0.15 per 1M tokens and output is $0.50 per 1M tokens, paid from prepaid credit.
- Top-ups run from $20 to $500, with +5% from $50, +10% from $100 and +15% from $200.
- This is not Google's official API. It is an independent OpenAI-compatible service with the model ID
uncensored. - Credit never expires, and failed or refused requests are not charged.
Short answer: the rates
| Item | Price |
|---|---|
| Input tokens | $0.15 per 1M |
| Output tokens | $0.50 per 1M |
| Subscription | None, pay as you go from prepaid credit |
| Minimum top-up | $20 |
| Maximum top-up | $500 |
| Credit expiry | Never |
| Failed or refused requests | Not charged |
That is the whole price list: two token rates and a prepaid balance. The live numbers are always on the pricing page.
What this API is, and what it is not
Before you compare numbers, be clear about the product. The site name refers to Gemma, but this service is not the official API of Google or of any other model vendor, and it is not a router that forwards your requests to several vendors. It is a hosted, OpenAI-compatible text API that runs one open-weight model, operated by an independent provider and tuned to answer without content refusals for lawful adult use. You select it with the model ID uncensored. For how the name relates to the model, read our explanation of uncensored Gemma.
So if you are looking for the official price list of Google's own hosted models, you need Google's documentation, and you should check their current pricing there. Prices for other vendors change, and anything quoted here about them would go stale. What you can rely on from this page is the arithmetic for this service.
The API is text only. There is no image, audio or video generation, no embeddings and no fine-tuning. The context window is 100,000 tokens, prompt and completion together.
How per-token billing works here
Every request is billed on two counts that the API returns in the usage block: tokens you sent (prompt) and tokens the model wrote (completion). The system prompt, earlier messages, tool definitions and the new user message all count as input. The formula is:
cost = prompt_tokens * 0.15 / 1,000,000 + completion_tokens * 0.50 / 1,000,000
This is the same billing model many LLM APIs use: a rate for input, a higher rate for output, charged per token. What differs is the payment side. You do not receive an invoice at the end of the month. You buy credit first, each request draws it down, and the current balance comes back in the X-Balance-USD response header on every call. When the credit is gone, requests stop until you top up, so a bug in a loop cannot spend more than you loaded.
Worked examples
Here are four workloads, each computed from the two rates.
A short question and answer
300 input tokens and 150 output tokens. Input: 300 times 0.15 divided by 1,000,000 is $0.000045. Output: 150 times 0.50 divided by 1,000,000 is $0.000075. The request costs $0.00012. Ten thousand of them cost $1.20.
A chat turn with history
4,000 input and 500 output. Input is $0.0006 and output is $0.00025, so the turn costs $0.00085. A thousand turns cost $0.85.
Summarizing a long document
60,000 input and 1,000 output. Input is $0.009 and output is $0.0005, for $0.0095 per document. A hundred documents cost $0.95.
Generating long text
500 input and 4,000 output. Input is $0.000075 and output is $0.002, so about $0.002075 per piece. Here the output side dominates, since it is nearly all of the cost.
Notice what moves the total. Not the rate, but the shape of the request. Long outputs are expensive per token, and long histories are expensive in volume. If you want to cut cost, shorten those first.
Top-up bonuses and your effective rate
You can top up with any whole dollar amount from $20 to $500. Larger amounts add bonus credit:
| You pay | Bonus | Credit received | Effective input per 1M | Effective output per 1M |
|---|---|---|---|---|
| $20 | none | $20.00 | $0.15 | $0.50 |
| $50 | +5% | $52.50 | about $0.143 | about $0.476 |
| $100 | +10% | $110.00 | about $0.136 | about $0.455 |
| $200 | +15% | $230.00 | about $0.130 | about $0.435 |
The effective rate is the listed rate divided by the credit multiplier. For the $200 row, 0.15 divided by 1.15 is about $0.1304, and 0.50 divided by 1.15 is about $0.4348.
You can pay with crypto (USDT on TRC20 or USDC on Base).
Estimating a month of spend
To budget, you need four figures: requests per day, average input tokens, average output tokens, and the number of days. Suppose a small assistant handles 2,000 requests a day, each with 1,500 input tokens and 400 output tokens. Per request, input is $0.000225 and output is $0.0002, so $0.000425. Per day that is 2,000 times $0.000425, or $0.85. Over 30 days it comes to $25.50, which fits inside a single $50 top-up that returns $52.50 of credit.
Now change one assumption. If you add a retrieval step that pastes 6,000 tokens of documents into every prompt, the input side becomes 7,500 tokens, which costs $0.001125 per request, and the total rises to $0.001325. The daily bill is then $2.65 and the 30-day figure is $79.50. The model rate did not change. The prompt did. This is the usual way a bill grows, and it is why the usage numbers in each response are worth logging from the first day.
Testing for free first
You do not need to commit money to see what the API costs for your workload. New users can claim $0.50 of trial credit with one click on the API key page after sign-up. It needs no card, is valid for 7 days and is limited to one per person. At the chat-turn cost of $0.00085 above, $0.50 covers roughly 580 turns, enough to run a real test and read the cost off your logs.
Trial keys have lower limits than full keys: 2 concurrent requests and 60 requests per minute, against 8 and 300 for a full key. If your test hits HTTP 429 with the code concurrency or rate_limited, you are seeing those limits, not a billing problem.
A simple test plan: pick the 50 most typical requests from your product, run them once, and add up the usage figures. Multiply the average by your expected daily volume and you have a first budget, built from your own data rather than from a rule of thumb. Repeat the test after you change the system prompt, because that single edit often changes the bill more than anything else you will do.
Comparing with other per-token pricing
To compare fairly, put the same workload through every provider you are considering and compute the bill for each. Collect the input rate, the output rate, any minimums, whether credit expires, whether there is a subscription, and whether failed requests are charged. Then multiply by your own token counts. Check each provider's current pricing yourself, because rates and terms change.
Three features of this service can tilt the comparison. Credit does not expire, so a one-off project does not waste a monthly plan. Failed and refused requests cost nothing. And the model is tuned to answer lawful adult requests without refusals, so you are not paying for replies you cannot use. On the other hand, you get one model, text only, and no embeddings. If you need a specific vendor's model or an image endpoint, look elsewhere. The docs list everything the API supports.
More guides
Questions and answers
Is this the official Gemma 4 API?
No. It is an independent OpenAI-compatible service running one open-weight model, and it is not the official API of Google or any other vendor. Use the model ID uncensored.
Is there a free tier?
There is a one-time trial: $0.50 of credit, claimed with one click on the API key page, valid for 7 days. It needs no card and is limited to one per person.
Does unused credit expire?
No. Credit never expires, and there is no subscription to cancel.
What happens when my balance runs out?
Requests stop until you top up. The X-Balance-USD response header shows your balance on every call, so you can alert yourself before it reaches zero.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
