EN ▾

Uncensored text API for music pipelines

Get API key

LLM API Free Tier: What You Get and What It Costs

If you search for an llm api free tier, you want to know what you can run before paying. Here the answer is a $0.50 trial credit, valid for 7 days, with no card, and then pay as you go.

Updated

Jar of glowing coins beside a ribbon of small cubes, illustrating a small token budget

The short answer

A free tier in the strict sense, meaning a monthly allowance that renews and never asks for money, does not exist on this API. What exists is a one-time trial. After you sign up with Google or with an email and password, the API key page shows a button that claims $0.50 of trial credit. You click it once, there is no card form, and the credit stays valid for 7 days. It is one claim per person.

That sounds small, and it is, but token prices are low enough that $0.50 goes a long way for testing. The model ID is uncensored, the endpoint is OpenAI-compatible, and the trial key works with the same code you would use later with a full key. The only difference is the rate limit: a trial key allows 2 concurrent requests and 60 requests per minute, while a full key allows 8 concurrent requests and 300 per minute.

If your goal is a quick check that your client, your prompts and your parsing code work against this endpoint, the trial is enough. If your goal is a free service you can leave running for a month, it is not, and it is better to know that now than after you have built around it.

What $0.50 buys in tokens

Billing is per token, split into input (your prompt plus any history you send) and output (what the model writes back). Input costs $0.15 per 1M tokens and output costs $0.50 per 1M tokens. Per single token that is $0.00000015 in and $0.0000005 out.

Take a small, ordinary request: 1,000 tokens of prompt and 500 tokens of answer. The input part is 1,000 × $0.15 / 1,000,000 = $0.00015. The output part is 500 × $0.50 / 1,000,000 = $0.00025. The request costs $0.0004 in total. Divide the trial credit by that: $0.50 / $0.0004 = 1,250 requests.

A heavier request shows the other end. Say a 2,000-token prompt and an 800-token answer. Input: 2,000 × $0.15 / 1,000,000 = $0.0003. Output: 800 × $0.50 / 1,000,000 = $0.0004. Total $0.0007, and $0.50 / $0.0007 gives about 714 requests.

Request shapeCost per requestRequests per $0.50
1,000 in, 500 out$0.00041,250
2,000 in, 800 out$0.0007about 714
90,000 in, 10,000 out$0.018527

The last row is a long-context job near the 100,000-token window, which covers prompt and completion together. It is the only shape where the trial runs out fast, and even there you get 27 full-size calls to experiment with.

Why the trial is small and not renewing

Running a large language model on GPUs costs real money per request, and the model here is run by an independent provider. A single small credit per person, claimed after sign-up, lets you test the real thing without a card, while the per-token price stays the same for trial and paid use alike.

Other providers run their own free offers, and those change often, so check their current pricing if you are comparing. Free plans differ in their request caps and in what they do with your prompts, so read those terms too. On this service, prompts are not used for training, trial or paid.

One useful side effect of a short trial window: you decide quickly. You have 7 days, so plan what you want to test before you claim it. Write your test prompts first, then click the button, then run them.

Moving from trial to paid

When the trial is spent or expired, you top up. The minimum is $20 and the maximum is $500, in any whole-dollar amount between. Larger top-ups add a bonus on top:

  • $50 or more: +5%, so $50 becomes $52.50 of credit.
  • $100 or more: +10%, so $100 becomes $110.
  • $200 or more: +15%, so $200 becomes $230.

You can pay by by crypto (USDT on TRC20, USDC on Base). The details are on the pricing page. There is no subscription, so nothing renews on its own, and the credit never expires. If you top up $20 and use it over a year, it is still there.

What does $20 mean in tokens? At the input rate it is 133.3M input tokens ($20 / $0.15 per 1M). At the output rate it is 40M output tokens ($20 / $0.50 per 1M). With the 1,000-in, 500-out request from above at $0.0004 each, $20 pays for 50,000 requests.

Three worked monthly budgets

