Chat API Free Pricing: What You Pay Per Token
There is no permanent free tier here, but there is a free trial and a price low enough that small projects cost cents. This page shows exactly what you pay and how to estimate it.

Key points
- Input costs $0.15 per 1M tokens and output costs $0.50 per 1M tokens, billed from prepaid credit.
- New accounts can claim $0.50 of trial credit with one click, valid for 7 days, one per person.
- Top-ups run from $20 to $500, with a bonus of 5%, 10% or 15% on larger amounts.
- Failed or refused requests are not charged, and credit never expires.
The short answer
If you searched for chat api free pricing, here is the honest version. The API is not free forever, and there is no monthly plan. You pay per token from prepaid credit: $0.15 per 1M input tokens and $0.50 per 1M output tokens. To try it first, every new user can claim $0.50 of trial credit with one click on the API key page, no payment details needed.
That trial is small, but tokens are cheap. In the examples below, $0.50 covers more than a thousand short chat requests. The service is one hosted model with the ID uncensored, reachable through any OpenAI-compatible client, so you can test it in an afternoon and decide with real numbers instead of guesses.
The rest of this page explains how the meter runs, walks through three cost calculations, and shows how top-up bonuses change the effective price. If you want the broader trade-offs of this kind of API, the cost and limits analysis covers them.
How token billing works
A token is a chunk of text, usually a short word or part of a longer one. English prose averages roughly three quarters of a word per token, but that is a rule of thumb, not a guarantee. Code, other languages and unusual formatting use more tokens per word. The reliable number is the usage block the API returns with each response.
Each request has two sides, and they are priced differently:
- Input tokens are everything you send: the system prompt, the conversation history and the new user message. Price: $0.15 per 1M.
- Output tokens are what the model writes back. Price: $0.50 per 1M.
Output costs a bit more than three times as much per token, so a chatty model that writes long answers moves your bill faster than a long prompt does. The context window is 100,000 tokens, prompt and completion together, and max_tokens is optional, so you can cap replies yourself when you want to control spend.
| Tokens | As input | As output |
|---|---|---|
| 1,000 | $0.00015 | $0.0005 |
| 100,000 | $0.015 | $0.05 |
| 1,000,000 | $0.15 | $0.50 |
| 10,000,000 | $1.50 | $5.00 |
There is no minimum per request, no seat fee and no charge for the connection itself. Failed or refused requests are not charged.
Three worked examples
Numbers help more than adjectives, so here are three realistic jobs. Each one multiplies tokens by the price and adds the two sides.
A batch of 1,000 requests
Say each request sends 2,000 input tokens and gets 500 back. Input is 1,000 x 2,000 = 2,000,000 tokens, which is 2 x $0.15 = $0.30. Output is 1,000 x 500 = 500,000 tokens, which is 0.5 x $0.50 = $0.25. The total is $0.55.
A small support bot for a month
Take 10,000 conversations a month, each costing 3,000 input tokens and 600 output tokens across all turns. Input is 30M tokens: 30 x $0.15 = $4.50. Output is 6M tokens: 6 x $0.50 = $3.00. The total is $7.50 per month, and it scales in a straight line. Double the traffic and you double the bill.
One call that fills the whole window
Now the extreme case: a 100,000-token prompt, for instance a long document, with a 1,000-token answer. Input is 0.1 x $0.15 = $0.015. Output is 0.001 x $0.50 = $0.0005. The total is $0.0155, a bit over a cent and a half for a request that uses the full window.
Notice that even the largest request is cheap. What adds up is volume, and the next section covers the main way volume sneaks up on people.
Why chat history makes bills grow
A chat API is stateless. To keep a conversation going, you resend the earlier messages with every turn, and all of them count as input tokens again. A 20-turn conversation does not cost 20 times one turn; it costs more, because the history keeps growing.
Here is a concrete case. Use a 500-token system prompt. Each turn, the user writes 100 tokens and the model answers with 300, so the history grows by 400 tokens per turn. Input on turn 1 is 600 tokens, on turn 2 it is 1,000, and on turn 20 it is 8,200. Add all twenty turns and you get 88,000 input tokens. Output is 20 x 300 = 6,000 tokens.
The cost is 88,000 x $0.15 / 1M = $0.0132 for input, plus 6,000 x $0.50 / 1M = $0.003 for output, which gives $0.0162 for the whole conversation. Still tiny, but you sent about fifteen times more input tokens than you received as output. If you run long roleplay or support sessions, trimming or summarizing old turns is the single most effective way to lower the bill.
Two habits help. First, keep the system prompt tight, because it is paid for on every call. Second, set max_tokens when you know you only need a short reply, which stops a runaway answer from costing more than you planned.
What the $0.50 trial covers
After you sign up with Google, or with an email and password, open the API key page and press the claim button. You get $0.50 of credit, valid for 7 days. It needs no payment method, and it is limited to one per person. The trial key runs at 2 concurrent requests and 60 requests per minute, which is plenty for testing a prototype.
How far does it go? Take a chat request with 1,500 input tokens and 400 output tokens. Input costs 1,500 x $0.15 / 1M = $0.000225. Output costs 400 x $0.50 / 1M = $0.0002. That is $0.000425 per request, so $0.50 pays for about 1,170 of them. For most developers that is enough to wire up an integration, test streaming and tool calls, and measure real token counts on their own prompts.
Use those 7 days on measurement. Log the usage values, multiply by your expected traffic, and you will have a monthly estimate that is better than any calculator. The API key page is where you claim the credit.
Top-ups and bonuses
When the trial runs out, you add prepaid credit. Any whole amount from $20 to $500 works, and larger top-ups come with a bonus on top of what you pay:
| You pay | Bonus | Credit you get |
|---|---|---|
| $20 | none | $20.00 |
| $50 | +5% | $52.50 |
| $100 | +10% | $110.00 |
| $200 | +15% | $230.00 |
| $500 | +15% | $575.00 |
You can pay with crypto (USDT on TRC20, USDC on Base). Credit never expires, so there is no pressure to spend it before a deadline, and there is no subscription to cancel. The full details sit on the pricing page.
To see what a top-up means in tokens, take $20. At the input price it buys about 133 million input tokens, and at the output price it buys 40 million output tokens. A mixed workload lands between those two figures. The $230 you receive for a $200 payment works out to a blended discount of about 13% compared with paying for $230 outright.
Tracking spend while you build
You do not need to guess your balance. Every response includes an X-Balance-USD header with the credit left, plus X-Request-Id for support questions. Streamed responses report token usage at the end of the stream. A minimal check in Python looks like this:
from openai import OpenAI
client = OpenAI(
base_url="https://api.unrestrictedchat.cc/v1",
api_key="YOUR_KEY",
)
raw = client.chat.completions.with_raw_response.create(
model="uncensored",
messages=[{"role": "user", "content": "Say hello in five words."}],
max_tokens=30,
)
print("balance:", raw.headers.get("X-Balance-USD"))
resp = raw.parse()
print(resp.usage.prompt_tokens, resp.usage.completion_tokens)
Print those two numbers during development and you will know your per-request cost within a day. If you hit a rate limit, the API returns HTTP 429 with the code rate_limited or concurrency, and nothing is billed for the rejected call. Setup details for other languages are in the API documentation.
More guides
Questions and answers
Is there a free chat API tier?
There is no permanent free tier. New users can claim $0.50 of trial credit with one click after sign-up, valid for 7 days, with no payment details needed.
Do I pay for failed requests?
No. Failed or refused requests are not charged, and a request rejected with HTTP 429 costs nothing.
Does unused credit expire?
No. Prepaid credit never expires, and there is no subscription, so you pay only for tokens you use.
How do I estimate my monthly cost?
Run your real prompts during the trial, read the usage block, then multiply input tokens by $0.15 and output tokens by $0.50 per million at your expected volume.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.