Uncensored LLM API Key: Get One and Make a First Call
To get an uncensored LLM API key you sign up, open the API key page and copy the key shown there. The steps below take about five minutes and end with a working chat request.

Summary
- Sign up with Google or email and password, then open the API key page.
- One click claims $0.50 of trial credit, valid 7 days, no card.
- Set base URL to https://api.llmsuncensored.com/v1 and model to uncensored.
- You can regenerate the key yourself at any time; the old one stops working at once.
Step 1: create an account and find your key
Go to the API key page and sign up. You can use a Google account, or an email address and password. Starting does not require any payment details.
After sign-up, the same page shows your key. Copy it and put it somewhere safe: a password manager, or an environment variable on your server. Treat it like a password. Anyone who has it can spend your balance.
New users can also claim $0.50 of trial credit with one click on that page. It is one per person, valid for 7 days, and needs no card. That is enough for a few hundred short test calls, as the cost section below shows.
Step 2: settings every client needs
Any tool that speaks the OpenAI protocol only needs three values:
| Setting | Value |
|---|---|
| Base URL | https://api.llmsuncensored.com/v1 |
| API key | The key from the API key page, sent as Authorization: Bearer YOUR_KEY |
| Model | uncensored |
The supported endpoints are POST /v1/chat/completions, POST /v1/responses and GET /v1/models. The context window is 100,000 tokens, counting prompt and completion together, so you can send long documents or long chat histories. max_tokens is optional.
Many SDKs also read the settings from the environment, which keeps them out of your code. With the official Python and Node packages, set OPENAI_API_KEY and OPENAI_BASE_URL and construct the client with no arguments:
export OPENAI_API_KEY="YOUR_API_KEY"
export OPENAI_BASE_URL="https://api.llmsuncensored.com/v1"
python3 -c "from openai import OpenAI; r = OpenAI().chat.completions.create(model='uncensored', messages=[{'role':'user','content':'Say hello.'}]); print(r.choices[0].message.content)"
The same three values work in desktop chat front ends that let you add an OpenAI-compatible endpoint, such as SillyTavern or Open WebUI. Paste the base URL, the key, and type uncensored as the model name.
Step 3: your first request
Start with curl, since it removes every variable except the key and the URL.
export LLM_KEY="YOUR_API_KEY"
curl https://api.llmsuncensored.com/v1/chat/completions -H "Authorization: Bearer $LLM_KEY" -H "Content-Type: application/json" -d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "Write a two-line villain monologue."}]
}'
A successful response is a JSON object with choices[0].message.content and a usage block. In the Python OpenAI SDK, the same call looks like this:
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["LLM_KEY"],
base_url="https://api.llmsuncensored.com/v1",
)
resp = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Write a two-line villain monologue."}],
)
print(resp.choices[0].message.content)
print(resp.usage)
And in Node with the official openai package:
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.LLM_KEY,
baseURL: "https://api.llmsuncensored.com/v1",
});
const resp = await client.chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: "Write a two-line villain monologue." }],
stream: false,
});
console.log(resp.choices[0].message.content);
If you use a different language, the idea is the same: any HTTP client works. Send a POST to the chat completions path with the bearer header and a JSON body that has model and messages. The response mirrors the OpenAI format, so existing parsing code does not change. Add max_tokens only if you want to cap the reply, since leaving it out lets the completion use the rest of the 100,000-token window.
What the trial credit buys
Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens. A typical test call with 300 prompt tokens and 200 completion tokens costs 300 × 0.15 / 1,000,000 = $0.000045 for input plus 200 × 0.50 / 1,000,000 = $0.0001 for output, so $0.000145. Divide $0.50 by that and you get roughly 3,400 calls. In practice your prompts will be longer, so plan on a few hundred real tests.
Failed or refused requests are not charged. Trial keys are limited to 2 concurrent requests and 60 requests per minute, which is plenty for manual testing and too low for load tests.
Keeping the key safe in production
A leaked key is a spending problem as well as a privacy one, because anyone holding it can use your balance. A few habits prevent most incidents.
- Environment variables, not source code. Read the key from
LLM_KEYor a secrets manager. Add.envto your ignore file before the first commit. - Server-side only. Browser and mobile code can be inspected. Send user requests to your own backend, and let it call the API.
- One label per environment. Once you have topped up, create separate keys for development, staging and production and give each a label. If one leaks, revoke only that one.
- Rotate on a schedule. Regenerating takes a click, and the old key stops at once. Do it after staff changes or any suspected exposure.
Keep a note of where each key is deployed, so a rotation does not leave a forgotten cron job failing with 401 for a week.
Topping up and managing keys
When the trial is used up, add credit on the site. Any whole amount from $20 to $500 works, paid in crypto (USDT on TRC20 or USDC on Base). Bonuses apply: +5% from $50, +10% from $100 and +15% from $200. For example, $100 buys $110 of credit and $200 buys $230. Credit never expires and there is no subscription. The pricing page has the full table.
Key handling is self-service:
- Regenerate: issue a new key on the API key page at any time. The old key stops working at once, so update your servers right after.
- Multiple keys: accounts that have topped up can hold up to 5 keys, give each a label (for example "staging" and "production") and revoke any of them.
- No support ticket needed to replace a leaked key.
Streaming and checking your balance
Once the basic call works, add streaming so users see text as it arrives. Set stream: true and read the chunks. Usage is reported at the end of the stream.
import os
from openai import OpenAI
client = OpenAI(api_key=os.environ["LLM_KEY"],
base_url="https://api.llmsuncensored.com/v1")
stream = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Tell a short story about a lighthouse keeper."}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
A stream occupies its concurrency slot until it ends. On a trial key you have 2 slots, so two open streams block a third request with a concurrency error until one finishes.
To see what is left on the account, call GET /v1/balance, the OpenAI-style GET /v1/dashboard/billing/credit_grants, or read the X-Balance-USD header that comes back with every response. The documentation shows the response shapes.
Common first-call errors
- 401 Unauthorized: the header is missing, has a typo, or the key was regenerated. The format is
Authorization: Bearer YOUR_KEY. - 404 on the path: the base URL must end in
/v1, and SDKs append/chat/completionsthemselves. Do not put it in twice. - Model not found: use the id
uncensoredexactly. CallGET /v1/modelsto confirm. - 429
concurrencyorrate_limited: a trial key allows 2 requests at once and 60 per minute. Wait and retry; a 429 withRetry-After: 5means temporary overload. - Key in a public repo: regenerate it immediately, then move the new one into an environment variable.
From here, the documentation covers streaming, tool calling and JSON mode. Do not use the key from browser code: put it behind your own server so it cannot be read from the page.
When a request fails and the cause is not obvious, send the same call with curl. If curl works and your app does not, the problem is in your code or its environment, not the key. Note the X-Request-Id header from the response and include it if you contact the support page.
More guides
Frequently asked questions
Is the API key free?
Creating an account and a key is free, and new users can claim $0.50 of trial credit with one click, valid for 7 days. After that you pay as you go from prepaid credit.
Do I need a payment method to start?
No. The trial needs no card, and top-ups are paid in crypto (USDT on TRC20 or USDC on Base).
How do I replace a leaked key?
Regenerate it on the API key page. The old key stops working immediately, and you do not need to contact support.
How long a prompt can I send?
The context window is 100,000 tokens for prompt and completion combined.
Get your API key now
Sign up, grab your key, and point your API to the new base URL. Setup takes seconds.