EN ▾
NSFW Search APIGet API key

Uncensored LLM API. Pay per token.

Which LLM API Is Free? A Cost Breakdown in Tokens

Which LLM API is free depends on what you mean by free: nothing unlimited exists, but a small trial lets you test properly. This page turns the $0.50 trial credit into real request counts so you can judge for yourself.

Updated

A jar of glowing coins next to a stream of small tokens, illustrating how trial credit converts to API requests

Key points

  1. There is no unlimited free tier; there is a $0.50 trial valid for 7 days, no payment details needed.
  2. A typical chat turn costs $0.0004, so the trial covers about 1,250 of them.
  3. Pay as you go costs $0.15 per 1M input tokens and $0.50 per 1M output tokens.
  4. Paid credit never expires and failed requests are not charged.

The short answer

No hosted LLM API worth building on is free without limits, and this one is no exception. What exists is a small free allowance to test with, then pay as you go. Here the allowance is $0.50 of trial credit, claimed with one click on the key page after sign-up, valid for 7 days, with no payment details, one per person. After that you top up from $20 and pay $0.15 per 1M input tokens and $0.50 per 1M output tokens.

That sounds small until you convert it into requests, which is what the rest of this page does. At typical chat sizes, $0.50 covers over a thousand exchanges, which is plenty to decide whether the model and the API fit your project.

What $0.50 of trial credit buys

Tokens are the unit of billing, and a request has two sides: the prompt you send (input) and the text the model writes back (output). Output costs more per token, so replies drive the bill more than prompts do. Here is the arithmetic for four common request shapes, using $0.15 and $0.50 per 1M.

Request shapeInput / output tokensCost per requestRequests for $0.50
Short classification300 / 20$0.000055about 9,090
Chat turn1,000 / 500$0.00041,250
Long document summary20,000 / 800$0.0034about 147
Full 100,000-token window100,000 / 2,000$0.016about 31

To check one row: the chat turn costs 1,000 × $0.15 / 1,000,000 = $0.00015 for input and 500 × $0.50 / 1,000,000 = $0.00025 for output, together $0.0004. Dividing $0.50 by $0.0004 gives 1,250 requests.

The trial key is rate-limited more tightly than a paid one: 2 concurrent requests and 60 requests per minute. That is enough for manual testing and a small script. It is not enough to load-test, so do not read a 429 on a trial key as a sign that the service cannot cope.

Why there is no free unlimited tier

Running a large model needs GPUs that cost money whether or not anyone is paying. A permanent free tier has to be paid for somewhere, usually by tight caps, by selling attention, or by using your prompts for something. This service takes the plain route: prompts are not used for training, usage is metered, and the free part is a short trial rather than an ongoing quota.

That choice has a practical upside. Credit never expires, there is no subscription to cancel, and failed or refused requests are not charged. If you top up once and forget the project for a year, the balance is still there.

It also means you should be suspicious of anything promising unlimited free access to a strong model through an API. Look for the catch: shared keys that get revoked, strict daily limits, queueing that makes the service unusable at busy times, or terms that give the provider rights over your data. I cannot tell you what any other provider offers today, so check their current pricing and terms pages instead of trusting a table copied from a forum.

How to judge any free LLM API offer

When you compare free options, ask the same few questions of each and write the answers down.

  1. What is actually free: a one-off credit, a monthly quota, or a limited model? A quota that resets is different from credit that runs out.
  2. What are the rate limits? Requests per minute and concurrent requests decide whether an app with several users can run on it.
  3. Does it expire? Some credit disappears after days; check the date.
  4. Are payment details required? Trial credit that asks for them often turns into a paid plan unless you remember to cancel.
  5. What happens to your prompts? Read the data policy. Here, prompts are not used for training.
  6. Will the model answer your content? A free API that refuses half your prompts has a hidden cost in retries and rewrites.

The last point matters for fiction, roleplay and companion apps built for adults. A model tuned to answer without content refusals for lawful adult use saves you the retries. Content involving minors is blocked, and that rule has no exceptions.

Stretching the trial credit

A few habits make $0.50 go further while you test.

  • Set max_tokens during tests. It is optional, but it caps the most expensive part of a request. Without it, a completion can use the rest of the 100,000-token window.
  • Keep the system prompt short and reuse it. A 2,000-token system prompt repeated on every call adds 2,000 × $0.15 / 1,000,000 = $0.0003 each time, which is 75 percent of the whole cost of a chat turn above.
  • Trim chat history. Sending the last six messages instead of sixty cuts input far more than any other change.
  • Check the X-Balance-USD response header after a few calls to see the real cost instead of estimating it.
  • Cache answers to repeated test prompts in your own code.

A first request to try, using the key from your account:

curl https://api.nsfwsearch.top/v1/chat/completions \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "max_tokens": 200,
    "messages": [{"role": "user", "content": "Write a two-sentence opening for a mystery story."}]
  }'

When to move to paid credit

The trial answers one question: does this work for me. Once it does, a top-up is any whole amount from $20 to $500. Larger amounts earn a bonus: 5% from $50, 10% from $100, 15% from $200. Payment is in crypto, USDT on TRC20 or USDC on Base. The table shows the credit you end up with and how many of the chat-turn requests from above it covers at $0.0004 each.

Top-upBonusCreditChat turns
$20none$20.0050,000
$505%$52.50131,250
$10010%$110.00275,000
$20015%$230.00575,000

A paid key also lifts the limits to 8 concurrent requests and 300 requests per minute. The pricing page has the current tiers, and the key page is where you sign up with Google or email and claim the trial. If you want to see the settings first, the documentation covers streaming, tool calling and JSON mode.

Questions and answers

Is there a completely free tier with no limits?

No. There is a one-off $0.50 trial credit valid for 7 days, then pay as you go from prepaid credit.

Do I need payment details for the trial?

No. You sign up with Google or with email and password and claim the trial with one click on the API key page.

Does my credit expire?

Paid credit never expires. The trial credit is valid for 7 days.

Am I charged for failed requests?

No. Failed or refused requests are not charged.

Can I use the trial key in production?

It is meant for testing. It allows 2 concurrent requests and 60 per minute, so a real app needs a funded key.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.