Numbers in the abstract are hard to feel, so here are three common workloads, each computed from the two prices.

A hobby chat bot

You run a personal bot that handles 300 messages a day for a month. Each message sends about 1,500 tokens (system prompt plus recent history) and receives about 300 tokens. That is 30 × 300 = 9,000 requests. Input: 9,000 × 1,500 = 13.5M tokens, which costs 13.5 × $0.15 = $2.025. Output: 9,000 × 300 = 2.7M tokens, which costs 2.7 × $0.50 = $1.35. The month costs $3.375.

A writing tool for a small team

Ten people each run 40 drafts a day over 20 working days, which is 8,000 drafts. Each uses 800 tokens in and 1,200 out. Input: 6.4M tokens, or 6.4 × $0.15 = $0.96. Output: 9.6M tokens, or 9.6 × $0.50 = $4.80. Total $5.76.

A batch job

You classify and rewrite 50,000 records. Each is 600 tokens in and 150 out. Input: 30M tokens, or 30 × $0.15 = $4.50. Output: 7.5M tokens, or 7.5 × $0.50 = $3.75. Total $8.25. At the full-key limit of 8 concurrent requests, you will mostly be waiting on concurrency, not on the bill.

In all three cases a single $20 top-up covers the whole month with room left over, and the unused part stays on the account.

Keeping spend low during testing

Most overspending in tests comes from three habits, and all are easy to fix.

  1. Re-sending long history. Every turn pays again for the whole conversation as input. Trim old turns or summarise them once they pass a few thousand tokens.
  2. Unbounded answers. Output costs more than three times what input does per token. Set max_tokens when you only need a short reply, and use stop sequences to cut off rambling.
  3. Retry loops. A script that hammers the API after a 429 gets nowhere. Honour the Retry-After: 5 header and back off.

Every response carries an X-Balance-USD header, so you can print your remaining credit after each call and watch it fall. Failed or refused requests are not charged, which means a request that errors out does not eat your trial.

from openai import OpenAI

client = OpenAI(base_url="https://api.musicgen.cc/v1", api_key="YOUR_KEY")

raw = client.chat.completions.with_raw_response.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Give me three names for a lighthouse cafe."}],
    max_tokens=120,
)
print(raw.headers.get("X-Balance-USD"))
resp = raw.parse()
print(resp.choices[0].message.content)
print(resp.usage)

How to claim the trial

  1. Open the API key page and sign up with Google, or with an email and password.
  2. On the key page, press the button that claims the $0.50 trial credit. It takes one click and no card.
  3. Copy the key and set the base URL to https://api.musicgen.cc/v1 in any OpenAI SDK or client.
  4. Send a request with the model uncensored. The quickstart has curl, Python and Node versions.

The model is text only. It does not generate images, audio or video, and it has no embeddings or fine-tuning, so judge the trial on text tasks. It is tuned to answer without content refusals for lawful adult use, with one hard limit: no sexual content involving minors.

Questions and answers

Is there a free unlimited plan?

No. New users can claim a one-time $0.50 trial credit, valid for 7 days, with no card. After that you pay per token from prepaid credit.

Do I need a card to start?

No. The trial needs only a sign-up with Google or an email and password. Crypto is needed only when you top up.

Does unused credit expire?

Paid credit never expires. The $0.50 trial credit is valid for 7 days from the claim.

Am I charged for failed requests?

No. Failed or refused requests are not charged.

Can I claim the trial twice?

No. It is one claim per person.

Your key is one form away

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

Key points

  • There is no unlimited free plan. New users can claim $0.50 of trial credit with one click, one per person, valid for 7 days.
  • Prices are $0.15 per 1M input tokens and $0.50 per 1M output tokens, billed from prepaid credit.
  • A typical short request costs a fraction of a cent, so $0.50 covers about 1,250 requests of 1,000 tokens in and 500 out.
  • Top-ups start at $20, credit never expires, and failed or refused requests are not charged.