Best Free LLM API: What Free Really Costs
If you are searching for the best free LLM API, the useful answer is a cost picture, not a name. This API has no free unlimited tier: it has a small trial and cheap prepaid tokens, and the numbers below show what each one covers.
Updated

Key points
- There is no free unlimited tier. New users can claim $0.50 of trial credit, valid for 7 days.
- Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens, billed from prepaid credit.
- A typical chat request costs a fraction of a cent, so $20 covers thousands of requests.
- Failed or refused requests are not charged, and credit never expires.
The short answer
A free LLM API is only free until you hit its cap. Caps come as monthly token allowances, small request-per-minute limits, or credit that expires. For a weekend experiment that is fine. For a product that has to keep answering at 3 a.m., a free tier is a trial in disguise.
Here is how this service handles it, so you can compare it with anything else on your list. New accounts can claim $0.50 of trial credit with one click on the API key page after sign-up. It is one per person, valid for 7 days, and needs no payment. After that you pay as you go from prepaid credit at $0.15 per 1M input tokens and $0.50 per 1M output tokens. There is no subscription and no monthly minimum. There is no free tier beyond the trial, and I would rather say that plainly than hide it.
The model behind the endpoint is one open-weight model, run by an independent provider and tuned to answer without content refusals for lawful adult use. It is text only. If you need images, audio or embeddings, this is the wrong product, free or paid.
What the $0.50 trial actually buys
Tokens are the unit that matters, so convert the trial into them. At the output price of $0.50 per 1M, the whole trial would pay for 1,000,000 output tokens if you sent no input at all. Real requests have both sides, so use a concrete example.
Take a request with 2,000 input tokens (a system prompt, a few turns of history and a question) and 500 output tokens (a medium answer):
- Input: 2,000 x $0.15 / 1,000,000 = $0.0003
- Output: 500 x $0.50 / 1,000,000 = $0.00025
- Total: $0.00055 per request
Divide the trial by that: $0.50 / $0.00055 is about 909 requests. That is enough to wire the endpoint into your app, run a test suite, try several system prompts and judge the output quality before you spend anything.
The trial key has lower limits than a full key: 2 concurrent requests and 60 requests per minute. That is plenty for hand testing and too low for a load test. If you want to see how it behaves under parallel traffic, top up and use a full key. You can start from the API key page.
Cost per request at different sizes
Context size drives the bill more than anything else, because every request pays for the whole prompt again. This table uses the same two prices for four common shapes of request.
| Request shape | Input tokens | Output tokens | Cost |
|---|---|---|---|
| Short question and answer | 500 | 200 | $0.000175 |
| Chat turn with history | 6,000 | 800 | $0.0013 |
| Document summary | 30,000 | 1,000 | $0.005 |
| Full 100,000-token context | 100,000 | 2,000 | $0.016 |
Check one row by hand. The chat turn is 6,000 x $0.15 / 1M = $0.0009 for input, plus 800 x $0.50 / 1M = $0.0004 for output, which gives $0.0013. At that rate a $20 top-up covers about 15,000 such turns. The largest row fills the 100,000-token context window: $0.015 for input and $0.001 for output, $0.016 in all, so even a maxed-out request costs less than two cents.
Output tokens cost a little over three times as much as input tokens, but most apps send far more than they receive. A chat history that grows to tens of thousands of tokens is usually the largest line on the bill, not the answers.
A worked batch job
Suppose you want to classify and rewrite 10,000 support tickets. Each ticket plus instructions is about 1,500 input tokens, and the structured reply is about 300 output tokens.
- Input: 10,000 x 1,500 = 15,000,000 tokens, which is 15 x $0.15 = $2.25.
- Output: 10,000 x 300 = 3,000,000 tokens, which is 3 x $0.50 = $1.50.
- Total: $3.75 for the whole job.
That job fits inside the smallest top-up of $20 several times over. If it fails halfway, requests that fail or are refused are not charged, so a retry does not double the bill for work that never completed. For a job like this, respect the limits of a full key, which are 8 concurrent requests and 300 requests per minute. At 300 per minute, 10,000 tickets take a little over half an hour.
Free tiers elsewhere: what to check
Other providers run free tiers, and some are generous. I will not quote their numbers, because they change and I cannot vouch for them. Check their current pricing and terms, and look at these points before you build on one:
- Caps. Is the limit per day, per month, or a one-time credit? Does it reset?
- Rate limits. A low requests-per-minute ceiling is fine for a script and painful for a user-facing app.
- Content policy. Many hosted models refuse a lot of fiction, roleplay and adult-oriented writing. A free model that declines your use case costs you more in rewrites than a paid one.
- Data handling. Some free tiers use prompts to improve their models. Here, prompts are not used for training.
- Exit cost. If the free tier ends, can you switch by changing a base URL and a key?
The last point is a good argument for choosing an OpenAI-compatible endpoint wherever you can. Any OpenAI SDK works once you point it at https://api.nsfwllm.top/v1 with the model uncensored, so moving in or out is a config change.
Who should stay on a free tier, and who should not
Stay on a free tier if you are prototyping, your traffic is a few dozen requests a day, and a refusal or a hit cap would not matter. Use the trial here to check quality, then decide.
Move to prepaid credit when any of these is true: you need predictable throughput, you have users waiting on answers, you run batch jobs that must finish, or you need a model that does not refuse lawful adult writing. Prepaid billing also removes the surprise of a monthly invoice, because you can only spend what you loaded.
Top-ups are any whole amount from $20 to $500. Larger ones earn a bonus: +5% from $50 (so $50 becomes $52.50), +10% from $100 ($110) and +15% from $200 ($230). Payment is in crypto, USDT on TRC20 or USDC on Base. Credit never expires, so a $20 top-up that you use slowly is still there next year. The full table is on the pricing page.
Keeping the bill low
Most savings come from sending fewer tokens, not from hunting for a cheaper rate.
- Trim history. Send the last N turns plus a short summary instead of the full transcript.
- Cap output.
max_tokensis optional, but setting it stops a runaway answer from costing more than you planned. - Watch the balance. Every response carries an
X-Balance-USDheader, so you can log spend per request without a separate call. - Back off on 429. If you receive HTTP 429 with
Retry-After: 5, wait and retry rather than hammering the endpoint.
The quickstart has a copy-paste request if you want to measure your own token counts. If you would rather try the service before creating an account, see the page on using an LLM without login.
More guides
Questions and answers
Is there a free tier with unlimited requests?
No. New users can claim $0.50 of trial credit, valid for 7 days, one per person. After that you pay as you go from prepaid credit.
How many requests does the trial cover?
A request with 2,000 input tokens and 500 output tokens costs $0.00055, so the $0.50 trial covers about 900 of them. Your count will differ with prompt size.
Do I pay for failed or refused requests?
No. Failed or refused requests are not charged.
Does credit expire?
No. Prepaid credit never expires, though the $0.50 trial credit is valid for 7 days.
What is the smallest top-up?
$20, in any whole amount up to $500, paid in USDT on TRC20 or USDC on Base.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
Get API key